History

bridge: Add the ability to configure pvid

A user may designate a certain vlan as PVID. This means that any ingress frame that does not contain a vlan tag is assigned to this vlan and any forwarding decisions are made with this vlan in mind.

Vlad Yasevich committed 13 years ago

Commit 552406c1 parent 78851984 files · +50 −17Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/if_bridge.h+1−0
@@ -120,6 +120,7 @@ enum { · 119 unmodified lines
120120 #define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1)
121121
122122 #define BRIDGE_VLAN_INFO_MASTER (1<<0) /* Operate on Bridge device as well */
123+#define BRIDGE_VLAN_INFO_PVID (1<<1) /* VLAN is PVID, ingress untagged */
123124
124125 struct bridge_vlan_info {
125126 u16 flags;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t