Source-Changes-HG archive

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

[src/trunk]: src/sbin/ifconfig IFFBITS and IFCAPBITS are now defined in <net/...



details:   https://anonhg.NetBSD.org/src/rev/1a846070dd92
branches:  trunk
changeset: 579639:1a846070dd92
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 20 02:51:47 2005 +0000

description:
IFFBITS and IFCAPBITS are now defined in <net/if.h>

diffstat:

 sbin/ifconfig/ifconfig.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 667b82632f61 -r 1a846070dd92 sbin/ifconfig/ifconfig.c
--- a/sbin/ifconfig/ifconfig.c  Sun Mar 20 02:51:33 2005 +0000
+++ b/sbin/ifconfig/ifconfig.c  Sun Mar 20 02:51:47 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ifconfig.c,v 1.166 2005/03/20 02:43:50 thorpej Exp $   */
+/*     $NetBSD: ifconfig.c,v 1.167 2005/03/20 02:51:47 thorpej Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
 #if 0
 static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
 #else
-__RCSID("$NetBSD: ifconfig.c,v 1.166 2005/03/20 02:43:50 thorpej Exp $");
+__RCSID("$NetBSD: ifconfig.c,v 1.167 2005/03/20 02:51:47 thorpej Exp $");
 #endif
 #endif /* not lint */
 
@@ -1247,13 +1247,6 @@
 }
 
 
-#define        IFFBITS \
-"\020\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6NOTRAILERS\7RUNNING\10NOARP\
-\11PROMISC\12ALLMULTI\13OACTIVE\14SIMPLEX\15LINK0\16LINK1\17LINK2\20MULTICAST"
-
-#define        IFCAPBITS \
-"\020\1IP4CSUM\2TCP4CSUM\3UDP4CSUM\4TCP6CSUM\5UDP6CSUM\6TCP4CSUM_Rx\7UDP4CSUM_Rx\10TSO4"
-
 const int ifm_status_valid_list[] = IFM_STATUS_VALID_LIST;
 
 const struct ifmedia_status_description ifm_status_descriptions[] =



Home | Main Index | Thread Index | Old Index