Lines Matching refs:raw_sk
154 __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()
308 raw_err(raw_sk, skb, info); in raw_icmp_error()
309 raw_sk = sk_next(raw_sk); in raw_icmp_error()
806 struct raw_sock *rp = raw_sk(sk); in raw_sk_init()
817 if (copy_from_sockptr(&raw_sk(sk)->filter, optval, optlen)) in raw_seticmpfilter()
835 copy_to_user(optval, &raw_sk(sk)->filter, len)) in raw_geticmpfilter()