diff options
author | David Ahern <dsahern@gmail.com> | 2017-08-07 08:44:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 11:39:22 -0700 |
commit | 5108ab4bf446fa9ad2c71f5fc1d839067b72636f (patch) | |
tree | 0eb95dbb9e503991b36468ccf4b00a010697f664 /include/net/rawv6.h | |
parent | 4297a0ef085729af98adab9131d128c576ed3044 (diff) | |
download | linux-5108ab4bf446fa9ad2c71f5fc1d839067b72636f.tar.gz linux-5108ab4bf446fa9ad2c71f5fc1d839067b72636f.tar.bz2 linux-5108ab4bf446fa9ad2c71f5fc1d839067b72636f.zip |
net: ipv6: add second dif to raw socket lookups
Add a second device index, sdif, to raw socket lookups. sdif is the
index for ingress devices enslaved to an l3mdev. It allows the lookups
to consider the enslaved device as well as the L3 domain when searching
for a socket.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rawv6.h')
-rw-r--r-- | include/net/rawv6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/rawv6.h b/include/net/rawv6.h index cbe4e9de1894..4addc5c988e0 100644 --- a/include/net/rawv6.h +++ b/include/net/rawv6.h @@ -6,7 +6,7 @@ extern struct raw_hashinfo raw_v6_hashinfo; struct sock *__raw_v6_lookup(struct net *net, struct sock *sk, unsigned short num, const struct in6_addr *loc_addr, - const struct in6_addr *rmt_addr, int dif); + const struct in6_addr *rmt_addr, int dif, int sdif); int raw_abort(struct sock *sk, int err); |