aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/rawv6.h
diff options
context:
space:
mode:
authorAndrew McDonald <andrew@mcdonald.org.uk>2005-08-09 22:44:42 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:37:06 -0400
commit0bd1b59b15e4057101c89d4db15a3683c0d897f7 (patch)
tree1912652fdf55f1bcc703ae9a3dcb93036dcfca67 /include/net/rawv6.h
parent7af4cc3fa158ff1dda6e7451c7e6afa6b0bb85cb (diff)
[IPV6]: Check interface bindings on IPv6 raw socket reception
Take account of whether a socket is bound to a particular device when selecting an IPv6 raw socket to receive a packet. Also perform this check when receiving IPv6 packets with router alert options. Signed-off-by: Andrew McDonald <andrew@mcdonald.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rawv6.h')
-rw-r--r--include/net/rawv6.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/rawv6.h b/include/net/rawv6.h
index 23fd9a6a221a..887009aa1f88 100644
--- a/include/net/rawv6.h
+++ b/include/net/rawv6.h
@@ -10,7 +10,8 @@ extern rwlock_t raw_v6_lock;
10extern void ipv6_raw_deliver(struct sk_buff *skb, int nexthdr); 10extern void ipv6_raw_deliver(struct sk_buff *skb, int nexthdr);
11 11
12extern struct sock *__raw_v6_lookup(struct sock *sk, unsigned short num, 12extern struct sock *__raw_v6_lookup(struct sock *sk, unsigned short num,
13 struct in6_addr *loc_addr, struct in6_addr *rmt_addr); 13 struct in6_addr *loc_addr, struct in6_addr *rmt_addr,
14 int dif);
14 15
15extern int rawv6_rcv(struct sock *sk, 16extern int rawv6_rcv(struct sock *sk,
16 struct sk_buff *skb); 17 struct sk_buff *skb);