Searched refs:raw6_sk (Results 1 – 3 of 3) sorted by relevance
120 const __u32 *data = &raw6_sk(sk)->filter.data[0]; in icmpv6_filter()392 if ((raw6_sk(sk)->checksum || rcu_access_pointer(sk->sk_filter)) && in rawv6_rcv_skb()419 struct raw6_sock *rp = raw6_sk(sk); in rawv6_rcv()778 struct raw6_sock *rp = raw6_sk(sk); in rawv6_sendmsg()985 if (copy_from_sockptr(&raw6_sk(sk)->filter, optval, optlen)) in rawv6_seticmpfilter()1010 if (copy_to_user(optval, &raw6_sk(sk)->filter, len)) in rawv6_geticmpfilter()1024 struct raw6_sock *rp = raw6_sk(sk); in do_rawv6_setsockopt()1097 struct raw6_sock *rp = raw6_sk(sk); in do_rawv6_getsockopt()1220 struct raw6_sock *rp = raw6_sk(sk); in rawv6_init_sk()
1646 mrt = ip6mr_get_table(net, raw6_sk(sk)->ip6mr_table ? : RT6_TABLE_DFLT); in ip6_mroute_setsockopt()1787 raw6_sk(sk)->ip6mr_table = v; in ip6_mroute_setsockopt()1817 mrt = ip6mr_get_table(net, raw6_sk(sk)->ip6mr_table ? : RT6_TABLE_DFLT); in ip6_mroute_getsockopt()1864 mrt = ip6mr_get_table(net, raw6_sk(sk)->ip6mr_table ? : RT6_TABLE_DFLT); in ip6mr_ioctl()1939 mrt = ip6mr_get_table(net, raw6_sk(sk)->ip6mr_table ? : RT6_TABLE_DFLT); in ip6mr_compat_ioctl()
331 static inline struct raw6_sock *raw6_sk(const struct sock *sk) in raw6_sk() function374 static inline struct raw6_sock *raw6_sk(const struct sock *sk) in raw6_sk() function