projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofpbuf: Mark ofpbuf_headroom(), ofpbuf_tailroom() parameters const.
[openvswitch]
/
datapath
/
datapath.h
diff --git
a/datapath/datapath.h
b/datapath/datapath.h
index d98a9656a990ce162270e0ca57ec061b3ee58927..3b5a67b103f362fc73651ed1e0e3fe79ee21f7c8 100644
(file)
--- a/
datapath/datapath.h
+++ b/
datapath/datapath.h
@@
-209,15
+209,13
@@
static inline const char *dp_name(const struct datapath *dp)
return dp->ports[ODPP_LOCAL]->dev->name;
}
return dp->ports[ODPP_LOCAL]->dev->name;
}
-#if
def 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
#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
{
return 0;
}
#endif
-int vswitch_skb_checksum_setup(struct sk_buff *skb);
-
#endif /* datapath.h */
#endif /* datapath.h */