瀏覽代碼

add IP_CHECKSUM socket option to netinet/in.h

new in linux v4.0, commit ad6f939ab193750cc94a265f58e007fb598c97b7
Szabolcs Nagy 10 年之前
父節點
當前提交
1bfeb1dcd0
共有 1 個文件被更改,包括 1 次插入0 次删除
  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