diff options
author | Vlad Yasevich <vyasevic@redhat.com> | 2013-02-13 12:00:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-13 19:42:16 -0500 |
commit | 1690be63a27b20ae65c792729a44f5970561ffa4 (patch) | |
tree | c0c86bc471e24207ee61b544c8683d84fc43d105 /include/uapi/linux/neighbour.h | |
parent | b0e9a30dd669a844bb4f74515f8bcd307018ffd0 (diff) | |
download | talos-obmc-linux-1690be63a27b20ae65c792729a44f5970561ffa4.tar.gz talos-obmc-linux-1690be63a27b20ae65c792729a44f5970561ffa4.zip |
bridge: Add vlan support to static neighbors
When a user adds bridge neighbors, allow him to specify VLAN id.
If the VLAN id is not specified, the neighbor will be added
for VLANs currently in the ports filter list. If no VLANs are
configured on the port, we use vlan 0 and only add 1 entry.
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Acked-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/neighbour.h')
-rw-r--r-- | include/uapi/linux/neighbour.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h index 275e5d65dcb2..adb068c53c4e 100644 --- a/include/uapi/linux/neighbour.h +++ b/include/uapi/linux/neighbour.h @@ -20,6 +20,7 @@ enum { NDA_LLADDR, NDA_CACHEINFO, NDA_PROBES, + NDA_VLAN, __NDA_MAX }; |