head	1.45;
access;
symbols
	RELENG_8_4:1.45.0.2
	RELENG_9_1_0_RELEASE:1.42.2.1.4.2
	RELENG_9_1:1.42.2.1.0.4
	RELENG_9_1_BP:1.42.2.1
	RELENG_8_3_0_RELEASE:1.37.2.3.2.1
	RELENG_8_3:1.37.2.3.0.2
	RELENG_8_3_BP:1.37.2.3
	RELENG_9_0_0_RELEASE:1.42.2.1.2.1
	RELENG_9_0:1.42.2.1.0.2
	RELENG_9_0_BP:1.42.2.1
	RELENG_9:1.42.0.2
	RELENG_9_BP:1.42
	RELENG_7_4_0_RELEASE:1.33.2.2.4.1
	RELENG_8_2_0_RELEASE:1.37.2.2.4.1
	RELENG_7_4:1.33.2.2.0.4
	RELENG_7_4_BP:1.33.2.2
	RELENG_8_2:1.37.2.2.0.4
	RELENG_8_2_BP:1.37.2.2
	RELENG_8_1_0_RELEASE:1.37.2.2.2.1
	RELENG_8_1:1.37.2.2.0.2
	RELENG_8_1_BP:1.37.2.2
	RELENG_7_3_0_RELEASE:1.33.2.2.2.1
	RELENG_7_3:1.33.2.2.0.2
	RELENG_7_3_BP:1.33.2.2
	RELENG_8_0_0_RELEASE:1.37.2.1.2.1
	RELENG_8_0:1.37.2.1.0.2
	RELENG_8_0_BP:1.37.2.1
	RELENG_8:1.37.0.2
	RELENG_8_BP:1.37
	RELENG_7_2_0_RELEASE:1.33.2.1.4.1
	RELENG_7_2:1.33.2.1.0.4
	RELENG_7_2_BP:1.33.2.1
	RELENG_7_1_0_RELEASE:1.33.2.1.2.1
	RELENG_6_4_0_RELEASE:1.29.2.1.4.1
	RELENG_7_1:1.33.2.1.0.2
	RELENG_7_1_BP:1.33.2.1
	RELENG_6_4:1.29.2.1.0.4
	RELENG_6_4_BP:1.29.2.1
	RELENG_7_0_0_RELEASE:1.33
	RELENG_6_3_0_RELEASE:1.29.2.1
	RELENG_7_0:1.33.0.4
	RELENG_7_0_BP:1.33
	RELENG_6_3:1.29.2.1.0.2
	RELENG_6_3_BP:1.29.2.1
	RELENG_7:1.33.0.2
	RELENG_7_BP:1.33
	RELENG_6_2_0_RELEASE:1.29
	RELENG_6_2:1.29.0.8
	RELENG_6_2_BP:1.29
	RELENG_5_5_0_RELEASE:1.25.2.3
	RELENG_5_5:1.25.2.3.0.2
	RELENG_5_5_BP:1.25.2.3
	RELENG_6_1_0_RELEASE:1.29
	RELENG_6_1:1.29.0.6
	RELENG_6_1_BP:1.29
	RELENG_6_0_0_RELEASE:1.29
	RELENG_6_0:1.29.0.4
	RELENG_6_0_BP:1.29
	RELENG_6:1.29.0.2
	RELENG_6_BP:1.29
	RELENG_5_4_0_RELEASE:1.25.2.1
	RELENG_5_4:1.25.2.1.0.2
	RELENG_5_4_BP:1.25.2.1
	RELENG_4_11_0_RELEASE:1.14.2.7
	RELENG_4_11:1.14.2.7.0.12
	RELENG_4_11_BP:1.14.2.7
	RELENG_5_3_0_RELEASE:1.25
	RELENG_5_3:1.25.0.4
	RELENG_5_3_BP:1.25
	RELENG_5:1.25.0.2
	RELENG_5_BP:1.25
	RELENG_4_10_0_RELEASE:1.14.2.7
	RELENG_4_10:1.14.2.7.0.10
	RELENG_4_10_BP:1.14.2.7
	RELENG_5_2_1_RELEASE:1.24
	RELENG_5_2_0_RELEASE:1.24
	RELENG_5_2:1.24.0.6
	RELENG_5_2_BP:1.24
	RELENG_4_9_0_RELEASE:1.14.2.7
	RELENG_4_9:1.14.2.7.0.8
	RELENG_4_9_BP:1.14.2.7
	RELENG_5_1_0_RELEASE:1.24
	RELENG_5_1:1.24.0.4
	RELENG_5_1_BP:1.24
	RELENG_4_8_0_RELEASE:1.14.2.7
	RELENG_4_8:1.14.2.7.0.6
	RELENG_4_8_BP:1.14.2.7
	RELENG_5_0_0_RELEASE:1.24
	RELENG_5_0:1.24.0.2
	RELENG_5_0_BP:1.24
	RELENG_4_7_0_RELEASE:1.14.2.7
	RELENG_4_7:1.14.2.7.0.4
	RELENG_4_7_BP:1.14.2.7
	RELENG_4_6_2_RELEASE:1.14.2.7
	RELENG_4_6_1_RELEASE:1.14.2.7
	RELENG_4_6_0_RELEASE:1.14.2.7
	RELENG_4_6:1.14.2.7.0.2
	RELENG_4_6_BP:1.14.2.7
	RELENG_4_5_0_RELEASE:1.14.2.6
	RELENG_4_5:1.14.2.6.0.2
	RELENG_4_5_BP:1.14.2.6
	RELENG_4_4_0_RELEASE:1.14.2.5
	RELENG_4_4:1.14.2.5.0.2
	RELENG_4_4_BP:1.14.2.5
	RELENG_4_3_0_RELEASE:1.14.2.2
	RELENG_4_3:1.14.2.2.0.2
	RELENG_4_3_BP:1.14.2.2
	RELENG_4_2_0_RELEASE:1.14
	RELENG_4_1_1_RELEASE:1.14
	PRE_SMPNG:1.14
	RELENG_4_1_0_RELEASE:1.14
	RELENG_3_5_0_RELEASE:1.10.2.2
	RELENG_4_0_0_RELEASE:1.14
	RELENG_4:1.14.0.2
	RELENG_4_BP:1.14
	RELENG_3_4_0_RELEASE:1.10.2.2
	RELENG_3_3_0_RELEASE:1.10.2.1
	RELENG_3_2_PAO:1.10.0.4
	RELENG_3_2_PAO_BP:1.10
	RELENG_3_2_0_RELEASE:1.10
	RELENG_3_1_0_RELEASE:1.10
	RELENG_3:1.10.0.2
	RELENG_3_BP:1.10
	RELENG_2_2_8_RELEASE:1.6.2.1
	RELENG_3_0_0_RELEASE:1.10
	RELENG_2_2_7_RELEASE:1.6.2.1
	RELENG_2_2_6_RELEASE:1.6.2.1
	RELENG_2_2_5_RELEASE:1.6.2.1
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.6
	RELENG_2_2_1_RELEASE:1.6
	RELENG_2_2_0_RELEASE:1.6
	RELENG_2_1_7_RELEASE:1.3
	RELENG_2_1_6_1_RELEASE:1.3
	RELENG_2_1_6_RELEASE:1.3
	RELENG_2_2:1.6.0.2
	RELENG_2_2_BP:1.6
	RELENG_2_1_5_RELEASE:1.3
	RELENG_2_1_0_RELEASE:1.3
	RELENG_2_1_0:1.3.0.4
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.2
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.3
	RELEASE_2_0:1.2
	BETA_2_0:1.2
	ALPHA_2_0:1.2.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.45
date	2012.11.17.01.50.22;	author svnexp;	state Exp;
branches
	1.45.2.1;
next	1.44;

1.44
date	2012.02.14.07.14.42;	author rmh;	state Exp;
branches;
next	1.43;

1.43
date	2011.12.16.14.30.58;	author glebius;	state Exp;
branches;
next	1.42;

1.42
date	2011.07.03.12.22.02;	author bz;	state Exp;
branches
	1.42.2.1;
next	1.41;

1.41
date	2011.05.31.14.40.21;	author bz;	state Exp;
branches;
next	1.40;

1.40
date	2010.02.25.20.24.19;	author ru;	state Exp;
branches;
next	1.39;

1.39
date	2010.01.17.21.56.27;	author ed;	state Exp;
branches;
next	1.38;

1.38
date	2009.09.12.22.08.20;	author hrs;	state Exp;
branches;
next	1.37;

1.37
date	2009.06.24.18.21.37;	author jamie;	state Exp;
branches
	1.37.2.1;
next	1.36;

1.36
date	2009.06.07.23.00.40;	author hrs;	state Exp;
branches;
next	1.35;

1.35
date	2008.08.03.03.36.12;	author thompsa;	state Exp;
branches;
next	1.34;

1.34
date	2008.04.20.20.35.46;	author sam;	state Exp;
branches;
next	1.33;

1.33
date	2007.04.17.00.35.09;	author thompsa;	state Exp;
branches
	1.33.2.1;
next	1.32;

1.32
date	2007.04.10.00.35.31;	author thompsa;	state Exp;
branches;
next	1.31;

1.31
date	2006.06.19.22.20.44;	author mlaier;	state Exp;
branches;
next	1.30;

1.30
date	2006.03.20.14.24.57;	author ru;	state Exp;
branches;
next	1.29;

1.29
date	2005.06.05.03.32.51;	author thompsa;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2005.03.25.22.08.59;	author brooks;	state Exp;
branches;
next	1.27;

1.27
date	2005.02.22.13.04.02;	author glebius;	state Exp;
branches;
next	1.26;

1.26
date	2004.12.08.19.18.07;	author sam;	state Exp;
branches;
next	1.25;

1.25
date	2004.02.23.20.13.52;	author johan;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2002.10.23.03.40.11;	author rwatson;	state Exp;
branches;
next	1.23;

1.23
date	2002.02.15.03.57.06;	author luigi;	state Exp;
branches;
next	1.22;

1.22
date	2001.12.05.02.29.23;	author mike;	state Exp;
branches;
next	1.21;

1.21
date	2001.12.04.02.19.47;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	2001.09.05.20.10.58;	author dd;	state Exp;
branches;
next	1.19;

1.19
date	2001.07.21.00.35.11;	author obrien;	state Exp;
branches;
next	1.18;

1.18
date	2001.05.26.09.26.01;	author phk;	state Exp;
branches;
next	1.17;

1.17
date	2001.03.26.14.33.04;	author ru;	state Exp;
branches;
next	1.16;

1.16
date	2001.03.20.18.13.12;	author ru;	state Exp;
branches;
next	1.15;

1.15
date	2000.11.30.21.35.09;	author luigi;	state Exp;
branches;
next	1.14;

1.14
date	99.12.15.05.13.20;	author shin;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	99.12.07.17.38.51;	author shin;	state Exp;
branches;
next	1.12;

1.12
date	99.08.28.00.13.07;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	99.03.15.01.22.00;	author wpaul;	state Exp;
branches;
next	1.10;

1.10
date	97.05.04.06.27.45;	author peter;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	97.02.22.14.32.32;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	97.01.14.06.24.27;	author jkh;	state Exp;
branches;
next	1.7;

1.7
date	96.11.21.19.36.07;	author wollman;	state Exp;
branches;
next	1.6;

1.6
date	96.10.16.19.37.58;	author jkh;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	96.09.05.17.14.46;	author bde;	state Exp;
branches;
next	1.4;

1.4
date	95.10.27.10.48.16;	author julian;	state Exp;
branches;
next	1.3;

1.3
date	94.12.30.22.42.40;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	94.08.05.02.42.00;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.26.06.34.17;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.45.2.1
date	2012.11.17.01.50.22;	author svnexp;	state dead;
branches;
next	1.45.2.2;

1.45.2.2
date	2013.03.28.13.03.33;	author svnexp;	state Exp;
branches;
next	;

1.42.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.42.2.1.2.1
	1.42.2.1.4.1;
next	1.42.2.2;

1.42.2.2
date	2012.11.17.11.36.32;	author svnexp;	state Exp;
branches;
next	;

1.42.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.42.2.1.2.2;

1.42.2.1.2.2
date	2012.11.17.08.36.31;	author svnexp;	state Exp;
branches;
next	;

1.42.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.42.2.1.4.2;

1.42.2.1.4.2
date	2012.11.17.08.47.21;	author svnexp;	state Exp;
branches;
next	;

1.37.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.37.2.1.2.1;
next	1.37.2.2;

1.37.2.2
date	2009.12.07.06.05.36;	author hrs;	state Exp;
branches
	1.37.2.2.2.1
	1.37.2.2.4.1;
next	1.37.2.3;

1.37.2.3
date	2012.02.10.06.42.00;	author bz;	state Exp;
branches
	1.37.2.3.2.1;
next	1.37.2.4;

1.37.2.4
date	2012.11.17.10.36.16;	author svnexp;	state Exp;
branches;
next	;

1.37.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.37.2.2.2.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.37.2.2.4.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.37.2.3.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.37.2.3.2.2;

1.37.2.3.2.2
date	2012.11.17.08.24.56;	author svnexp;	state Exp;
branches;
next	;

1.33.2.1
date	2008.08.22.03.55.37;	author thompsa;	state Exp;
branches
	1.33.2.1.2.1
	1.33.2.1.4.1;
next	1.33.2.2;

1.33.2.2
date	2009.09.07.10.15.50;	author ume;	state Exp;
branches
	1.33.2.2.2.1
	1.33.2.2.4.1;
next	1.33.2.3;

1.33.2.3
date	2012.02.10.06.43.16;	author bz;	state Exp;
branches;
next	1.33.2.4;

1.33.2.4
date	2012.11.17.08.03.36;	author svnexp;	state Exp;
branches;
next	;

1.33.2.1.2.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.33.2.1.4.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.33.2.2.2.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.33.2.2.4.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.33.2.2.4.2;

1.33.2.2.4.2
date	2012.11.17.08.16.54;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1
date	2007.05.17.01.50.45;	author thompsa;	state Exp;
branches
	1.29.2.1.4.1;
next	1.29.2.2;

1.29.2.2
date	2012.11.17.07.41.18;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1.4.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.25.2.1
date	2005.03.21.16.05.33;	author glebius;	state Exp;
branches;
next	1.25.2.2;

1.25.2.2
date	2005.08.21.00.43.28;	author brooks;	state Exp;
branches;
next	1.25.2.3;

1.25.2.3
date	2005.10.03.21.55.14;	author thompsa;	state Exp;
branches;
next	;

1.14.2.1
date	2000.12.06.20.03.02;	author luigi;	state Exp;
branches;
next	1.14.2.2;

1.14.2.2
date	2001.04.17.15.21.02;	author luigi;	state Exp;
branches;
next	1.14.2.3;

1.14.2.3
date	2001.04.25.10.58.23;	author ru;	state Exp;
branches;
next	1.14.2.4;

1.14.2.4
date	2001.07.04.00.12.17;	author brooks;	state Exp;
branches;
next	1.14.2.5;

1.14.2.5
date	2001.07.21.17.47.39;	author obrien;	state Exp;
branches;
next	1.14.2.6;

1.14.2.6
date	2001.12.19.04.49.11;	author dd;	state Exp;
branches;
next	1.14.2.7;

1.14.2.7
date	2002.02.15.03.58.37;	author luigi;	state Exp;
branches;
next	1.14.2.8;

1.14.2.8
date	2012.11.17.07.24.30;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	99.08.29.15.13.39;	author peter;	state Exp;
branches;
next	1.10.2.2;

1.10.2.2
date	99.12.13.02.02.19;	author jkh;	state Exp;
branches;
next	;

1.6.2.1
date	97.06.30.11.01.57;	author peter;	state Exp;
branches;
next	1.6.2.2;

1.6.2.2
date	99.09.05.11.24.00;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.26.06.34.18;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.45
log
@Switching exporter and resync
@
text
@#	From: @@(#)Makefile	8.1 (Berkeley) 6/5/93
# $FreeBSD: head/sbin/ifconfig/Makefile 231642 2012-02-14 07:14:42Z rmh $

.include <bsd.own.mk>

PROG=	ifconfig

SRCS=	ifconfig.c		# base support

#
# NB: The order here defines the order in which the constructors
#     are called.  This in turn defines the default order in which
#     status is displayed.  Probably should add a priority mechanism
#     to the registration process so we don't depend on this aspect
#     of the toolchain.
#
SRCS+=	af_link.c		# LLC support
.if ${MK_INET_SUPPORT} != "no"
SRCS+=	af_inet.c		# IPv4 support
.endif
.if ${MK_INET6_SUPPORT} != "no"
SRCS+=	af_inet6.c		# IPv6 support
.endif
SRCS+=	af_atalk.c		# AppleTalk support
.if ${MK_INET6_SUPPORT} != "no"
SRCS+=	af_nd6.c		# ND6 support
.endif

SRCS+=	ifclone.c		# clone device support
SRCS+=	ifmac.c			# MAC support
SRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
SRCS+=	iffib.c			# non-default FIB support
SRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
SRCS+=	ifgre.c			# GRE keys etc
SRCS+=	ifgif.c			# GIF reversed header workaround

SRCS+=	ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support
DPADD+=	${LIBBSDXML} ${LIBSBUF}
LDADD+=	-lbsdxml -lsbuf

SRCS+=	carp.c			# SIOC[GS]VH support
SRCS+=	ifgroup.c		# ...
SRCS+=	ifpfsync.c		# pfsync(4) support

SRCS+=	ifbridge.c		# bridge support
SRCS+=	iflagg.c		# lagg support

.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif
.if ${MK_INET_SUPPORT} != "no"
CFLAGS+= -DINET
.endif
.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
SRCS+=	af_ipx.c		# IPX support
DPADD+=	${LIBIPX}
LDADD+=	-lipx
.endif
.if ${MK_JAIL} != "no" && !defined(RELEASE_CRUNCH) && !defined(RESCUE)
CFLAGS+= -DJAIL
DPADD+= ${LIBJAIL}
LDADD+= -ljail
.endif

MAN=	ifconfig.8

CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
WARNS?=	2

.include <bsd.prog.mk>
@


1.45.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:33 +0000
@
text
@d1 70
@


1.45.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 53
#	From: @@(#)Makefile	8.1 (Berkeley) 6/5/93
# $FreeBSD: releng/8.4/sbin/ifconfig/Makefile 231346 2012-02-10 06:42:00Z bz $

.include <bsd.own.mk>

PROG=	ifconfig

SRCS=	ifconfig.c		# base support

#
# NB: The order here defines the order in which the constructors
#     are called.  This in turn defines the default order in which
#     status is displayed.  Probably should add a priority mechanism
#     to the registration process so we don't depend on this aspect
#     of the toolchain.
#
SRCS+=	af_link.c		# LLC support
SRCS+=	af_inet.c		# IPv4 support
SRCS+=	af_inet6.c		# IPv6 support
SRCS+=	af_atalk.c		# AppleTalk support
SRCS+=	af_nd6.c		# ND6 support

SRCS+=	ifclone.c		# clone device support
SRCS+=	ifmac.c			# MAC support
SRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
SRCS+=	iffib.c			# non-default FIB support
SRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
SRCS+=	ifgre.c			# GRE keys etc
SRCS+=	ifgif.c			# GIF reversed header workaround

SRCS+=	ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support
DPADD+=	${LIBBSDXML} ${LIBSBUF} ${LIBJAIL}
LDADD+=	-lbsdxml -ljail -lsbuf

SRCS+=	ifcarp.c		# SIOC[GS]VH support
SRCS+=	ifgroup.c		# ...
SRCS+=	ifpfsync.c		# pfsync(4) support

SRCS+=	ifbridge.c		# bridge support
SRCS+=	iflagg.c		# lagg support

.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
SRCS+=	af_ipx.c		# IPX support
DPADD+=	${LIBIPX}
LDADD+=	-lipx
.endif

MAN=	ifconfig.8

CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
WARNS?=	0

.include <bsd.prog.mk>
@


1.44
log
@SVN rev 231642 on 2012-02-14 07:14:42Z by rmh

Disable jail support in ifconfig when either building a rescue
image or MK_JAIL knob has been set to "no".

Reviewed by:	bz
Approved by:	adrian (mentor)
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.43
log
@SVN rev 228577 on 2011-12-16 14:30:58Z by glebius

Rename ifcarp.c to carp.c
@
text
@d38 2
a39 2
DPADD+=	${LIBBSDXML} ${LIBJAIL} ${LIBSBUF}
LDADD+=	-lbsdxml -ljail -lsbuf
d59 5
@


1.42
log
@SVN rev 223735 on 2011-07-03 12:22:02Z by bz

Add infrastructure to allow all frames/packets received on an interface
to be assigned to a non-default FIB instance.

You may need to recompile world or ports due to the change of struct ifnet.

Submitted by:	cjsp
Submitted by:	Alexander V. Chernikov (melifaro ipfw.ru)
		(original versions)
Reviewed by:	julian
Reviewed by:	Alexander V. Chernikov (melifaro ipfw.ru)
MFC after:	2 weeks
X-MFC:		use spare in struct ifnet
@
text
@d41 1
a41 1
SRCS+=	ifcarp.c		# SIOC[GS]VH support
@


1.42.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.42.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/sbin/ifconfig/Makefile 223735 2011-07-03 12:22:02Z bz $
@


1.42.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.42.2.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/sbin/ifconfig/Makefile 223735 2011-07-03 12:22:02Z bz $
@


1.42.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.42.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/sbin/ifconfig/Makefile 223735 2011-07-03 12:22:02Z bz $
@


1.41
log
@SVN rev 222527 on 2011-05-31 14:40:21Z by bz

Conditionally compile in the af_inet and af_inet6, af_nd6 modules.
If compiled in for dual-stack use, test with feature_present(3)
to see if we should register the IPv4/IPv6 address family related
options.

In case there is no "inet" support we would love to go with the
usage() and make the address family mandatory (as it is for anything
but inet in theory).  Unfortunately people are used to
  ifconfig IF up/down
etc. as well, so use a fallback of "link".  Adjust the man page
to reflect these minor details.

Improve error handling printing a warning in addition to the usage
telling that we do not know the given address family in two places.

Reviewed by:	hrs, rwatson
Sponsored by:	The FreeBSD Foundation
Sponsored by:	iXsystems
MFC after:	2 weeks
@
text
@d32 1
@


1.40
log
@SVN rev 204329 on 2010-02-25 20:24:19Z by ru

Fixed dependencies (make checkdpadd).
@
text
@d18 1
d20 2
d23 1
d25 1
d27 1
d47 6
@


1.39
log
@SVN rev 202532 on 2010-01-17 21:56:27Z by ed

Raise WARNS for various tools where possible.

Submitted by:	Marius Nünnerich <marius@@nuenneri.ch>
@
text
@d31 1
a31 1
DPADD+=	${LIBBSDXML} ${LIBSBUF} ${LIBJAIL}
@


1.38
log
@SVN rev 197138 on 2009-09-12 22:08:20Z by hrs

Improve flexibility of receiving Router Advertisement and
automatic link-local address configuration:

- Convert a sysctl net.inet6.ip6.accept_rtadv to one for the
  default value of a per-IF flag ND6_IFF_ACCEPT_RTADV, not a
  global knob.  The default value of the sysctl is 0.

- Add a new per-IF flag ND6_IFF_AUTO_LINKLOCAL and convert a
  sysctl net.inet6.ip6.auto_linklocal to one for its default
  value.  The default value of the sysctl is 1.

- Make ND6_IFF_IFDISABLED more robust.  It can be used to disable
  IPv6 functionality of an interface now.

- Receiving RA is allowed if ip6_forwarding==0 *and*
  ND6_IFF_ACCEPT_RTADV is set on that interface.  The former
  condition will be revisited later to support a "host + router" box
  like IPv6 CPE router.  The current behavior is compatible with
  the older releases of FreeBSD.

- The ifconfig(8) now supports these ND6 flags as well as "nud",
  "prefer_source", and "disabled" in ndp(8).  The ndp(8) now
  supports "auto_linklocal".

Discussed with:	bz and jinmei
Reviewed by:	bz
MFC after:	3 days
@
text
@d50 1
a50 1
WARNS?=	0
@


1.37
log
@SVN rev 194871 on 2009-06-24 18:21:37Z by jamie

Add the "vnet" and "-vnet" options, to allow moving interfaces between
jails with VIMAGE.

Approved by:	bz (mentor)
@
text
@d21 1
@


1.37.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.37.2.2
log
@SVN rev 200204 on 2009-12-07 06:05:36Z by hrs

MFC:

r197138:
- The ifconfig(8) command now supports NDP flags which are handled by ndp(8).

r198006:
- Use printb() to display the "nd6 options=" line.
@
text
@a20 1
SRCS+=	af_nd6.c		# ND6 support
@


1.37.2.3
log
@SVN rev 231346 on 2012-02-10 06:42:00Z by bz

MFC r223735:

 Add infrastructure to allow all frames/packets received on an interface
 to be assigned to a non-default FIB instance.

 Submitted by:	cjsp
 Submitted by:	Alexander V. Chernikov (melifaro ipfw.ru)
 		(original versions)
 Reviewed by:	julian
 Reviewed by:	Alexander V. Chernikov (melifaro ipfw.ru)

Reviewed by:	melifaro
@
text
@a25 1
SRCS+=	iffib.c			# non-default FIB support
@


1.37.2.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/8/sbin/ifconfig/Makefile 231346 2012-02-10 06:42:00Z bz $
@


1.37.2.3.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.37.2.3.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/sbin/ifconfig/Makefile 231346 2012-02-10 06:42:00Z bz $
@


1.37.2.2.4.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.37.2.2.2.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.37.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.36
log
@SVN rev 193664 on 2009-06-07 23:00:40Z by hrs

Fix and add a workaround on an issue of EtherIP packet with reversed
version field sent via gif(4)+if_bridge(4).  The EtherIP
implementation found on FreeBSD 6.1, 6.2, 6.3, 7.0, 7.1, and 7.2 had
an interoperability issue because it sent the incorrect EtherIP
packets and discarded the correct ones.

This change introduces the following two flags to gif(4):

 accept_rev_ethip_ver: accepts both correct EtherIP packets and ones
    with reversed version field, if enabled.  If disabled, the gif
    accepts the correct packets only.  This flag is enabled by
    default.

 send_rev_ethip_ver: sends EtherIP packets with reversed version field
    intentionally, if enabled.  If disabled, the gif sends the correct
    packets only.  This flag is disabled by default.

These flags are stored in struct gif_softc and can be set by
ifconfig(8) on per-interface basis.

Note that this is an incompatible change of EtherIP with the older
FreeBSD releases.  If you need to interoperate older FreeBSD boxes and
new versions after this commit, setting "send_rev_ethip_ver" is
needed.

Reviewed by:	thompsa and rwatson
Spotted by:	Shunsuke SHINOMIYA
PR:		kern/125003
MFC after:	2 weeks
@
text
@d30 2
a31 2
DPADD+=	${LIBBSDXML} ${LIBSBUF}
LDADD+=	-lbsdxml -lsbuf
@


1.35
log
@SVN rev 181224 on 2008-08-03 03:36:12Z by thompsa

Move the grekey to its own file, ifconfig.c does not have interface specific
code.

Submitted by:	sam
@
text
@d27 1
@


1.34
log
@Multi-bss (aka vap) support for 802.11 devices.

Note this includes changes to all drivers and moves some device firmware
loading to use firmware(9) and a separate module (e.g. ral).  Also there
no longer are separate wlan_scan* modules; this functionality is now
bundled into the wlan module.

Supported by:	Hobnob and Marvell
Reviewed by:	many
Obtained from:	Atheros (some bits)
@
text
@d26 1
@


1.33
log
@Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking.

The name trunk is misused as the networking term trunk means carrying multiple
VLANs over a single connection. The IEEE standard for link aggregation (802.3
section 3) does not talk about 'trunk' at all while it is used throughout IEEE
802.1Q in describing vlans.

The lagg(4) driver provides link aggregation, failover and fault tolerance.

Discussed on:	current@@
@
text
@d26 4
a29 1
SRCS+=	ifieee80211.c		# SIOC[GS]IEEE80211 support
d40 2
a41 2
DPADD=	${LIBIPX}
LDADD=	-lipx
@


1.33.2.1
log
@SVN rev 181991 on 2008-08-22 03:55:37Z by thompsa

MFC r179894, r181224

 Add support for the optional key in the GRE header.

 PR:		kern/114714
 Submitted by:	Cristian KLEIN
@
text
@a26 1
SRCS+=	ifgre.c			# GRE keys etc
@


1.33.2.2
log
@SVN rev 196918 on 2009-09-07 10:15:50Z by ume

MFC r193664, r193796, r193815:
Fix and add a workaround on an issue of EtherIP packet with reversed
version field sent via gif(4)+if_bridge(4).  The EtherIP
implementation found on FreeBSD 6.1, 6.2, 6.3, 7.0, 7.1, and 7.2 had
an interoperability issue because it sent the incorrect EtherIP
packets and discarded the correct ones.

Approved by:	hrs
@
text
@a27 1
SRCS+=	ifgif.c			# GIF reversed header workaround
@


1.33.2.3
log
@SVN rev 231348 on 2012-02-10 06:43:16Z by bz

MFC r223735:

 Add infrastructure to allow all frames/packets received on an interface
 to be assigned to a non-default FIB instance.

 Submitted by:  cjsp
 Submitted by:  Alexander V. Chernikov (melifaro ipfw.ru)
                (original versions)
 Reviewed by:   julian
 Reviewed by:   Alexander V. Chernikov (melifaro ipfw.ru)

Reviewed by:	melifaro
@
text
@a24 1
SRCS+=	iffib.c			# non-default FIB support
@


1.33.2.4
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/sbin/ifconfig/Makefile 231348 2012-02-10 06:43:16Z bz $
@


1.33.2.2.4.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.33.2.2.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/sbin/ifconfig/Makefile 196918 2009-09-07 10:15:50Z ume $
@


1.33.2.2.2.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.33.2.1.4.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.33.2.1.2.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.32
log
@Hook trunk(4) up to the build.
@
text
@d33 1
a33 1
SRCS+=	iftrunk.c		# trunk support
@


1.31
log
@Import interface groups from OpenBSD.  This allows to group interfaces in
order to - for example - apply firewall rules to a whole group of
interfaces.  This is required for importing pf from OpenBSD 3.9

Obtained from:	OpenBSD (with changes)
Discussed on:	-net (back in April)
@
text
@d33 1
@


1.30
log
@Extend coverage of the MK_IPX build option to the following:

- <netipx> headers [1]
- IPX library (libipx)
- IPX support in ifconfig(8)
- IPXrouted(8)
- new MK_NCP option

New MK_NCP build option controls:

- <netncp> and <fs/nwfs> headers
- NCP library (libncp)
- ncplist(1) and ncplogin(1)
- mount_nwfs(8)
- ncp and nwfs kernel modules

User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP.

[1] <netsmb/netbios.h> unconditionally uses <netipx> headers
so they are still installed.  This needs to be dealt with.
@
text
@d29 1
@


1.29
log
@Connect if_bridge to the build.

Approved by:	mlaier (mentor)
@
text
@d4 2
d33 1
a33 1
.if !defined(RELEASE_CRUNCH)
@


1.29.2.1
log
@Hook lagg(4) up to the build.
@
text
@a29 1
SRCS+=	iflagg.c		# lagg support
@


1.29.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/sbin/ifconfig/Makefile 169643 2007-05-17 01:50:46Z thompsa $
@


1.29.2.1.4.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.28
log
@Remove bogus (but harmless) -I.. from CFLAGS.  It makes no difference to
.depends other then the commant line.

Also remove -g from CFLAGS.  The user should add it to CFLAGS if they
desire debug support.

Reviewed by:	ru (in concept)
MFC After:	7 days
@
text
@d29 2
@


1.27
log
@Add CARP (Common Address Redundancy Protocol), which allows multiple
hosts to share an IP address, providing high availability and load
balancing.

Original work on CARP done by Michael Shalayeff, with many
additions by Marco Pfatschbacher and Ryan McBride.

FreeBSD port done solely by Max Laier.

Patch by:	mlaier
Obtained from:	OpenBSD (mickey, mcbride)
@
text
@d37 1
a37 2
CFLAGS+= -g -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
	-Wnested-externs -I..
@


1.26
log
@Overhaul to cleanup some of the tangled logic that's grown over the years.

o break per-address family support out into separate files
o modularize per-address family and functional operations using
  a registration mechanism; this permits configuration according
  to which files you include (but beware that order of the files
  is important to insure backwards compatibility)
o many cleanups to eliminate incestuous behaviour, global variables,
  and poor coding practices (still much more to fix)

The original motivation of this work was to support dynamic addition
of functionality based on the interface so we can eliminate the various
little control programs and so that vendors can distribute ifconfig
plugins that support their in-kernel code.  That work is still to be
completed.

o Update 802.11 support for all the new net80211 functionality; some
  of these operations (e.g. list *) may be better suited in a different
  program
@
text
@d26 3
@


1.25
log
@style.Makefile(5):
	Use WARNS?= instead of WARNS=.
@
text
@a4 1
SRCS=	ifconfig.c
d6 1
a6 16
#comment out to exclude SIOC[GS]IFMEDIA support
SRCS+=	ifmedia.c
CFLAGS+=-DUSE_IF_MEDIA
CFLAGS+=-DINET6

#comment out to exclude SIOC[GS]ETVLAN support
SRCS+=	ifvlan.c
CFLAGS+=-DUSE_VLANS

#comment out to exclude SIOC[GS]IEEE80211 support
SRCS+=	ifieee80211.c
CFLAGS+=-DUSE_IEEE80211

#comment out to exclude MAC support
SRCS+=	ifmac.c
CFLAGS+=-DUSE_MAC
d8 17
a24 1
MAN=	ifconfig.8
d26 2
a27 3
.if defined(RELEASE_CRUNCH)
CFLAGS+=-DNO_IPX
.else
d32 3
a34 1
CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
@


1.25.2.1
log
@MFC Common Address Redundancy Protocol implementation.

Approved by:	re
@
text
@a19 4
#comment out to exclude SIOC[GS]VH support
SRCS+=	ifcarp.c
CFLAGS+=-DUSE_CARP

a23 6
#comment out to exclude PFSYNC support
.if !defined(NO_PF)
SRCS+=	ifpfsync.c
CFLAGS+=-DUSE_PFSYNC
.endif

@


1.25.2.2
log
@MFC rev 1.28, removal of pointless -I.. from CFLAGS.

PR:		bin/79229
@
text
@d44 1
a44 1
	-Wnested-externs
@


1.25.2.3
log
@MFC if_bridge support

Connect if_bridge to the build.

Approved by:	mlaier (mentor)
@
text
@a33 4
#comment out to exclude if_bridge support
SRCS+=	ifbridge.c
CFLAGS+=-DUSE_BRIDGE

@


1.24
log
@Teach ifconfig(8) how to print and set the MAC labels on network
interfaces using the 'mac' argument.  Without MAC support in the
kernel, this does not change the behavior of ifconfig.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
@
text
@d35 1
a35 1
WARNS=	0
@


1.23
log
@Do not disable IPv6 and vlan support when RELEASE_CRUNCH is defined.
We do support already IPv6 in the RELENG_4 boot floppies, and
vlan might be desirable as well.
@
text
@d20 4
@


1.22
log
@Move the WARNS attribute down so that it also applies to the
RELEASE_CRUNCH case.
@
text
@a9 1
.if !defined(RELEASE_CRUNCH)
a14 1
.endif
@


1.21
log
@Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
@
text
@a11 1
WARNS=	0
d33 1
@


1.20
log
@Use CFLAGS, not COPTS, in the Makefile.  bsd.prog.mk conveniently adds
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults.  Using it in Makefiles risks
having options set using it clobbered when somebody uses it on the
command line.

Approved by:	bde
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.19 2001/07/21 00:35:11 obrien Exp $
d12 1
@


1.19
log
@Dike out the IPX bits if RELEASE_CRUNCH is defined.
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.18 2001/05/26 09:26:01 phk Exp $
d31 1
a31 1
COPTS=	-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
@


1.18
log
@Currently, each wireless networking driver has it's own control program
despite the fact that most people want to set exactly the same settings
regardless of which card they have.  It has been repeatidly suggested
that this configuration should be done via ifconfig.  This patch
implements the required functionality in ifconfig and add support to the
wi and an drivers.  It also provides partial, untested support for the
awi driver.

PR:		25577
Submitted by:	Brooks Davis <brooks@@one-eyed-alien.net>
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.17 2001/03/26 14:33:04 ru Exp $
d23 4
d29 2
@


1.17
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.16 2001/03/20 18:13:12 ru Exp $
d17 4
@


1.16
log
@Set the default manual section for sbin/ to 8.
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.15 2000/11/30 21:35:09 luigi Exp $
d18 1
@


1.15
log
@remove an undefined reference when no VLAN support is compiled in.
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14 1999/12/15 05:13:20 shin Exp $
a17 1
MAN8=	ifconfig.8
@


1.14
log
@Enable INET6 by default.
This should be OK on non INET6 enabled kernel.
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.13 1999/12/07 17:38:51 shin Exp $
d10 1
d16 1
@


1.14.2.1
log
@MFC: remove and undefined reference when no VLAN support is compiled in,
do not compile in VLAN support when RELEASE_CRUNCH is defined
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14 1999/12/15 05:13:20 shin Exp $
a9 1
.if !defined(RELEASE_CRUNCH)
a14 1
.endif
@


1.14.2.2
log
@Partly back out previous commit: keep IPV6 support even if
RELEASE_CRUNCH is defined.

Approved-By: jkh
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14.2.1 2000/12/06 20:03:02 luigi Exp $
d10 1
a11 1
.if !defined(RELEASE_CRUNCH)
@


1.14.2.3
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14.2.2 2001/04/17 15:21:02 luigi Exp $
d18 1
a18 1
MAN=	ifconfig.8
@


1.14.2.4
log
@MFC: ifconfig support for configuration of 802.11 wireless interfaces.
This commit contains support for the an and wi drivers.
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14.2.3 2001/04/25 10:58:23 ru Exp $
a16 4

#comment out to exclude SIOC[GS]IEEE80211 support
SRCS+=	ifieee80211.c
CFLAGS+=-DUSE_IEEE80211
@


1.14.2.5
log
@MFC: dike out the IPX bits if RELEASE_CRUNCH is defined.
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14.2.4 2001/07/04 00:12:17 brooks Exp $
a22 4

.if defined(RELEASE_CRUNCH)
CFLAGS+=-DNO_IPX
.else
a24 2
.endif

@


1.14.2.6
log
@MFC: don't use COPTS.
@
text
@d2 1
a2 1
# $FreeBSD$
d31 1
a31 1
CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
@


1.14.2.7
log
@Support VLANs even if RELEASE_CRUNCH is defined.
@
text
@d11 1
d16 1
@


1.14.2.8
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/sbin/ifconfig/Makefile 90672 2002-02-15 03:58:37Z luigi $
@


1.13
log
@udp IPv6 support, IPv6/IPv4 tunneling support in kernel,
packet divert at kernel for IPv6/IPv4 translater daemon

This includes queue related patch submitted by jburkhol@@home.com.

Submitted by: queue related patch from jburkhol@@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.12 1999/08/28 00:13:07 peter Exp $
d10 1
a10 1
#CFLAGS+=-DINET6
@


1.12
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d10 1
@


1.11
log
@Grrr... botched remote commit. Let's try this again: vlan updates,
take two.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1997/05/04 06:27:45 peter Exp $
@


1.10
log
@Commit hooks for ifmedia support.  It's optional in the Makefile, and
can be trivially disabled.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.9 1997/02/22 14:32:32 peter Exp $
d11 4
d19 1
a19 1
	-Wnested-externs
@


1.10.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.10.2.2
log
@MFC: Bring in all of C. Stephen Gunn's fixes to make VLAN support
actually sort of work in 3-stable.

PR:	kern/15290 kern/13281 bin/14731 kern/15291 kern/15298
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.10.2.1 1999/08/29 15:13:39 peter Exp $
a9 4

#comment out to exclude SIOC[GS]ETVLAN support
SRCS+=	ifvlan.c
CFLAGS+=-DUSE_VLANS
@


1.9
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
#	$Id$
d5 6
@


1.8
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
#	$FreeBSD$
@


1.7
log
@Fix lots of non-bug questionable code:

- Don't link against libkvm and don't uselessly include <kvm.h>.
- Declare constant objects as const.
- Declare functions with the correct types.
- Call functions with the correct parameters.

Not fixed:

- The sysctl parsing remains ugly (but it may be the best we can do).
- atnetrange() should use strtoul() rather than sscanf() for better
  error checking.
@
text
@d2 1
a2 1
#	$Id$
@


1.6
log
@Bring back NS support for this utility - we need it for the commercial Novell
server software.
@
text
@d1 2
a2 1
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93
d6 4
a9 3
DPADD=  ${LIBKVM} ${LIBIPX}
LDADD=  -lkvm -lipx
CFLAGS+=	-DNS
@


1.6.2.1
log
@YAMFC: update to -current ifconfig for ifmedia support and 'ifconfig -l',
as well as various cleanups.
@
text
@d1 1
a1 2
#	From: @@(#)Makefile	8.1 (Berkeley) 6/5/93
#	$Id: Makefile,v 1.10 1997/05/04 06:27:45 peter Exp $
a3 6
SRCS=	ifconfig.c

#comment out to exclude SIOC[GS]IFMEDIA support
SRCS+=	ifmedia.c
CFLAGS+=-DUSE_IF_MEDIA

d5 3
a7 4
DPADD=	${LIBIPX}
LDADD=	-lipx
COPTS=	-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
	-Wnested-externs
@


1.6.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.5
log
@Fixed DPADD.
@
text
@d7 1
@


1.4
log
@Submitted by:	john hay

patches to merge the two IPX packages to work with each other and to
not break make-world :)

IPXrouted should be working now, (or at least compiling) :)
@
text
@d5 1
a6 1
DPADD=  ${LIBKVM}
@


1.3
log
@From: Wankle Rotary Engine <wpaul@@skynet.ctr.columbia.edu>

- The -a flag now works just as it does in SunOS: '-a' is actually
  handled like a wildcard for all interfaces. 'ifconfig -a' displays
  the status of all interfaces, 'ifconfig -a netmask 0xffffff00' sets
  the netmask of all interfaces, and so forth. I don't know if many
  people really need to be able to set the netmasks of all interfaces
  at once, but the SunOS ifconfig seems to allow this, so there you
  have it.

- An 'ether_status' function has been added to display the ethernet
  address of all ethernet interfaces. Again, as in SunOS, you must
  be root in order for this to work. The ethernet address is read
  from /dev/kmem using kvm_open() and kvm_read(), much in the same
  was as it's done with netstat. If you choose to install ifconfig
  set-gid kmem then normal users will be able to see the ethernet
  address as well, though this may not be desireable. This feature
  requires a small change to the ifconfig Makefile: you need to link
  with -lkvm in order to use the kvm_*() functions.

Submitted by:	wpaul
@
text
@d5 1
a5 1
LDADD=  -lkvm
@


1.2
log
@Convert to our man installation style.  Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
@
text
@d5 2
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
MAN8=	ifconfig.0
@


1.1.1.1
log
@BSD 4.4 Lite sbin Sources

Note:  XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
@
text
@@
