git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modify VLAN actions to support setting both VID and priority.
[sliver-openvswitch.git]
/
include
/
packets.h
diff --git
a/include/packets.h
b/include/packets.h
index
83b7184
..
e7681ad
100644
(file)
--- a/
include/packets.h
+++ b/
include/packets.h
@@
-138,7
+138,8
@@
struct llc_snap_header {
} __attribute__((packed));
BUILD_ASSERT_DECL(LLC_SNAP_HEADER_LEN == sizeof(struct llc_snap_header));
-#define VLAN_VID 0x0fff
+#define VLAN_VID_MASK 0x0fff
+#define VLAN_PCP_MASK 0xe000
#define VLAN_HEADER_LEN 4
struct vlan_header {