Home
last modified time | relevance | path

Searched refs:IP_CMSG_PKTINFO (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/ipv4/
Dip_sockglue.c178 if (flags & IP_CMSG_PKTINFO) { in ip_cmsg_recv_offset()
181 flags &= ~IP_CMSG_PKTINFO; in ip_cmsg_recv_offset()
630 inet_sk(sk)->cmsg_flags |= IP_CMSG_PKTINFO; in ip_sock_set_pktinfo()
985 inet->cmsg_flags |= IP_CMSG_PKTINFO; in do_ip_setsockopt()
987 inet->cmsg_flags &= ~IP_CMSG_PKTINFO; in do_ip_setsockopt()
1395 bool prepare = (inet_sk(sk)->cmsg_flags & IP_CMSG_PKTINFO) || in ipv4_pktinfo_prepare()
1581 val = (inet->cmsg_flags & IP_CMSG_PKTINFO) != 0; in do_ip_getsockopt()
1717 if (inet->cmsg_flags & IP_CMSG_PKTINFO) { in do_ip_getsockopt()
/linux-6.1.9/include/net/
Dinet_sock.h258 #define IP_CMSG_PKTINFO BIT(0) macro