diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2012-04-27 08:24:08 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-29 02:21:51 (GMT) |
commit | d7f3f62167bc2299d9669888b493b6e6ba561c35 (patch) | |
tree | 54bf3e1e796aba2aa1eb6b5e3fd0381c91327385 /include/net/udp.h | |
parent | cb80ef463d1881757ade3197cdf875a2ff856651 (diff) | |
download | linux-d7f3f62167bc2299d9669888b493b6e6ba561c35.tar.xz |
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/udp.h')
-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 e66fc29..065f379 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 */ |