Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dip_sockglue.c234 if (flags & IP_CMSG_CHECKSUM) in ip_cmsg_recv_offset()
1025 if (!(inet->cmsg_flags & IP_CMSG_CHECKSUM)) { in do_ip_setsockopt()
1027 inet->cmsg_flags |= IP_CMSG_CHECKSUM; in do_ip_setsockopt()
1030 if (inet->cmsg_flags & IP_CMSG_CHECKSUM) { in do_ip_setsockopt()
1032 inet->cmsg_flags &= ~IP_CMSG_CHECKSUM; in do_ip_setsockopt()
1588 val = (inet->cmsg_flags & IP_CMSG_CHECKSUM) != 0; in do_ip_getsockopt()
/kernel/linux/linux-5.10/include/net/
Dinet_sock.h253 #define IP_CMSG_CHECKSUM BIT(7) macro