Home | History | Annotate | Download | only in net
History log of /src/sys/net/if_vlanvar.h
RevisionDateAuthorComments
 1.17  20-Jun-2022  yamaguchi Handling frames that vlan id is 0 as non-VLAN frames
even if a vlan tag is stripped by harware offloading
 1.16  30-Sep-2021  yamaguchi vlan: Register vlan_ifdetach to ether_ifdetach hook
 1.15  30-Sep-2021  yamaguchi vlan: Register the callback to update link-state of vlan I/F
to link-state change hook

The callback is registered in every vlan I/F even if the parent
interface is the same. Therefore it is not needed to search the
vlan I/F by the parent interface unlike the previous callback.
 1.14  26-Sep-2020  roy vlan: match the interface link state with that of the parent

Now addresses on a vlan will detach and undergo duplicate address
dectection on link state changes just as on a standard interface.
 1.13  15-Jan-2018  maxv Mostly style, and add a bunch of KASSERTs.
 1.12  22-Nov-2017  msaitoh No functional change:
- u_int16_t -> uint16_t
- u_short -> uint16_t
- tag_hash_func -> vlan_tag_hash
- 0 -> NULL because vlr_parent is a pointer.
 1.11  22-Nov-2017  msaitoh Fix a bug that a vlan packet which has priority or CFI bit in the tag causes
panic.
 1.10  07-Jun-2017  knakahara vlan(4) MP-ify. contributed by s-yamaguchi@IIJ, thanks.

XXX Pull-ups needed for netbsd-8 branch
 1.9  28-Apr-2008  martin branches: 1.9.44; 1.9.64; 1.9.80;
Remove clause 3 and 4 from TNF licenses
 1.8  20-Feb-2008  matt branches: 1.8.6; 1.8.8; 1.8.10;
s/u_\(int[0-9]*_t\)/u\1/g
(change u_int*_t to uint*_t)
 1.7  25-Dec-2007  perry Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
 1.6  11-Dec-2005  christos branches: 1.6.46; 1.6.52; 1.6.56; 1.6.60;
merge ktrace-lwp.
 1.5  26-Feb-2005  perry branches: 1.5.4;
nuke trailing whitespace
 1.4  03-Oct-2000  thorpej branches: 1.4.2; 1.4.4; 1.4.28; 1.4.36; 1.4.38;
When an Ethernet interface detaches, unconfigure any VLANs associated
with it.
 1.3  03-Oct-2000  thorpej 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).
 1.2  28-Sep-2000  enami Port the multicast handling to NetBSD correctly.
 1.1  27-Sep-2000  thorpej Support for 802.1Q Virtual LANs. Derived and cleaned up by
Andy Doran <ad@netbsd.org> from the FreeBSD/OpenBSD implementation.
A few minor changes to how it all hooks into the system by me.
 1.4.38.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.4.36.1  29-Apr-2005  kent sync with -current
 1.4.28.1  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.4.4.2  31-Dec-2000  jhawk Pull up revisions 1.1-1.4 (new) (requested by bouyer):
Add support for 802.1Q virtual LANs.
 1.4.4.1  03-Oct-2000  jhawk file if_vlanvar.h was added on branch netbsd-1-5 on 2000-12-31 20:14:35 +0000
 1.4.2.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.4.2.1  03-Oct-2000  bouyer file if_vlanvar.h was added on branch thorpej_scsipi on 2000-11-20 18:10:08 +0000
 1.5.4.2  27-Feb-2008  yamt sync with head.
 1.5.4.1  21-Jan-2008  yamt sync with head
 1.6.60.1  02-Jan-2008  bouyer Sync with HEAD
 1.6.56.1  26-Dec-2007  ad Sync with head.
 1.6.52.1  18-Feb-2008  mjf Sync with HEAD.
 1.6.46.2  23-Mar-2008  matt sync with HEAD
 1.6.46.1  09-Jan-2008  matt sync with HEAD
 1.8.10.1  16-May-2008  yamt sync with head.
 1.8.8.1  18-May-2008  yamt sync with head.
 1.8.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.9.80.2  24-Nov-2017  martin Pull up following revision(s) (requested by msaitoh in ticket #389):
sys/net/if_ether.h: revision 1.69
sys/net/if_vlan.c: revision 1.108
sys/dev/pci/if_bge.c: revision 1.313
sys/net/if_vlanvar.h: revision 1.11
sys/net/if_vlanvar.h: revision 1.12
sys/net/if_ether.h: revision 1.70
sys/net/if_vlan.c: revision 1.110
sys/dev/pci/if_wm.c: revision 1.544
sys/dev/pci/if_wmreg.h: revision 1.105
Fix a bug that a vlan packet which has priority or CFI bit in the tag causes
panic.
Revert part of if_bge.c 1.312. It's not required to mask other than VLAN ID
bits in VLAN tag.
Revert if_wmreg.h 1.104 and if_wm.c 1.542. It's not required to mask other
than VLAN ID bits in VLAN tag.
No functional change:
- u_int16_t -> uint16_t
- u_short -> uint16_t
- tag_hash_func -> vlan_tag_hash
- 0 -> NULL because vlr_parent is a pointer.
 1.9.80.1  21-Jun-2017  snj Pull up following revision(s) (requested by knakahara in ticket #41):
sys/net/if_vlan.c: revision 1.98
sys/net/if_vlanvar.h: revision 1.10
vlan(4) MP-ify. contributed by s-yamaguchi@IIJ, thanks.
 1.9.64.1  28-Aug-2017  skrll Sync with HEAD
 1.9.44.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed