add IP_CHECKSUM socket option to netinet/in.h
authorSzabolcs Nagy <nsz@port70.net>
Tue, 14 Apr 2015 21:56:37 +0000 (21:56 +0000)
committerRich Felker <dalias@aerifal.cx>
Sat, 18 Apr 2015 02:31:27 +0000 (22:31 -0400)
new in linux v4.0, commit ad6f939ab193750cc94a265f58e007fb598c97b7

include/netinet/in.h

index 4b3f2b0b1592463bdd90e411fe5e6f1b7fd9f858..1ed3e6faaccb13d8d53852a48c629b3f59fa7777 100644 (file)
@@ -199,6 +199,7 @@ uint16_t ntohs(uint16_t);
 #define IP_RECVORIGDSTADDR IP_ORIGDSTADDR
 #define IP_MINTTL          21
 #define IP_NODEFRAG        22
+#define IP_CHECKSUM        23
 #define IP_MULTICAST_IF    32
 #define IP_MULTICAST_TTL   33
 #define IP_MULTICAST_LOOP  34