X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=6732b59ea172bffaa4d2123d9fe6659a842bd433;hb=a9b4a41ae4608eec6c700b3c50e450c07581d4a8;hp=d98a9656a990ce162270e0ca57ec061b3ee58927;hpb=56fd8edf80b6098289f9ddd94a6a4be3be648472;p=openvswitch diff --git a/datapath/datapath.h b/datapath/datapath.h index d98a9656..6732b59e 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -201,6 +201,7 @@ void dp_process_received_packet(struct sk_buff *, struct net_bridge_port *); int dp_del_port(struct net_bridge_port *); int dp_output_control(struct datapath *, struct sk_buff *, int, u32 arg); int dp_min_mtu(const struct datapath *dp); +void set_dp_devs_mtu(const struct datapath *dp, struct net_device *dev); struct datapath *get_dp(int dp_idx); @@ -209,15 +210,15 @@ static inline const char *dp_name(const struct datapath *dp) return dp->ports[ODPP_LOCAL]->dev->name; } -#ifdef CONFIG_XEN -int skb_checksum_setup(struct sk_buff *skb); +#if defined(CONFIG_XEN) && defined(HAVE_PROTO_DATA_VALID) +int vswitch_skb_checksum_setup(struct sk_buff *skb); #else -static inline int skb_checksum_setup(struct sk_buff *skb) +static inline int vswitch_skb_checksum_setup(struct sk_buff *skb) { return 0; } #endif -int vswitch_skb_checksum_setup(struct sk_buff *skb); +void forward_ip_summed(struct sk_buff *skb); #endif /* datapath.h */