datapath: Add SCTP support
[sliver-openvswitch.git] / datapath / linux / compat / include / linux / sctp.h
1 #ifndef __LINUX_SCTP_WRAPPER_H
2 #define __LINUX_SCTP_WRAPPER_H 1
3
4 #include_next <linux/sctp.h>
5
6 #ifndef HAVE_SKBUFF_HEADER_HELPERS
7 static inline struct sctphdr *sctp_hdr(const struct sk_buff *skb)
8 {
9         return (struct sctphdr *)skb_transport_header(skb);
10 }
11 #endif /* HAVE_SKBUFF_HEADER_HELPERS */
12
13 #endif