Lines Matching refs:inet_sk
76 if (inet_sk(sk)->inet_num == num) { in __raw_v6_lookup()
244 struct inet_sock *inet = inet_sk(sk); in rawv6_bind()
326 struct inet_sock *inet = inet_sk(sk); in rawv6_err()
418 struct inet_sock *inet = inet_sk(sk); in rawv6_rcv()
558 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames()
772 struct inet_sock *inet = inet_sk(sk); in rawv6_sendmsg()
1033 inet_sk(sk)->hdrincl = !!val; in do_rawv6_setsockopt()
1036 if (inet_sk(sk)->inet_num == IPPROTO_ICMPV6 && in do_rawv6_setsockopt()
1075 if (inet_sk(sk)->inet_num != IPPROTO_ICMPV6) in rawv6_setsockopt()
1101 val = inet_sk(sk)->hdrincl; in do_rawv6_getsockopt()
1136 if (inet_sk(sk)->inet_num != IPPROTO_ICMPV6) in rawv6_getsockopt()
1199 if (inet_sk(sk)->inet_num == IPPROTO_RAW) in rawv6_close()
1218 switch (inet_sk(sk)->inet_num) { in rawv6_init_sk()
1267 __u16 srcp = inet_sk(sp)->inet_num; in raw6_seq_show()