History log of /src/sbin/ifconfig/extern.h |
Revision | | Date | Author | Comments |
1.16 |
| 16-Aug-2019 |
msaitoh | Whitespace fix.
|
1.15 |
| 21-Dec-2018 |
msaitoh | Add SIOCSETHERCAP. It's used to change ec_capenable.
|
1.14 |
| 07-Aug-2009 |
dyoung | branches: 1.14.44; 1.14.46; Add option -N. -N is just the opposite of option -n in netstat(8) or route(8): it tells ifconfig(8) to try to resolve numbers to hosts and service names.
This default ifconfig behavior stays the same as it always was.
|
1.13 |
| 15-Jul-2008 |
dyoung | Only describe flags -L and -m in the usage if they are available. That helps me get rid of some conditional compilation (INET6) in ifconfig.
Let each protocol/feature-module print its own usage, so that the ifconfig usage reflects the modules that are actually compiled-in.
Write usage information for carp(4) options.
|
1.12 |
| 02-Jul-2008 |
dyoung | 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.
|
1.11 |
| 06-May-2008 |
dyoung | branches: 1.11.2; Overhaul ifconfig. Use fewer global variables. Take a leap toward improved modularity and extensibility.
In the new architecture, a directed graph of argument-matching objects (match objects) expresses the set of feasible ifconfig statements. Match objects are labelled by subroutines that provide the statement semantics.
Many IPv4, IPv6, 802.11, tunnel, and media configurations have been tested.
AppleTalk, ISO, carp(4), agr(4), and vlan(4) configuration need testing.
|
1.10 |
| 26-Aug-2006 |
christos | branches: 1.10.18; 1.10.20; Programs that use efun.
|
1.9 |
| 16-Jun-2006 |
elad | fix incorrect usage of strncpy() to (an internal implementation of) estrlcpy().
okay christos
|
1.8 |
| 20-Mar-2005 |
thorpej | Split the IPv4 support into its own file.
|
1.7 |
| 20-Mar-2005 |
thorpej | Split IPv6 support out into its own file.
|
1.6 |
| 19-Mar-2005 |
thorpej | Split off AppleTalk support into its own file.
|
1.5 |
| 19-Mar-2005 |
thorpej | const'ify afswtch
|
1.4 |
| 19-Mar-2005 |
thorpej | Split off 802.11 interface handling into its own file.
|
1.3 |
| 19-Mar-2005 |
thorpej | Don't hare-code inet/inet6 in tunnel_status(), lookup the address family name instead.
|
1.2 |
| 19-Mar-2005 |
thorpej | Split tunnel support into its own file.
|
1.1 |
| 19-Mar-2005 |
thorpej | Move extern decls to extern.h
|
1.10.20.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.10.18.2 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.10.18.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.11.2.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.14.46.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.14.46.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.14.44.1 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|