aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/udp.h')
-rw-r--r--include/net/udp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/udp.h b/include/net/udp.h
index addcdc67234c..d38f6f2419f9 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -148,6 +148,10 @@ extern int udp_lib_setsockopt(struct sock *sk, int level, int optname,
148 char __user *optval, int optlen, 148 char __user *optval, int optlen,
149 int (*push_pending_frames)(struct sock *)); 149 int (*push_pending_frames)(struct sock *));
150 150
151extern struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport,
152 __be32 daddr, __be16 dport,
153 int dif);
154
151DECLARE_SNMP_STAT(struct udp_mib, udp_stats_in6); 155DECLARE_SNMP_STAT(struct udp_mib, udp_stats_in6);
152 156
153/* UDP-Lite does not have a standardized MIB yet, so we inherit from UDP */ 157/* UDP-Lite does not have a standardized MIB yet, so we inherit from UDP */