This commit is contained in:
roy 2018-08-20 10:55:59 +00:00
parent 3e0aeb312b
commit 0ef7c20cc1
1 changed files with 5 additions and 0 deletions

View File

@ -86,6 +86,11 @@
#define IPDEFTTL 64 /* RFC1340 */
#endif
/* NetBSD-7 has an incomplete IP_PKTINFO implementation. */
#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 800000000
#undef IP_PKTINFO
#endif
/* Assert the correct structure size for on wire */
__CTASSERT(sizeof(struct ip) == 20);
__CTASSERT(sizeof(struct udphdr) == 8);