Searched refs:hdrincl (Results 1 – 9 of 9) sorted by relevance
276 if (inet->hdrincl) in raw_err()513 int hdrincl; in raw_sendmsg() local523 hdrincl = inet->hdrincl; in raw_sendmsg()524 hdrincl = READ_ONCE(hdrincl); in raw_sendmsg()563 if (hdrincl) in raw_sendmsg()597 if (hdrincl) in raw_sendmsg()632 hdrincl ? ipc.protocol : sk->sk_protocol, in raw_sendmsg()634 (hdrincl ? FLOWI_FLAG_KNOWN_NH : 0), in raw_sendmsg()637 if (!hdrincl) { in raw_sendmsg()662 if (hdrincl) in raw_sendmsg()
188 inet_sockopt.hdrincl = inet->hdrincl; in inet_diag_msg_attrs_fill()
1066 inet->hdrincl = val ? 1 : 0; in do_ip_setsockopt()1612 val = inet->hdrincl; in do_ip_getsockopt()
1354 if (inet->hdrincl) in ip_append_page()1574 if (sk->sk_type == SOCK_RAW && !inet_sk(sk)->hdrincl) in __ip_make_skb()
341 inet->hdrincl = 1; in inet_create()
553 prot = inet->hdrincl ? IPPROTO_RAW : sk->sk_protocol; in __build_flow_key()587 inet->hdrincl ? IPPROTO_RAW : sk->sk_protocol, in build_sk_flow_key()
350 if (!inet->hdrincl) in rawv6_err()444 if (inet->hdrincl) { in rawv6_rcv()786 int hdrincl; in rawv6_sendmsg() local804 hdrincl = inet->hdrincl; in rawv6_sendmsg()805 hdrincl = READ_ONCE(hdrincl); in rawv6_sendmsg()902 if (!hdrincl) { in rawv6_sendmsg()925 if (hdrincl) in rawv6_sendmsg()948 if (hdrincl) in rawv6_sendmsg()1038 inet_sk(sk)->hdrincl = !!val; in do_rawv6_setsockopt()1106 val = inet_sk(sk)->hdrincl; in do_rawv6_getsockopt()
209 inet->hdrincl = 1; in inet6_create()
1936 if (sk->sk_socket->type == SOCK_RAW && !inet_sk(sk)->hdrincl) in __ip6_make_skb()