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>
This commit is contained in:
committed by
David S. Miller
parent
cb80ef463d
commit
d7f3f62167
@@ -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 */
|
||||
|
Reference in New Issue
Block a user