summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.c
AgeCommit message (Collapse)Author
2005-06-08netns crap i missed earlier... damn unreliable toolsHenning Brauer
2005-05-31tidy up the trunk stuff;Jason McIntyre
2005-05-26remove hiding of interface family groupsHenning Brauer
2005-05-26disallow interface group names that end in a digit to differentiate them fromMike Frantzen
true interfaces ok henning@
2005-05-25add ifconfig -M option to replace wicontrol -L and -l for ap scanningReyk Floeter
and node listing. wicontrol is not supported by net80211 drivers anymore. further improvements will be done. ok dlg@, jsg@
2005-05-24support trunk stacking (trunks as trunk ports) and some fixesReyk Floeter
ok brad@
2005-05-24initial import of a trunking (link aggregation and link failover)Reyk Floeter
implementation. it currently supports round robin mode with link state checking, additional modes will be added later. ok brad@, deraadt@
2005-05-22rewrite the interface groups printing code:Henning Brauer
don't rely on the interface's driver-name based group to be the first in the list don't rely on one group == only default one do not print the "all" group don't segfault on interfaces with no group at all ok mcbride
2005-04-14shave off a few bytes, alpha floppies fit again nowHenning Brauer
2005-04-12lladdr w/o colon; ok henningMarkus Friedl
2005-04-11Handle getnameinfo failure. OK nialloChad Loder
2005-04-04print lladdr instead of address; pointed out by a fewTheo de Raadt
2005-03-30add lladdr command to ifconfig to set MAC address. diffs from freebsd viaTed Unangst
Kyunghwan KIM (prs 2117 and 2118) and Fredrik Widlund. ok deraadt
2005-02-15add txpower support to ifconfigReyk Floeter
ok bob@ robert@ danh@ and others
2005-01-20Use syncdev instead of syncif in ifconfig, and modify ioctl struct pfsyncreqRyan Thomas McBride
in kernel code to match. Brings pfsync in line with carp, vlan and pppoe devices. Old syncif and -syncif options still work, will be removed later. ok markus@
2005-01-18Print configured timeslot mask for PDH/TDM interfaces.Claudio Jeker
OK deraadt@
2005-01-18Don't shift the timeslot map so that timeslot 1 ends in bit 0. E1 may needClaudio Jeker
to specify timeslot 0 and it is more intuitive. From alex@ Ok deraadt@
2004-12-29Put settimeslot() into #ifndef SMALL as it is not needed on ramdisks.Claudio Jeker
OK deraadt@
2004-12-25#ifndef SMALL throughout this, for install media; ok mcbrideTheo de Raadt
2004-12-07Add the 'carpdev' option, to set the carp devices physical interface.Ryan Thomas McBride
If not specified, the kernel will attempt to select the correct interface by the subnet (this is the current behaviour). ok deraadt@ henning@
2004-12-07KNFRyan Thomas McBride
2004-12-07note that -a is the default if no params given;Jason McIntyre
`interface' is now optional;
2004-12-07default to interface printing, instead of help message. any illegal -Theo de Raadt
option goes to usage. initial work by ian, changed by me, ok mcbride
2004-12-01add pppoe stuff to usage();Jason McIntyre
ok jaredy@
2004-11-28In kernel pppoe client, a simple IPv4 only implementation.Can Erkin Acar
Initial porting from NetBSD by David Berghoff. Modified/simplified to match our sppp implementation. ok deraadt@
2004-11-17remove NI_WITHSCOPEID (which is not standard)Jun-ichiro itojun Hagino
2004-11-06added the "bssid" command to ifconfig, an extended ieee80211Reyk Floeter
status output and the missing man page entries for ifconfig.8 (from jared). ok deraadt@, henning@
2004-11-02KNF - reyk, look at this diffHenning Brauer
not that ifconfig is our prime example for nicely KNF'd and readable code tho
2004-11-02spacingTheo de Raadt
2004-11-02added new commands to ifconfig used by net80211 interfaces:Reyk Floeter
mode (set mode for multi-mode interfaces) and chan (set the radio channel). some additional output will be printed by "ifconfig -m". ok deraadt@ millert@ damien@
2004-10-11ifgroups reqriteHenning Brauer
there is now a TAILQ with all interface groups as members, and in struct ofnet there is only a pointer to the group structure stored and not its name. mostly hacked at c2k4 and somewhere over the atlantic ocean ok markus mcbride
2004-09-15ARGSUSED, remove unused, ...Theo de Raadt
2004-08-08spacingTheo de Raadt
2004-08-03Allow a unicast ip address to be specified for pfsync with the 'syncpeer'Ryan Thomas McBride
keyword. This address is used instead of the multicast address to send state updates; this allows pairs of pfsync firewalls to protect the traffic with IPSec. ifconfig must be updated to match the kernel.
2004-07-03zap INET_ONLY, compress usage(); jaredTheo de Raadt
2004-07-03ansi; jaredTheo de Raadt
2004-06-26cleanup ioctl for ifgroups; ok pb@Markus Friedl
2004-06-26Add option that allows to change timeslot range forn network card.Alex Feldman
ok mcbride@
2004-06-26ignore IFGROUP errs in ifconfig -a for "too old" kernels right nowPhilipp Buehler
2004-06-26more netiso leftoversPhilipp Buehler
by pointer from yared janovich henning@ ok
2004-06-26groups in usage() - from jared yanovichPhilipp Buehler
2004-06-25introduce "interface groups"Philipp Buehler
by "ifconfig fxp0 group foobar" "ifconfig xl0 group foobar" these two interfaces are in one group. Every interface has its if-family as default group. idea/design from henning@, based on some work/disucssion from Joris Vink. henning@, mcbride@ ok.
2004-06-24remove netiso stuffHenning Brauer
2004-06-21Make printing of 802.11 fields consistent with the rest by printingTodd C. Miller
a colon (':') after the field name. Noticed by markus@, OK deraadt@
2004-05-29introduce SIOCSIFDESCR and SIOCGIFDESCR to maintain interfacejoshua stein
descriptions, configurable with ifconfig help from various, ok deraadt@
2004-05-18Trailers are really wonders of the past. Remove them from man page andOtto Moerbeek
usage. ok millert@
2004-05-10missing casts spotted by 64 bit ccTheo de Raadt
2004-05-05use strtonum all over the place; ok pb millertTheo de Raadt
2004-04-27clean up ifdef hellPhilipp Buehler
2004-04-27reworking of man page and sync/update usage();Jason McIntyre
this stuff is based mostly on diffs from jared yanovich, with some stuff from myself and otto; ok naddy@ otto@ markus@ deraadt@