Skip to content

Commit

Permalink
Add vxlan gbp header
Browse files Browse the repository at this point in the history
Signed-off-by: Deepa Kalani <[email protected]>
  • Loading branch information
Deepa Kalani committed Oct 15, 2016
1 parent accd4cf commit b542595
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/cc/export/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
)********"

0 comments on commit b542595

Please sign in to comment.