projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
accd4cf
)
Add vxlan gbp header
author
Deepa Kalani
<dkalani@plumgrid.com>
Fri, 14 Oct 2016 17:09:55 +0000
(10:09 -0700)
committer
Deepa Kalani
<dkalani@plumgrid.com>
Sat, 15 Oct 2016 04:16:47 +0000
(21:16 -0700)
Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>
src/cc/export/proto.h
patch
|
blob
|
history
diff --git
a/src/cc/export/proto.h
b/src/cc/export/proto.h
index
40e209d
..
ed47775
100644
(file)
--- a/
src/cc/export/proto.h
+++ b/
src/cc/export/proto.h
@@
-127,4
+127,19
@@
struct vxlan_t {
unsigned int key:24;
unsigned int rsv4:8;
} BPF_PACKET_HEADER;
+
+struct vxlan_gbp_t {
+ unsigned int gflag:1;
+ unsigned int rsv1:3;
+ unsigned int iflag:1;
+ unsigned int rsv2:3;
+ unsigned int rsv3:1;
+ unsigned int dflag:1;
+ unsigned int rsv4:1;
+ unsigned int aflag:1;
+ unsigned int rsv5:3;
+ unsigned int tag:16;
+ unsigned int key:24;
+ unsigned int rsv6:8;
+} BPF_PACKET_HEADER;
)********"