Home
last modified time | relevance | path

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

/linux/net/ipv4/
A 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()
1576 val = (inet->cmsg_flags & IP_CMSG_PKTINFO) != 0; in do_ip_getsockopt()
1708 if (inet->cmsg_flags & IP_CMSG_PKTINFO) { in do_ip_getsockopt()
/linux/include/net/
A Dinet_sock.h245 #define IP_CMSG_PKTINFO BIT(0) macro

Completed in 6 milliseconds