浏览代码

netinet/in.h: add IPPROTO_MH

Fix compile of latest iproute2 package.

Reported-By: Baruch Siach <baruch@tkos.co.il>
Waldemar Brodkorb 7 年之前
父节点
当前提交
85c9aaf9e4
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/netinet/in.h

+ 2 - 0
include/netinet/in.h

@@ -84,6 +84,8 @@ enum
 #define IPPROTO_COMP		IPPROTO_COMP
     IPPROTO_SCTP = 132,	   /* Stream Control Transmission Protocol.  */
 #define IPPROTO_SCTP		IPPROTO_SCTP
+    IPPROTO_MH = 135,      /* IPv6 mobility header.  */
+#define IPPROTO_MH		IPPROTO_MH
     IPPROTO_UDPLITE = 136, /* UDP-Lite protocol.  */
 #define IPPROTO_UDPLITE		IPPROTO_UDPLITE
     IPPROTO_RAW = 255,	   /* Raw IP packets.  */