Searched refs:IP_CMSG_PKTINFO (Results 1 – 2 of 2) sorted by relevance
178 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()
258 #define IP_CMSG_PKTINFO BIT(0) macro