Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/
Dip_sockglue.c217 if (flags & IP_CMSG_CHECKSUM) in ip_cmsg_recv_offset()
704 if (!(inet->cmsg_flags & IP_CMSG_CHECKSUM)) { in do_ip_setsockopt()
706 inet->cmsg_flags |= IP_CMSG_CHECKSUM; in do_ip_setsockopt()
709 if (inet->cmsg_flags & IP_CMSG_CHECKSUM) { in do_ip_setsockopt()
711 inet->cmsg_flags &= ~IP_CMSG_CHECKSUM; in do_ip_setsockopt()
1339 val = (inet->cmsg_flags & IP_CMSG_CHECKSUM) != 0; in do_ip_getsockopt()
/linux-4.4.14/include/net/
Dinet_sock.h211 #define IP_CMSG_CHECKSUM BIT(7) macro