[vbox-dev] NetBSD patch 0017: NetBSD declares "don't fragment" as IP_DF

Kamil Rytarowski n54 at gmx.com
Sat Aug 13 15:36:27 GMT 2016


NetBSD declares "don't fragment" as IP_DF

This patch is MIT-licensed.

Author: Kamil Rytarowski
-------------- next part --------------
NetBSD declares "don't fragment" as IP_DF

This patch is MIT-licensed.

Author: Kamil Rytarowski

Index: src/VBox/NetworkServices/NAT/pxping.c
===================================================================
--- src/VBox/NetworkServices/NAT/pxping.c	(wersja 63343)
+++ src/VBox/NetworkServices/NAT/pxping.c	(kopia robocza)
@@ -562,6 +562,8 @@
         df = df ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
 #elif defined(RT_OS_SOLARIS) || defined(RT_OS_FREEBSD)
         USE_DF_OPTION(IP_DONTFRAG);
+#elif defined(RT_OS_NETBSD)
+        USE_DF_OPTION(IP_DF);
 #elif defined(RT_OS_WINDOWS)
         USE_DF_OPTION(IP_DONTFRAGMENT);
 #endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160813/2e6ee207/attachment.sig>


More information about the vbox-dev mailing list