Lines Matching defs:net
20 #include <net/inet_sock.h>
22 #include <net/ipv6.h>
23 #include <net/netns/hash.h>
43 struct sock *__inet6_lookup_established(struct net *net,
51 struct sock *inet6_lookup_listener(struct net *net,
60 static inline struct sock *__inet6_lookup(struct net *net,
70 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr,
77 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport,
99 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
107 static inline bool inet6_match(struct net *net, const struct sock *sk,
113 if (!net_eq(sock_net(sk), net) ||
121 return inet_sk_bound_dev_eq(net, READ_ONCE(sk->sk_bound_dev_if), dif,