NetBSD/sys/net
thorpej 96375e93ea Improve the VLAN support, in particular, handling of MTU:
- Add a macro to compute the max frame length based on Ethertype
  and presence of FCS, and use it to validate the packet size
  in ether_input().
- Add capabilites to struct ethercom, and allow hardware drivers
  to specify that they can handle the larger hardware MTU that
  VLANs require in order to strictly conform to 802.1Q.
- Make ether_ifdetach() clear out the link address and free all of
  the Ethernet multicast structures.

Also, rearrange the VLAN driver itself in preparation to supporting
other hardware types, including FDDI (which has 802.1Q VLAN capability).
2000-10-03 23:33:38 +00:00
..
bpf_filter.c Add a missing include when using this in user space. 2000-07-22 05:11:27 +00:00
bpf.c
bpf.h
bpfdesc.h
bsd-comp.c Don't use MALLOC() for variable-sized allocations. 2000-08-25 21:22:16 +00:00
ethertypes.h
if_arc.h
if_arcsubr.c
if_arp.h Add kernel counters for arp events, displayable with netstat -s -f arp 2000-08-15 20:24:57 +00:00
if_atm.h
if_atmsubr.c
if_dl.h Avoid recursion with traditional cpp. 2000-07-28 12:13:32 +00:00
if_ether.h Improve the VLAN support, in particular, handling of MTU: 2000-10-03 23:33:38 +00:00
if_ethersubr.c Improve the VLAN support, in particular, handling of MTU: 2000-10-03 23:33:38 +00:00
if_faith.c
if_fddi.h
if_fddisubr.c
if_gif.c fix compilation without INET. fix confusion between ipsecstat and ipsec6stat. 2000-10-02 03:55:41 +00:00
if_gif.h
if_gre.c Add bpf tap to gre interface. 2000-08-25 00:51:20 +00:00
if_gre.h
if_hippi.h
if_hippisubr.c fix IPv6 packet manipulation. (use ip6intrq) 2000-10-02 03:52:10 +00:00
if_ieee80211.h add following two ioctls to handle WEP key for IEEE 802.11 wireless 2000-07-21 04:47:40 +00:00
if_llc.h
if_loop.c
if_media.c
if_media.h
if_ppp.c enable VJC only with INET 2000-10-02 03:54:10 +00:00
if_ppp.h
if_pppvar.h
if_sl.c
if_slvar.h
if_sppp.h Define SIOC[SG]IFGENERIC in <sys/sockio.h>, as FreeBSD and OpenBSD do. 2000-08-10 11:48:41 +00:00
if_spppsubr.c fix compilation without INET 2000-10-02 03:53:47 +00:00
if_stf.c
if_stf.h
if_strip.c cosmetic; repair indentation 2000-10-02 03:51:18 +00:00
if_stripvar.h
if_token.h
if_tokensubr.c fix compilation without INET. 2000-10-02 03:53:07 +00:00
if_tun.c
if_tun.h
if_types.h
if_vlan.c Improve the VLAN support, in particular, handling of MTU: 2000-10-03 23:33:38 +00:00
if_vlanvar.h Improve the VLAN support, in particular, handling of MTU: 2000-10-03 23:33:38 +00:00
if.c Change the behavior of ifpromisc() slightly. If interface is not IFF_UP, 2000-10-01 23:16:07 +00:00
if.h
Makefile Install if_vlanvar.h. 2000-09-28 06:06:50 +00:00
net_osdep.c
net_osdep.h - icmp6 nodeinfo: remove possibility of unaligned pointer access. 2000-08-19 08:15:53 +00:00
netisr_dispatch.h
netisr.h
pfil.c
pfil.h
pfkeyv2.h typo 2000-10-03 22:46:21 +00:00
ppp_defs.h
ppp_tty.c
ppp-comp.h
ppp-deflate.c Don't use MALLOC() for variable-sized allocations. 2000-08-25 21:22:16 +00:00
radix.c
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c
route.c
route.h
rtsock.c When grabbing address structures out of a character array make sure that the number of addresses and length of each match up with the size of the data we're handed. Fixes arp on the alpha. 2000-09-28 01:14:06 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h