X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=7548ba26521e49b9bd63287e456c14b381a24da0;hb=a6057323869de5b323d1c75e678b6a0fe0e8addd;hp=d28250a128006f259272285ffa0ebd7bf3f71104;hpb=e8b52a913a8fc3d2ef0dae82eda5905668ebfae1;p=openvswitch diff --git a/datapath/datapath.h b/datapath/datapath.h index d28250a1..7548ba26 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -24,6 +24,7 @@ /* Mask for the priority bits in a vlan header. If we ever merge upstream * then this should go into include/linux/if_vlan.h. */ #define VLAN_PCP_MASK 0xe000 +#define VLAN_PCP_SHIFT 13 #define DP_MAX_PORTS 1024 #define DP_MAX_GROUPS 16 @@ -168,5 +169,6 @@ static inline int skb_checksum_setup(struct sk_buff *skb) #endif int vswitch_skb_checksum_setup(struct sk_buff *skb); +void forward_ip_summed(struct sk_buff *skb); #endif /* datapath.h */