Home
last modified time | relevance | path

Searched refs:raw_sk (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Draw.c154 __u32 data = raw_sk(sk)->filter.data; in icmp_filter()
210 struct sock *raw_sk; in raw_local_deliver() local
213 raw_sk = sk_head(&raw_v4_hashinfo.ht[hash]); in raw_local_deliver()
218 if (raw_sk && !raw_v4_input(skb, ip_hdr(skb), hash)) in raw_local_deliver()
219 raw_sk = NULL; in raw_local_deliver()
221 return raw_sk != NULL; in raw_local_deliver()
290 struct sock *raw_sk; in raw_icmp_error() local
297 raw_sk = sk_head(&raw_v4_hashinfo.ht[hash]); in raw_icmp_error()
298 if (raw_sk) { in raw_icmp_error()
305 while ((raw_sk = __raw_v4_lookup(net, raw_sk, protocol, in raw_icmp_error()
[all …]
Dipmr.c1367 mrt = ipmr_get_table(net, raw_sk(sk)->ipmr_table ? : RT_TABLE_DEFAULT); in ip_mroute_setsockopt()
1527 raw_sk(sk)->ipmr_table = uval; in ip_mroute_setsockopt()
1552 mrt = ipmr_get_table(net, raw_sk(sk)->ipmr_table ? : RT_TABLE_DEFAULT); in ip_mroute_getsockopt()
1594 mrt = ipmr_get_table(net, raw_sk(sk)->ipmr_table ? : RT_TABLE_DEFAULT); in ipmr_ioctl()
1669 mrt = ipmr_get_table(net, raw_sk(sk)->ipmr_table ? : RT_TABLE_DEFAULT); in ipmr_compat_ioctl()
/kernel/linux/linux-5.10/net/can/
Draw.c115 static inline struct raw_sock *raw_sk(const struct sock *sk) in raw_sk() function
123 struct raw_sock *ro = raw_sk(sk); in raw_rcv()
247 struct raw_sock *ro = raw_sk(sk); in raw_disable_allfilters()
256 struct raw_sock *ro = raw_sk(sk); in raw_enable_allfilters()
334 struct raw_sock *ro = raw_sk(sk); in raw_init()
372 ro = raw_sk(sk); in raw_release()
421 struct raw_sock *ro = raw_sk(sk); in raw_bind()
502 struct raw_sock *ro = raw_sk(sk); in raw_getname()
518 struct raw_sock *ro = raw_sk(sk); in raw_setsockopt()
695 struct raw_sock *ro = raw_sk(sk); in raw_getsockopt()
[all …]
/kernel/linux/linux-5.10/include/net/
Draw.h69 static inline struct raw_sock *raw_sk(const struct sock *sk) in raw_sk() function
/kernel/linux/linux-5.10/net/ipv6/
Draw.c232 struct sock *raw_sk; in raw6_local_deliver() local
234 raw_sk = sk_head(&raw_v6_hashinfo.ht[nexthdr & (RAW_HTABLE_SIZE - 1)]); in raw6_local_deliver()
235 if (raw_sk && !ipv6_raw_deliver(skb, nexthdr)) in raw6_local_deliver()
236 raw_sk = NULL; in raw6_local_deliver()
238 return raw_sk != NULL; in raw6_local_deliver()