X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fflow.h;h=093d509bc6c810e2286574f3c12d31b39c35d6e7;hb=0e19706066f34523854cbce50c05c367e700c451;hp=ad51496900e0c10812c1172bdfbb7df3fd8d7436;hpb=94639963bf275a41e42277116205da0e9b457580;p=sliver-openvswitch.git diff --git a/lib/flow.h b/lib/flow.h index ad5149690..093d509bc 100644 --- a/lib/flow.h +++ b/lib/flow.h @@ -37,7 +37,7 @@ struct ofpbuf; /* This sequence number should be incremented whenever anything involving flows * or the wildcarding of flows changes. This will cause build assertion * failures in places which likely need to be updated. */ -#define FLOW_WC_SEQ 21 +#define FLOW_WC_SEQ 22 #define FLOW_N_REGS 8 BUILD_ASSERT_DECL(FLOW_N_REGS <= NXM_NX_MAX_REGS); @@ -107,6 +107,7 @@ struct flow { ovs_be16 dl_type; /* Ethernet frame type. */ ovs_be16 tp_src; /* TCP/UDP/SCTP source port. */ ovs_be16 tp_dst; /* TCP/UDP/SCTP destination port. */ + ovs_be16 tcp_flags; /* TCP flags. */ uint8_t dl_src[6]; /* Ethernet source address. */ uint8_t dl_dst[6]; /* Ethernet destination address. */ uint8_t nw_proto; /* IP protocol or low 8 bits of ARP opcode. */ @@ -123,8 +124,8 @@ BUILD_ASSERT_DECL(sizeof(struct flow) % 4 == 0); /* Remember to update FLOW_WC_SEQ when changing 'struct flow'. */ BUILD_ASSERT_DECL(offsetof(struct flow, nw_frag) + 1 - == sizeof(struct flow_tnl) + 152 - && FLOW_WC_SEQ == 21); + == sizeof(struct flow_tnl) + 154 + && FLOW_WC_SEQ == 22); /* Represents the metadata fields of struct flow. */ struct flow_metadata {