diff options
Diffstat (limited to 'include/net/udp.h')
-rw-r--r-- | include/net/udp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index 5d606d9da9e5..065f379c6503 100644 --- a/include/net/udp.h +++ b/include/net/udp.h | |||
@@ -81,7 +81,7 @@ struct udp_table { | |||
81 | extern struct udp_table udp_table; | 81 | extern struct udp_table udp_table; |
82 | extern void udp_table_init(struct udp_table *, const char *); | 82 | extern void udp_table_init(struct udp_table *, const char *); |
83 | static inline struct udp_hslot *udp_hashslot(struct udp_table *table, | 83 | static inline struct udp_hslot *udp_hashslot(struct udp_table *table, |
84 | struct net *net, unsigned num) | 84 | struct net *net, unsigned int num) |
85 | { | 85 | { |
86 | return &table->hash[udp_hashfn(net, num, table->mask)]; | 86 | return &table->hash[udp_hashfn(net, num, table->mask)]; |
87 | } | 87 | } |
@@ -267,4 +267,8 @@ extern void udp_init(void); | |||
267 | extern int udp4_ufo_send_check(struct sk_buff *skb); | 267 | extern int udp4_ufo_send_check(struct sk_buff *skb); |
268 | extern struct sk_buff *udp4_ufo_fragment(struct sk_buff *skb, | 268 | extern struct sk_buff *udp4_ufo_fragment(struct sk_buff *skb, |
269 | netdev_features_t features); | 269 | netdev_features_t features); |
270 | extern void udp_encap_enable(void); | ||
271 | #if IS_ENABLED(CONFIG_IPV6) | ||
272 | extern void udpv6_encap_enable(void); | ||
273 | #endif | ||
270 | #endif /* _UDP_H */ | 274 | #endif /* _UDP_H */ |