Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/sys/netinet6 Pull up revision 1.25 (requested by itojun...



details:   https://anonhg.NetBSD.org/src/rev/591feb865fd4
branches:  netbsd-2-0
changeset: 561368:591feb865fd4
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Jun 14 18:00:41 2004 +0000

description:
Pull up revision 1.25 (requested by itojun in ticket #468):
implement IPV6_USE_MIN_MTU sockopt.  needed by bind9 + EDNS0 + big receive buffer.

diffstat:

 sys/netinet6/in6_pcb.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 97e12cf5ce41 -r 591feb865fd4 sys/netinet6/in6_pcb.h
--- a/sys/netinet6/in6_pcb.h    Mon Jun 14 17:58:29 2004 +0000
+++ b/sys/netinet6/in6_pcb.h    Mon Jun 14 18:00:41 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6_pcb.h,v 1.24 2003/09/04 09:17:07 itojun Exp $      */
+/*     $NetBSD: in6_pcb.h,v 1.24.2.1 2004/06/14 18:00:41 tron Exp $    */
 /*     $KAME: in6_pcb.h,v 1.45 2001/02/09 05:59:46 itojun Exp $        */
 
 /*
@@ -131,9 +131,11 @@
 #if 0 /* obsoleted */
 #define IN6P_BINDV6ONLY                0x10000000 /* do not grab IPv4 traffic */
 #endif
+#define IN6P_MINMTU            0x20000000 /* use minimum MTU */
 
 #define IN6P_CONTROLOPTS       (IN6P_PKTINFO|IN6P_HOPLIMIT|IN6P_HOPOPTS|\
-                                IN6P_DSTOPTS|IN6P_RTHDR|IN6P_RTHDRDSTOPTS)
+                                IN6P_DSTOPTS|IN6P_RTHDR|IN6P_RTHDRDSTOPTS|\
+                                IN6P_MINMTU)
 
 /* compute hash value for foreign and local in6_addr and port */
 #define IN6_HASH(faddr, fport, laddr, lport)                   \



Home | Main Index | Thread Index | Old Index