Commit Graph

228 Commits

Author SHA1 Message Date
christos
86b43a935f PR/32628: Yves-Emmanuel JUTARD: Missing cast in sbin/ifconfig/ifconfig.c,
strcasecmp needs char * not u_int8_t *.
2006-01-25 16:08:49 +00:00
dyoung
b1725a3d60 Commit a straggler: use the new SIOCG80211STATS/SIOCG80211ZSTATS
ABI.
2005-09-15 23:35:15 +00:00
wiz
667d70cb77 Argument is address_family, not "address family". From YOMURA Masanori in private mail. 2005-09-11 23:37:14 +00:00
rpaulo
aaf548920f Explained the '-h' option. 2005-08-11 20:56:57 +00:00
rpaulo
630caafc65 Added a new ifconfig flag, -h, allowing, in conjunction with -v, the display
of interface I/O bytes in human-format.

Reviewed by Christos Zoulas and Jason Thorpe.
2005-08-11 20:56:05 +00:00
christos
2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
dyoung
9063402978 Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD.  Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]).  Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
2005-06-22 06:14:51 +00:00
yamt
b954935865 bump date for the previous. 2005-05-02 15:37:06 +00:00
yamt
330cc0a11e split IFCAP_CSUM_xxx to IFCAP_CSUM_xxx_Rx and IFCAP_CSUM_xxx_Tx. 2005-05-02 15:34:31 +00:00
yamt
5e26e86d45 add a reminder comment for x_ifconfig. 2005-03-20 14:24:13 +00:00
thorpej
be8f682caf IFFBITS and IFCAPBITS are now defined in <net/if.h> 2005-03-20 02:51:47 +00:00
thorpej
d14cc8f89c Remove an #ifdef that is no longer necessary. 2005-03-20 02:44:50 +00:00
thorpej
f76f47a0df Don't build af_inet6.c if USE_INET6 is no. 2005-03-20 02:44:25 +00:00
thorpej
e00adb14b6 Split the IPv4 support into its own file. 2005-03-20 02:43:50 +00:00
thorpej
20f1388354 Move a comment. 2005-03-20 01:10:51 +00:00
thorpej
26dbe00d59 Split IPv6 support out into its own file. 2005-03-20 01:09:16 +00:00
thorpej
4fd9a96b1d Split OSI support off into its own file. 2005-03-20 00:02:58 +00:00
thorpej
e7c8ca2ae5 Split XNS support into its own file. 2005-03-19 23:46:03 +00:00
thorpej
acdfacb1c3 Split off AppleTalk support into its own file. 2005-03-19 23:32:55 +00:00
thorpej
c6266968d5 const'ify afswtch 2005-03-19 23:16:55 +00:00
thorpej
1a5470cfdd Split off 802.11 interface handling into its own file. 2005-03-19 23:13:42 +00:00
thorpej
519737e8ff Don't hare-code inet/inet6 in tunnel_status(), lookup the address family
name instead.
2005-03-19 22:57:06 +00:00
yamt
1ba14738a5 make this compilable with USE_INET6=no. 2005-03-19 18:16:06 +00:00
thorpej
e6d38785ff Split tunnel support into its own file. 2005-03-19 17:32:26 +00:00
thorpej
21117c1aaf name -> ifname (avoid shadow decl with global name[]). 2005-03-19 17:31:48 +00:00
thorpej
1054956d85 Move extern decls to extern.h 2005-03-19 03:56:06 +00:00
thorpej
0fded9bea2 Split VLAN configuration bits out into a separate file. 2005-03-19 03:53:55 +00:00
yamt
712c784484 update usage() for agr(4). pointed by Thomas Klausner. 2005-03-18 14:30:08 +00:00
wiz
f2636e2d3d Link to vlan(4) too, suggested by yamt. 2005-03-18 14:18:06 +00:00
wiz
2fa6ad9b68 Bump date for agr; add agr(4) to SEE ALSO. 2005-03-18 12:43:56 +00:00
yamt
5240b887db add agr(4), a pseudo network device driver for link aggregation. 2005-03-18 11:11:50 +00:00
matt
57537259e8 Add ifconfig support for TCP Segment Offload 2005-03-06 00:13:36 +00:00
perry
5c9f370160 remove obsolete "register" declarations. 2005-02-06 06:13:47 +00:00
xtraeme
843cdb1983 Fix the cast for the getnameinfo() call in the status() function, which
should be "const struct" not "struct" for sockaddr.

WARNS=3
2005-01-20 16:16:10 +00:00
lukem
7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
dyoung
9f2359d605 ifconfig -v prints 802.11 statistics. ifconfig -v prints and zeroes
802.11 statistics.
2004-12-20 23:04:55 +00:00
itojun
b95181fc9b NI_WITHSCOPEID was not picked up by IETF standardization process. 2004-11-16 05:59:32 +00:00
dsl
9d819ed558 Functions for converting media types to/from text are now in libutil. 2004-11-11 20:37:18 +00:00
dsl
57030cf931 More isdigit() calls that need (unsigned char) cast 2004-10-28 20:10:29 +00:00
dsl
eef12d4ee1 De __P 2004-10-11 20:13:37 +00:00
dsl
edfa669ef6 Remove all the caddr_t - mainly casts of the 3rd arg to ioctl() 2004-10-11 17:13:55 +00:00
yamt
230c4c9c74 err -> errx where appropriate. 2004-07-27 14:25:19 +00:00
mycroft
1e7044a4ca The change in revision 1.38 (in 1997!) was wrong. If we don't want the kernel
to automatically bring up interfaces, then we should move that code into
ifconfig(8) and out of the kernel, not cycle the interface up and down.  Fixes
PR 9400 -- ifconfig(8) was not working as documented.
2004-07-06 23:26:31 +00:00
wiz
7725807d73 Add an article. 2004-03-01 00:19:06 +00:00
perry
3900dd63b3 Change "nwid" to "ssid", list "nwid" as a synonym for "ssid", and
clean up the ssid explanation a bit (including mentioning that if you
want to use a hex ssid, you precede it with a 0x, which really needed
documenting.)
2004-03-01 00:16:24 +00:00
perry
be009ae585 Very minimal changes to make "ssid" and "nwid" aliases, and make the
ssid print out as "ssid", not "nwid".
XXX Really, someone should go through and change around all the
variable names etc. to ssid, but not today.
2004-03-01 00:11:33 +00:00
wiz
028911b136 Drop trailing whitespace (hi perry! :) ). 2004-02-29 23:51:05 +00:00
perry
d7493f9be2 update man page date. (hi wiz!) 2004-02-29 23:32:51 +00:00
perry
688c6af823 document that if you are using a hex wep key, you need to put 0x in
front of it.
2004-02-29 23:32:15 +00:00
perry
2e45f00a18 document "mode" -- taken from FreeBSD 2004-02-29 23:27:28 +00:00