freebsd-dev/sys/net
Ruslan Ermilov 6ee20ab521 Allocate the M_VLANTAG m_pkthdr flag, and use it to indicate that
a packet has VLAN mbuf tag attached.  This is faster to check than
m_tag_locate(), and allows us to use the tags in non-vlan(4) VLAN
producers.

The first argument to VLAN_OUTPUT_TAG() is now unused but retained
for backward compatibility.

While here, embellish a fix in rev. 1.174 of if_ethersubr.c -- it
now checks for packets with VLAN (mbuf) tags, and it should now
be possible to bridge(4) on vlan(4)'s whose parent interfaces
support VLAN decapsulation in hardware.

Reviewed by:	sam
2005-02-18 22:31:19 +00:00
..
bpf_compat.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
bpf_filter.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
bpf.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
bpf.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
bpfdesc.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
bridge.c - Reduce number of arguments passed to dummynet_io(), we already have cookie 2005-01-16 11:13:18 +00:00
bridge.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
bsd_comp.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ethernet.h add ETHERTYPE_PAE for EAPOL/802.1x 2004-10-05 19:28:52 +00:00
fddi.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
firewire.h Fix big-endian build. 2004-06-14 08:17:51 +00:00
if_arc.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_arcsubr.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_arp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_atm.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_atmsubr.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_clone.c Make a bunch of malloc types static. 2005-02-10 12:02:37 +00:00
if_clone.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_disc.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_dl.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_ef.c Initialize ; variable eraly to shut up GCC warning. 2004-07-28 06:48:36 +00:00
if_ethersubr.c Allocate the M_VLANTAG m_pkthdr flag, and use it to indicate that 2005-02-18 22:31:19 +00:00
if_faith.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_fddisubr.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_fwsubr.c Remove ip_fw.h and ip_dummynet.h from includes. 2005-01-15 22:04:17 +00:00
if_gif.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_gif.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_gre.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_gre.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_iso88025subr.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_llc.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_loop.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_media.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_media.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_mib.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_mib.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_ppp.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_ppp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_pppvar.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_sl.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_slvar.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
if_sppp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_spppfr.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_spppsubr.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_stf.c don't see NBPFILTER. 2005-01-11 07:17:33 +00:00
if_stf.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_tap.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_tap.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_tapvar.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_tun.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_tun.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_types.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_vlan_var.h Allocate the M_VLANTAG m_pkthdr flag, and use it to indicate that 2005-02-18 22:31:19 +00:00
if_vlan.c Allocate the M_VLANTAG m_pkthdr flag, and use it to indicate that 2005-02-18 22:31:19 +00:00
if.c Validate ifc->ifc_len before submitting its incarnation to sbuf_new, 2005-02-12 17:51:12 +00:00
if.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
iso88025.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
net_osdep.h we are not OLD_BPF system. 2005-01-11 07:08:15 +00:00
netisr.c Correctly unregister a netisr by clearing the ni->ni_queue field to NULL as 2004-10-11 20:01:43 +00:00
netisr.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
pfil.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
pfil.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
pfkeyv2.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ppp_comp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ppp_deflate.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ppp_defs.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ppp_tty.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
radix.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
radix.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
raw_cb.c Acquire the raw_cb mutex around LIST_REMOVE() of a raw socket control 2005-01-24 22:56:09 +00:00
raw_cb.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
raw_usrreq.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
route.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
route.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
rtsock.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
slcompress.c Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
slcompress.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
slip.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
zlib.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
zlib.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00