diff options
author | thompsa <thompsa@FreeBSD.org> | 2007-06-13 18:58:04 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2007-06-13 18:58:04 +0000 |
commit | fb74a99e0d1f203249890555137ffb25d466c8e2 (patch) | |
tree | 2c9e6d0a01ae299cf50168c539e4a217c0f02a4b /sys/net/if_bridgevar.h | |
parent | b936eeb39ddebd2dd21440a77901dc032bd0f608 (diff) | |
download | FreeBSD-src-fb74a99e0d1f203249890555137ffb25d466c8e2.zip FreeBSD-src-fb74a99e0d1f203249890555137ffb25d466c8e2.tar.gz |
Add the vlan tag to the bridge route table. This allows a vlan trunk to be
bridged, previously legitimate traffic was not passed as the bridge could not
tell that it was on a different Ethernet segment.
All non-tagged traffic is treated as vlan1 as per IEEE 802.1Q-2003
Diffstat (limited to 'sys/net/if_bridgevar.h')
-rw-r--r-- | sys/net/if_bridgevar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_bridgevar.h b/sys/net/if_bridgevar.h index ae33688..b11c34d 100644 --- a/sys/net/if_bridgevar.h +++ b/sys/net/if_bridgevar.h @@ -174,6 +174,7 @@ struct ifbareq { unsigned long ifba_expire; /* address expire time */ uint8_t ifba_flags; /* address flags */ uint8_t ifba_dst[ETHER_ADDR_LEN];/* destination address */ + uint16_t ifba_vlan; /* vlan id */ }; #define IFBAF_TYPEMASK 0x03 /* address type mask */ |