Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dip_sockglue.c234 if (flags & IP_CMSG_CHECKSUM) in ip_cmsg_recv_offset()
1027 if (!(inet->cmsg_flags & IP_CMSG_CHECKSUM)) { in do_ip_setsockopt()
1029 inet->cmsg_flags |= IP_CMSG_CHECKSUM; in do_ip_setsockopt()
1032 if (inet->cmsg_flags & IP_CMSG_CHECKSUM) { in do_ip_setsockopt()
1034 inet->cmsg_flags &= ~IP_CMSG_CHECKSUM; in do_ip_setsockopt()
1602 val = (inet->cmsg_flags & IP_CMSG_CHECKSUM) != 0; in do_ip_getsockopt()
/linux-6.1.9/include/net/
Dinet_sock.h265 #define IP_CMSG_CHECKSUM BIT(7) macro