diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2012-04-27 08:24:08 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-28 22:21:51 -0400 |
commit | d7f3f62167bc2299d9669888b493b6e6ba561c35 (patch) | |
tree | 54bf3e1e796aba2aa1eb6b5e3fd0381c91327385 /include/net | |
parent | cb80ef463d1881757ade3197cdf875a2ff856651 (diff) |
net/ipv6/udp: UDP encapsulation: introduce encap_rcv hook into IPv6
Now that the sematics of udpv6_queue_rcv_skb() match IPv4's
udp_queue_rcv_skb(), introduce the UDP encap_rcv() hook for IPv6.
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/udp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index e66fc297b10..065f379c650 100644 --- a/include/net/udp.h +++ b/include/net/udp.h @@ -268,4 +268,7 @@ extern int udp4_ufo_send_check(struct sk_buff *skb); extern struct sk_buff *udp4_ufo_fragment(struct sk_buff *skb, netdev_features_t features); extern void udp_encap_enable(void); +#if IS_ENABLED(CONFIG_IPV6) +extern void udpv6_encap_enable(void); +#endif #endif /* _UDP_H */ |