Browse Source

add IP_CHECKSUM socket option to netinet/in.h

new in linux v4.0, commit ad6f939ab193750cc94a265f58e007fb598c97b7
Szabolcs Nagy 10 years ago
parent
commit
1bfeb1dcd0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/netinet/in.h

+ 1 - 0
include/netinet/in.h

@@ -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