浏览代码

tcp.h: add SOL_TCP, analoguous to udp.h

rofl0r 12 年之前
父节点
当前提交
3d3903fa5b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/netinet/tcp.h

+ 2 - 0
include/netinet/tcp.h

@@ -18,6 +18,8 @@
 #define TCP_CONGESTION	 13
 #define TCP_MD5SIG	 14
 
+#define SOL_TCP 6
+
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #include <sys/types.h>
 #include <sys/socket.h>