Go to file
dyoung d75414adf5 Let us add/remove features from ifconfig, such as support for
various address families (inet, inet6, iso, atalk) and protocols
(802.11, 802.3ad, CARP), simply by trimming the list of sources in
the Makefile.  This helps one customize ifconfig for an embedded
device or for install media, and it eliminates a lot of grotty
#ifdef'age.  Now, the ifconfig syntax and semantics are finalized
at run-time using the constructor routines in each address-family/protocol
module.

(In principle, ifconfig could load virtually all of its syntax from
shared objects.)

Extract a lot of common code into subroutines, in order to shrink
the ifconfig binary a bit.  Make all of the address families share
code for address addition/replacement/removal, and delete "legacy"
code for manipulating addresses.  That may have broken atalk and
iso, despite my best efforts.

Extract an include file, Makefile.inc, containing the make-fu that
both ifconfig and x_ifconfig share.

Sprinkle static.  Change some int's to bool's.  Constify.

Add RCS Ids to carp.c and env.c.  Move media code to a new file,
media.c.  Delete several unneeded header files.

Set, reset, and display the IEEE 802.11 attribute, 'dot11RTSThreshold'.

Bug fix: do not require both a interface address and a destination
address for point-to-point interfaces, but accept a interface
address by itself.
2008-07-02 07:44:13 +00:00
bin %d doesn't work so well with the now-u_long type. (HI GMCGARRY!) 2008-06-27 08:17:43 +00:00
common Changes to make lint STFU. 2008-06-30 20:54:19 +00:00
crypto Add an ifdef to disable the AES_CTR_MT cipher because static binaries don't 2008-06-23 14:51:31 +00:00
dist Remove gcc comma-eliminating variadic macro. Prefer __func__. 2008-06-27 02:09:49 +00:00
distrib Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
doc For simonb-wapbl branch, journalling is not known to have any stability 2008-06-28 03:30:24 +00:00
etc Fix perms for /var/db/postfix thanks to Matthias Drochner for the report. 2008-06-27 14:29:30 +00:00
external Add USE_FORT?=yes. 2008-05-27 08:58:26 +00:00
games remove clause #3 from my license where there are no other 2008-05-29 14:51:25 +00:00
gnu /var/lib -> /var/db by popular demand. 2008-06-25 01:32:37 +00:00
include SUS says that pthread_atfork() must also be in unistd.h 2008-06-25 11:45:38 +00:00
lib Move rb.c from sys/lib/libkern to common so it can be in both libc and libkern. 2008-06-30 19:03:59 +00:00
libexec Add missing RCSID. 2008-06-09 01:00:23 +00:00
regress - Add general cpuset macros. 2008-06-16 01:41:20 +00:00
rescue we cannot use pthreads here because we are statically linked. 2008-06-23 14:53:06 +00:00
sbin Let us add/remove features from ifconfig, such as support for 2008-07-02 07:44:13 +00:00
share Code is in subr_hash, not kern_hash. 2008-07-01 15:37:04 +00:00
sys Protect private mbuf external data storage allocater with a mutex, as it 2008-07-02 03:42:55 +00:00
tests Fix two bugs to make MKMODULAR=yes builds will work again, for the 2008-05-31 19:58:35 +00:00
tools Remove references to bebox-elf2pef and bebox-mkbootimage, now that they 2008-05-26 12:45:50 +00:00
usr.bin Fix alignment of fields for "vmstat -m" when KMEMSTATS are available: 2008-06-24 12:47:23 +00:00
usr.sbin Don't define ISC_PLATFORM_HAVEXADDQ if i386. It only works on the Pentium 2008-06-23 09:19:34 +00:00
x11 MKMAN=no -> NOMAN= # defined 2008-05-25 01:46:18 +00:00
build.sh Make build.sh -C work as advertised. 2008-06-27 21:38:36 +00:00
BUILDING Correct/clarify the default setting of USETOOLS in the previous version. 2008-03-29 05:22:42 +00:00
Makefile Descend into external. 2008-05-22 14:13:58 +00:00
Makefile.inc
UPDATING Change DRVSUSPENDDEV ioctl number. Fixes PR kern/38740. 2008-05-31 13:24:57 +00:00