Home
last modified time | relevance | path

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

/openbmc/linux/net/can/
H A Draw.c119 static inline struct raw_sock *raw_sk(const struct sock *sk) in raw_sk() function
127 struct raw_sock *ro = raw_sk(sk); in raw_rcv()
251 struct raw_sock *ro = raw_sk(sk); in raw_disable_allfilters()
260 struct raw_sock *ro = raw_sk(sk); in raw_enable_allfilters()
341 struct raw_sock *ro = raw_sk(sk); in raw_init()
381 ro = raw_sk(sk); in raw_release()
429 struct raw_sock *ro = raw_sk(sk); in raw_bind()
516 struct raw_sock *ro = raw_sk(sk); in raw_getname()
532 struct raw_sock *ro = raw_sk(sk); in raw_setsockopt()
721 struct raw_sock *ro = raw_sk(sk); in raw_getsockopt()
[all …]
/openbmc/linux/include/net/
H A Draw.h86 #define raw_sk(ptr) container_of_const(ptr, struct raw_sock, inet.sk) macro
/openbmc/linux/net/ipv4/
H A Draw.c148 __u32 data = raw_sk(sk)->filter.data; in icmp_filter()
786 struct raw_sock *rp = raw_sk(sk); in raw_sk_init()
797 if (copy_from_sockptr(&raw_sk(sk)->filter, optval, optlen)) in raw_seticmpfilter()
815 copy_to_user(optval, &raw_sk(sk)->filter, len)) in raw_geticmpfilter()
H A Dipmr.c1376 mrt = ipmr_get_table(net, raw_sk(sk)->ipmr_table ? : RT_TABLE_DEFAULT); in ip_mroute_setsockopt()
1536 raw_sk(sk)->ipmr_table = uval; in ip_mroute_setsockopt()
1584 mrt = ipmr_get_table(net, raw_sk(sk)->ipmr_table ? : RT_TABLE_DEFAULT); in ip_mroute_getsockopt()
1628 mrt = ipmr_get_table(net, raw_sk(sk)->ipmr_table ? : RT_TABLE_DEFAULT); in ipmr_ioctl()
1696 mrt = ipmr_get_table(net, raw_sk(sk)->ipmr_table ? : RT_TABLE_DEFAULT); in ipmr_compat_ioctl()