add IPPROTO_MAX to in.h
authorRich Felker <dalias@aerifal.cx>
Sat, 8 Sep 2012 23:43:34 +0000 (19:43 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 8 Sep 2012 23:43:34 +0000 (19:43 -0400)
include/netinet/in.h

index 509640b84838a49b84612b49cddd68533a691a71..62cbfa8d322d4766b51019094dee63de2ff7641a 100644 (file)
@@ -95,6 +95,7 @@ uint16_t ntohs(uint16_t);
 #define IPPROTO_PIM      103
 #define IPPROTO_COMP     108
 #define IPPROTO_RAW      255
+#define IPPROTO_MAX      256
 
 #define IN6_IS_ADDR_UNSPECIFIED(a) \
         (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && \