diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-11-02 15:42:30 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-11-02 15:42:30 +0100 |
commit | 7321662bb0db3bb14e9f0214a663cf013330c248 (patch) | |
tree | 1787bdffe3ee24b6f146a2f9b3fc956f9f545b59 | |
parent | 90b9303f0b43de0568606677cda779e781464a00 (diff) | |
download | newlib-7321662bb0db3bb14e9f0214a663cf013330c248.zip newlib-7321662bb0db3bb14e9f0214a663cf013330c248.tar.gz newlib-7321662bb0db3bb14e9f0214a663cf013330c248.tar.bz2 |
Define MAX_IPOPTLEN
* include/netinet/ip.h (MAX_IPOPTLEN): Define.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/netinet/ip.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 179eb24..dfeaf39 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 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. (pending_signals::clear): Fix implementation to avoid subsequent endless loop in wait_sig. Improve comment. diff --git a/winsup/cygwin/include/netinet/ip.h b/winsup/cygwin/include/netinet/ip.h index dd70151..4d35542 100644 --- a/winsup/cygwin/include/netinet/ip.h +++ b/winsup/cygwin/include/netinet/ip.h @@ -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. */ |