Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 make net.inet6.udp6.* sysctl name meet with IPv...



details:   https://anonhg.NetBSD.org/src/rev/e1aa45f89bc6
branches:  trunk
changeset: 486444:e1aa45f89bc6
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon May 22 15:22:36 2000 +0000

description:
make net.inet6.udp6.* sysctl name meet with IPv4 counterpart.
XXX do we need to keep symbols mistakingly added (like UDP6CTL_SENDMAX)
for backward compatibility?  I believe not.

diffstat:

 sys/netinet6/udp6_usrreq.c |  4 ++--
 sys/netinet6/udp6_var.h    |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r a1470df6254d -r e1aa45f89bc6 sys/netinet6/udp6_usrreq.c
--- a/sys/netinet6/udp6_usrreq.c        Mon May 22 15:13:05 2000 +0000
+++ b/sys/netinet6/udp6_usrreq.c        Mon May 22 15:22:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: udp6_usrreq.c,v 1.27 2000/04/17 16:26:07 itojun Exp $  */
+/*     $NetBSD: udp6_usrreq.c,v 1.28 2000/05/22 15:22:36 itojun Exp $  */
 /*     $KAME: udp6_usrreq.c,v 1.46 2000/04/17 16:16:32 itojun Exp $    */
 
 /*
@@ -976,7 +976,7 @@
 
        switch (name[0]) {
 
-       case UDP6CTL_SENDMAX:
+       case UDP6CTL_SENDSPACE:
                return sysctl_int(oldp, oldlenp, newp, newlen,
                    &udp6_sendspace);
        case UDP6CTL_RECVSPACE:
diff -r a1470df6254d -r e1aa45f89bc6 sys/netinet6/udp6_var.h
--- a/sys/netinet6/udp6_var.h   Mon May 22 15:13:05 2000 +0000
+++ b/sys/netinet6/udp6_var.h   Mon May 22 15:22:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: udp6_var.h,v 1.7 2000/02/28 12:08:25 itojun Exp $      */
+/*     $NetBSD: udp6_var.h,v 1.8 2000/05/22 15:22:36 itojun Exp $      */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -88,13 +88,13 @@
 /*
  * Names for UDP sysctl objects
  */
-#define UDP6CTL_SENDMAX                1       /* default send buffer */
+#define UDP6CTL_SENDSPACE      1       /* default send buffer */
 #define UDP6CTL_RECVSPACE      2       /* default recv buffer */
 #define UDP6CTL_MAXID          3
 
 #define UDP6CTL_NAMES { \
        { 0, 0 }, \
-       { "sendmax", CTLTYPE_INT }, \
+       { "sendspace", CTLTYPE_INT }, \
        { "recvspace", CTLTYPE_INT }, \
 }
 



Home | Main Index | Thread Index | Old Index