about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/netinet/ip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inet/netinet/ip.h b/inet/netinet/ip.h
index 65338852ae..191ac8e9c8 100644
--- a/inet/netinet/ip.h
+++ b/inet/netinet/ip.h
@@ -122,6 +122,8 @@ struct ip {
 #define	IPOPT_OFFSET		2		/* offset within option */
 #define	IPOPT_MINOFF		4		/* min value of above */
 
+#define	MAX_IPOPTLEN		40
+
 /*
  * Time stamp option structure.
  */