mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 09:58:01 +00:00
14 lines
266 B
C
14 lines
266 B
C
|
#ifndef __LINUX_IPV6_WRAPPER_H
|
||
|
#define __LINUX_IPV6_WRAPPER_H 1
|
||
|
|
||
|
#include_next <linux/ipv6.h>
|
||
|
|
||
|
#ifndef HAVE_SKBUFF_HEADER_HELPERS
|
||
|
static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb)
|
||
|
{
|
||
|
return (struct ipv6hdr *)skb_network_header(skb);
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|