Explorar el Código

add IPPROTO_MAX to in.h

Rich Felker hace 12 años
padre
commit
f59cedb549
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      include/netinet/in.h

+ 1 - 0
include/netinet/in.h

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