X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Fudp_impl.h;h=820a477cfaa6e9899234b03ee8120c9ca158babd;hb=40b42f1ebf653cd72c32eb1a1a0b9fea2dfbfd7d;hp=06d94195e644848fa464f54456c4abb450496a25;hpb=0a3fd051c7036ef71b58863f8e5da7c3dabd9d3f;p=linux-2.6 diff --git a/net/ipv4/udp_impl.h b/net/ipv4/udp_impl.h index 06d94195e6..820a477cfa 100644 --- a/net/ipv4/udp_impl.h +++ b/net/ipv4/udp_impl.h @@ -5,14 +5,14 @@ #include #include -extern const struct udp_get_port_ops udp_ipv4_ops; - extern int __udp4_lib_rcv(struct sk_buff *, struct hlist_head [], int ); extern void __udp4_lib_err(struct sk_buff *, u32, struct hlist_head []); extern int __udp_lib_get_port(struct sock *sk, unsigned short snum, struct hlist_head udptable[], int *port_rover, - const struct udp_get_port_ops *ops); + int (*)(const struct sock*,const struct sock*)); +extern int ipv4_rcv_saddr_equal(const struct sock *, const struct sock *); + extern int udp_setsockopt(struct sock *sk, int level, int optname, char __user *optval, int optlen);