Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv6/
Draw.c321 if (!inet->hdrincl) in rawv6_err()
410 if (inet->hdrincl) { in rawv6_rcv()
752 int hdrincl; in rawv6_sendmsg() local
770 hdrincl = inet->hdrincl; in rawv6_sendmsg()
771 hdrincl = READ_ONCE(hdrincl); in rawv6_sendmsg()
867 if (!hdrincl) { in rawv6_sendmsg()
890 if (hdrincl) in rawv6_sendmsg()
913 if (hdrincl) in rawv6_sendmsg()
1003 inet_sk(sk)->hdrincl = !!val; in do_rawv6_setsockopt()
1071 val = inet_sk(sk)->hdrincl; in do_rawv6_getsockopt()
Daf_inet6.c207 inet->hdrincl = 1; in inet6_create()
/linux-6.1.9/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()
1619 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.c1362 if (inet->hdrincl) in ip_append_page()
/linux-6.1.9/include/net/
Dinet_sock.h234 hdrincl:1, member
364 if (inet_sk(sk)->transparent || inet_sk(sk)->hdrincl) in inet_sk_flowi_flags()
/linux-6.1.9/include/uapi/linux/
Dinet_diag.h193 hdrincl:1, member