Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Dip_sockglue.c161 if (flags & IP_CMSG_PKTINFO) { in ip_cmsg_recv_offset()
164 flags &= ~IP_CMSG_PKTINFO; in ip_cmsg_recv_offset()
661 inet->cmsg_flags |= IP_CMSG_PKTINFO; in do_ip_setsockopt()
663 inet->cmsg_flags &= ~IP_CMSG_PKTINFO; in do_ip_setsockopt()
1179 bool prepare = (inet_sk(sk)->cmsg_flags & IP_CMSG_PKTINFO) || in ipv4_pktinfo_prepare()
1301 val = (inet->cmsg_flags & IP_CMSG_PKTINFO) != 0; in do_ip_getsockopt()
1434 if (inet->cmsg_flags & IP_CMSG_PKTINFO) { in do_ip_getsockopt()
/linux-4.1.27/include/net/
Dinet_sock.h203 #define IP_CMSG_PKTINFO BIT(0) macro