Searched refs:bound_dev_if (Results 1 – 7 of 7) sorted by relevance
/include/net/ |
D | inet_sock.h | 122 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in inet_request_bound_dev_if() local 126 if (!bound_dev_if && READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept)) in inet_request_bound_dev_if() 130 return bound_dev_if; in inet_request_bound_dev_if() 146 static inline bool inet_bound_dev_eq(bool l3mdev_accept, int bound_dev_if, in inet_bound_dev_eq() argument 149 if (!bound_dev_if) in inet_bound_dev_eq() 151 return bound_dev_if == dif || bound_dev_if == sdif; in inet_bound_dev_eq() 154 static inline bool inet_sk_bound_dev_eq(struct net *net, int bound_dev_if, in inet_sk_bound_dev_eq() argument 159 bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq() 161 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in inet_sk_bound_dev_eq()
|
D | raw.h | 91 static inline bool raw_sk_bound_dev_eq(struct net *net, int bound_dev_if, in raw_sk_bound_dev_eq() argument 96 bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq() 98 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in raw_sk_bound_dev_eq()
|
D | udp.h | 238 static inline bool udp_sk_bound_dev_eq(struct net *net, int bound_dev_if, in udp_sk_bound_dev_eq() argument 243 bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq() 245 return inet_bound_dev_eq(true, bound_dev_if, dif, sdif); in udp_sk_bound_dev_eq()
|
D | sock.h | 3028 int bound_dev_if = READ_ONCE(sk->sk_bound_dev_if); in sk_dev_equal_l3scope() local 3031 if (!bound_dev_if || bound_dev_if == dif) in sk_dev_equal_l3scope() 3035 if (mdif && mdif == bound_dev_if) in sk_dev_equal_l3scope()
|
D | ip.h | 272 int bound_dev_if; member
|
/include/rdma/ |
D | ib_addr.h | 41 int bound_dev_if; member
|
/include/uapi/linux/ |
D | bpf.h | 5981 __u32 bound_dev_if; member
|