Define MAX_IPOPTLEN

* include/netinet/ip.h (MAX_IPOPTLEN): Define.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2015-11-02 15:42:30 +01:00
parent 90b9303f0b
commit 7321662bb0
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-11-02 Corinna Vinschen <corinna@vinschen.de>
* include/netinet/ip.h (MAX_IPOPTLEN): Define.
2015-11-02 Corinna Vinschen <corinna@vinschen.de>
* sigproc.cc (class pending_signals): Drop sigproc_init friendship.

View File

@ -202,6 +202,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.
*/