X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=38c84756f04a64b8bcc95b167428f9afb629ad6c;hb=16f2ae571fc7d21f13c9ddbe4e948d8f35552ae5;hp=d9fe4b2fb5d2b8951a852b4257be925e2b63e51a;hpb=a063b0dff0ccb6639f7e95969843d1c7cc2e15ae;p=openvswitch diff --git a/datapath/datapath.h b/datapath/datapath.h index d9fe4b2f..38c84756 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -183,10 +183,10 @@ struct net_bridge_port { }; enum csum_type { - CSUM_NONE = 0, - CSUM_UNNECESSARY = 1, - CSUM_COMPLETE = 2, - CSUM_PARTIAL = 3, + OVS_CSUM_NONE = 0, + OVS_CSUM_UNNECESSARY = 1, + OVS_CSUM_COMPLETE = 2, + OVS_CSUM_PARTIAL = 3, }; /** @@ -236,6 +236,7 @@ static inline int vswitch_skb_checksum_setup(struct sk_buff *skb) } #endif +void compute_ip_summed(struct sk_buff *skb, bool xmit); void forward_ip_summed(struct sk_buff *skb); #endif /* datapath.h */