GnuTLS 3, BSD, netinet/ip.h

Phil Pennock help-gnutls-phil at spodhuis.org
Wed May 23 22:45:56 CEST 2012


On 2012-05-23 at 21:03 +0200, Nikos Mavrogiannopoulos wrote:
> It looks like an issue in the system rather than something that's worth
> fixing in gnutls. So it is that the netinet/in.h is unusable on this
> system?

netinet/ip.h != netinet/in.h

netinet/in.h is perfectly usable; ip.h defines struct ip, the IP
options, IPTOS values, struct ip_timestamp, ippseudo and some TTL & MSS
constants.  On a Linux box, mostly the same except that it's "struct
timestamp", no "ip_" prefix.

I wondered why this was needed so just did a build with the include
completely removed.

Everything built just fine.  It appears to be superfluous.

-Phil




More information about the Gnutls-help mailing list