| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
hardmtu, pick a value of 65435 that leaves space for some
encapsulation and almost a complete max-IP packet. After some
discussion we picked this arbitrary value.
OK dlg@
|
|
|
|
|
|
| |
entries) and net.inet.ip.arpdown (expire timer for unresolved entries)
ok mpi@
|
|
|
|
|
|
| |
routines are call directly by ether_input().
ok visa@, dlg@
|
|
|
|
|
|
| |
Since mpath is not enabled in RAMDISK, proxy ARP won't work there either.
ok bluhm@
|
|
|
|
| |
ok mpi@ and tweaks from sthen@
|
|
|
|
| |
ok mpi@
|
| |
|
|
|
|
|
|
|
| |
Packets of types ARP and REVARP are now processed in the softnet task,
directly from ether_input() and without holding the KERNEL_LOCK.
Tested by many, ok dlg@
|
| |
|
| |
|
|
|
|
|
|
| |
its descriptor. Get rid of a if_ref().
ok dlg@
|
| |
|
|
|
|
|
|
|
|
|
| |
L2 resolution depends on the protocol (encoded in the route entry) and
an ``ifp''. Not having to care about an ``ifa'' makes our life easier
in our MP effort. Fewer dependencies between data structures implies
fewer headaches.
Discussed with bluhm@, ok claudio@
|
|
|
|
|
|
| |
Can be used to check if a MAC address is all zeros.
Will be used by iwm(4) soon.
ok kettenis@
|
|
|
|
|
|
| |
the kernel lock.
"do it" claudio@ mpi@
|
| |
|
|
|
|
|
|
|
|
| |
Most of the ARP layer already take an ifp pointer and this makes clear
wich chunks of code are messing with ac_enaddr.
Note that our Ethernet code assume that these pointer are interchangeable
since the first element of the "struct arpcom" is a "struct ifnet".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with niqueues.
this change is so big because there's a lot of code that takes
pointers to different input queues (eg, ether_input picks between
ipv4, ipv6, pppoe, arp, and mpls input queues) and falls through
to code to enqueue packets against the pointer. if i changed only
one of the input queues id have to add sepearate code paths, one
for ifqueues and one for niqueues in each of these places
by flipping all these input queues at once i can keep the currently
common code common.
testing by mpi@ sthen@ and rafael zalamena
ok mpi@ sthen@ claudio@ henning@
|
|
|
|
|
|
| |
resolution is completed to ml_init(9) API.
Tested by kspillner@, inputs & ok dlg@
|
|
|
|
| |
ok mikeb@, krw@, bluhm@, tedu@
|
| |
|
|
|
|
|
| |
multicast macros and in_ifaddr) that reference ifnet in some way;
looked over by deraadt, ok mpi
|
|
|
|
| |
ok krw@, mikeb@
|
|
|
|
|
|
| |
our addresses to reuse arplookup() and do only one list iteration.
Looks ok to claudio@, ok mikeb@
|
| |
|
|
|
|
|
|
|
| |
Resurrect the rather silly "unplug my network device while I am
doing nfs diskless revarp" safety code which was disabled due to
a missing "ether.h" include, found by jsg
ok jsg
|
| |
|
|
|
|
|
|
| |
is safe for both hardware devices and virtual devices
ok mpf, kettenis, moaning and groaning and slow acceptance from mcbride
XXX should loop checking for uniqueness after new henning diff goes in
|
|
|
|
| |
`if it is unused nuke it' claudio
|
|
|
|
| |
ok deraadt@ otto@
|
|
|
|
|
| |
arp layer. With a lot of input from deraadt@.
OK dlg@, looks good gollo@ + deraadt@
|
|
|
|
|
|
|
|
|
| |
address. This cvs commit introduces a queue that buffers a small
burst of packets and resending the packets in correct order when
the ethernet address is resolved. Code written by Armin Wolfermann
<aw@osn.de>.
OK: claudio@ henning@
|
|
|
|
|
| |
checksum in the packet it should be trimmed away by the driver and not by
driver independent code. OK brad@
|
|
|
|
|
|
|
|
|
|
|
| |
crc in addition to the existing "oneshot" mode and use them to replace
ieee80211_crc_update() with the new ether_crc32_le_update(). Saves 1k
kernel bss + some code.
Mark the new ether_crc32_[lb]e_update functions as __pure for a
~25x speedup (on my i386 at least).
feedback and ok damien@
|
|
|
|
|
|
|
| |
addresses in struct arpcom. this lets a nic driver easily see if it wants
allmulti behaviour, which in turn means we can clean some code up.
ok jason@ claudio@ norby@
|
| |
|
|
|
|
|
|
| |
- use if_hardmtu for MTU ioctl handlers.
ok reyk@
|
| |
|
|
|
|
| |
ok deraadt@
|
| |
|
|
|
|
| |
- add comment
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
add ETHER_MAX_LEN_JUMBO, ETHER_VLAN_ENCAP_LEN, ETHER_ALIGN, and
ETHERMTU_JUMBO constants.
if.h
add a few more interface capabilities flags.
Some from NetBSD, some from FreeBSD.
ok markus@
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
| |
deraadt ok
|
|
|
|
|
|
|
|
|
| |
to some developers, but include files are not just used by the kernel.
there are applications that pull them in as well. this change broke
tcpdump, and who knows what else. i've been talking for 24 hours now
about tree breakage and let this be official: I am prepared to lock the
tree entirely if need be. YOU WILL GET OK PERMISSION FROM EVERYONE, NOT
JUST FROM ONE PERSON
|
|
|
|
|
| |
(FDDI, ieee1394, ...). follows netbsd practice.
2 jasons, dhartmei, thierry ok
|
|
|
|
| |
declarations (extern int foo), and compensate in the appropriate locations.
|
| |
|