Home
last modified time | relevance | path

Searched refs:hdrincl (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/net/ipv6/
Draw.c321 if (!inet->hdrincl) in rawv6_err()
410 if (inet->hdrincl) { in rawv6_rcv()
748 int hdrincl; in rawv6_sendmsg() local
766 hdrincl = inet->hdrincl; in rawv6_sendmsg()
767 hdrincl = READ_ONCE(hdrincl); in rawv6_sendmsg()
863 if (!hdrincl) { in rawv6_sendmsg()
886 if (hdrincl) in rawv6_sendmsg()
909 if (hdrincl) in rawv6_sendmsg()
999 inet_sk(sk)->hdrincl = !!val; in do_rawv6_setsockopt()
1067 val = inet_sk(sk)->hdrincl; in do_rawv6_getsockopt()
Daf_inet6.c201 inet->hdrincl = 1; in inet6_create()
/linux-5.19.10/net/ipv4/
Draw.c252 if (inet->hdrincl) in raw_err()
485 int hdrincl; in raw_sendmsg() local
495 hdrincl = inet->hdrincl; in raw_sendmsg()
496 hdrincl = READ_ONCE(hdrincl); in raw_sendmsg()
566 if (hdrincl) in raw_sendmsg()
601 hdrincl ? IPPROTO_RAW : sk->sk_protocol, in raw_sendmsg()
603 (hdrincl ? FLOWI_FLAG_KNOWN_NH : 0), in raw_sendmsg()
606 if (!hdrincl) { in raw_sendmsg()
631 if (hdrincl) in raw_sendmsg()
Dinet_diag.c188 inet_sockopt.hdrincl = inet->hdrincl; in inet_diag_msg_attrs_fill()
Dip_sockglue.c1061 inet->hdrincl = val ? 1 : 0; in do_ip_setsockopt()
1614 val = inet->hdrincl; in do_ip_getsockopt()
Daf_inet.c335 inet->hdrincl = 1; in inet_create()
Droute.c524 prot = inet->hdrincl ? IPPROTO_RAW : sk->sk_protocol; in __build_flow_key()
558 inet->hdrincl ? IPPROTO_RAW : sk->sk_protocol, in build_sk_flow_key()
Dip_output.c1345 if (inet->hdrincl) in ip_append_page()
/linux-5.19.10/include/net/
Dinet_sock.h234 hdrincl:1, member
364 if (inet_sk(sk)->transparent || inet_sk(sk)->hdrincl) in inet_sk_flowi_flags()
/linux-5.19.10/include/uapi/linux/
Dinet_diag.h193 hdrincl:1, member