Searched refs:raw6_sk (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/net/ipv6/ |
D | raw.c | 104 const __u32 *data = &raw6_sk(sk)->filter.data[0]; in icmpv6_filter() 355 if ((raw6_sk(sk)->checksum || rcu_access_pointer(sk->sk_filter)) && in rawv6_rcv_skb() 382 struct raw6_sock *rp = raw6_sk(sk); in rawv6_rcv() 742 struct raw6_sock *rp = raw6_sk(sk); in rawv6_sendmsg() 945 if (copy_from_sockptr(&raw6_sk(sk)->filter, optval, optlen)) in rawv6_seticmpfilter() 970 if (copy_to_user(optval, &raw6_sk(sk)->filter, len)) in rawv6_geticmpfilter() 984 struct raw6_sock *rp = raw6_sk(sk); in do_rawv6_setsockopt() 1057 struct raw6_sock *rp = raw6_sk(sk); in do_rawv6_getsockopt() 1178 struct raw6_sock *rp = raw6_sk(sk); in rawv6_init_sk()
|
D | ip6mr.c | 1670 mrt = ip6mr_get_table(net, raw6_sk(sk)->ip6mr_table ? : RT6_TABLE_DFLT); in ip6_mroute_setsockopt() 1815 raw6_sk(sk)->ip6mr_table = v; in ip6_mroute_setsockopt() 1845 mrt = ip6mr_get_table(net, raw6_sk(sk)->ip6mr_table ? : RT6_TABLE_DFLT); in ip6_mroute_getsockopt() 1891 mrt = ip6mr_get_table(net, raw6_sk(sk)->ip6mr_table ? : RT6_TABLE_DFLT); in ip6mr_ioctl() 1959 mrt = ip6mr_get_table(net, raw6_sk(sk)->ip6mr_table ? : RT6_TABLE_DFLT); in ip6mr_compat_ioctl()
|
/linux-6.6.21/include/linux/ |
D | ipv6.h | 334 #define raw6_sk(ptr) container_of_const(ptr, struct raw6_sock, inet.sk) macro 366 static inline struct raw6_sock *raw6_sk(const struct sock *sk) in raw6_sk() function
|