Up to [cvs.NetBSD.org] / src / sbin / ifconfig
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.1.20.2, Sun Sep 28 11:17:11 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.20.1: +1 -1
lines
FILE REMOVED
Sync with HEAD.
Revision 1.4.2.2, Sun Sep 7 20:22:56 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.4.2.1: +1 -1
lines
FILE REMOVED
Delete a bunch of things that are now gone in head.
Revision 1.8, Wed Jul 2 07:44:14 2008 UTC (15 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
localcount-20160914,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.7: +1 -1
lines
FILE REMOVED
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.
Revision 1.4.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:29:57 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.4: +2 -10
lines
Diff to previous 1.4 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.1.20.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:22 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1: +2 -14
lines
Diff to previous 1.1 (colored)
Sync with HEAD.
Revision 1.1.22.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:52 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.1: +3 -15
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
sync with head.
Revision 1.7 / (download) - annotate - [select for diffs], Mon May 12 00:40:40 2008 UTC (15 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Changes since 1.6: +1 -7
lines
Diff to previous 1.6 (colored)
setifipdst() is gone, so delete the prototype. #include nothing (XXX).
Revision 1.6 / (download) - annotate - [select for diffs], Sun May 11 23:25:46 2008 UTC (15 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.5: +1 -3
lines
Diff to previous 1.5 (colored)
Don't export in_alias(). Pass in_alias() a more useful template. Misc. cosmetic changes. Delete dead code. Treat the address preference as int16_t, since that is its real type.
Revision 1.5 / (download) - annotate - [select for diffs], Thu May 8 07:13:20 2008 UTC (15 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
Move IPv4/IPv6-specific code from commit_address() to in_commit_address() and in6_commit_address(). Fixes the USE_INET6=no build.
Revision 1.4 / (download) - annotate - [select for diffs], Tue May 6 17:29:04 2008 UTC (15 years, 11 months ago) by dyoung
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
Use prop_dictionary_util(3) some more. When we read interface flags and capabilities from the kernel, take care not to record them in our current environment (env), but record them in the output environment (oenv), instead. This helps us get interface capabilities and flags right.
Revision 1.3 / (download) - annotate - [select for diffs], Tue May 6 16:15:17 2008 UTC (15 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.2: +3 -4
lines
Diff to previous 1.2 (colored)
Rename in_addr_commit() to commit_address(), and refactor slightly to support IPv6 as well as IPv4 (a work in progress). Make the second argument of af_status() a bool instead of an int. Exit early with an error if the operator specifies an unsupported address family on the command line. The change should help rc scripts to detect that IPv6 support is missing from the kernel, with 'ifconfig lo0 inet6'. Start using prop_dictionary_util(3).
Revision 1.2 / (download) - annotate - [select for diffs], Tue May 6 04:33:42 2008 UTC (15 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.1: +8 -11
lines
Diff to previous 1.1 (colored)
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.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 20 02:43:50 2005 UTC (19 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-pf42,
mjf-devfs2
Split the IPv4 support into its own file.