Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/
Draw.c280 if (inet->hdrincl) in raw_err()
517 int hdrincl; in raw_sendmsg() local
527 hdrincl = inet->hdrincl; in raw_sendmsg()
528 hdrincl = READ_ONCE(hdrincl); in raw_sendmsg()
598 if (hdrincl) in raw_sendmsg()
633 hdrincl ? IPPROTO_RAW : sk->sk_protocol, in raw_sendmsg()
635 (hdrincl ? FLOWI_FLAG_KNOWN_NH : 0), in raw_sendmsg()
638 if (!hdrincl) { in raw_sendmsg()
663 if (hdrincl) in raw_sendmsg()
Dip_sockglue.c768 inet->hdrincl = val ? 1 : 0; in do_ip_setsockopt()
1399 val = inet->hdrincl; in do_ip_getsockopt()
Droute.c529 prot = inet->hdrincl ? IPPROTO_RAW : sk->sk_protocol; in __build_flow_key()
563 inet->hdrincl ? IPPROTO_RAW : sk->sk_protocol, in build_sk_flow_key()
Dip_output.c1215 if (inet->hdrincl) in ip_append_page()
Daf_inet.c337 inet->hdrincl = 1; in inet_create()
/Linux-v4.19/include/net/
Dinet_sock.h204 hdrincl:1, member
335 if (inet_sk(sk)->transparent || inet_sk(sk)->hdrincl) in inet_sk_flowi_flags()
/Linux-v4.19/net/ipv6/
Draw.c353 if (!inet->hdrincl) in rawv6_err()
447 if (inet->hdrincl) { in rawv6_rcv()
908 if (inet->hdrincl) in rawv6_sendmsg()
931 if (inet->hdrincl) in rawv6_sendmsg()
1018 inet_sk(sk)->hdrincl = !!val; in do_rawv6_setsockopt()
1110 val = inet_sk(sk)->hdrincl; in do_rawv6_getsockopt()
Daf_inet6.c199 inet->hdrincl = 1; in inet6_create()