| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
the bug exists in little-endian machine, it was not triggered due
to the difference of memory ordering between little/big endian
machines. Instead of relying on possibly modified value during
function invokcations, use saved copy of ifr.ifr_addr.sa_family.
Also add a comment at the top of ifconfig.c clarifying the issue
so the bug won't re-appear.
Approved by: jake
Reviewed by: yar
|
|
|
|
|
|
| |
in the previous commit.
Pointed out by: ru
|
|
|
|
|
|
| |
that provide control over the respective capabilities
of an interface, reception of extended frames and hardware
VLAN multiplexor.
|
| |
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
| |
PR: docs/66541
Submitted by: Michel Lavondes (with some cleanups/additions)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
prior sysctl due to the structure growing between calls try again.
Also try again for deleting routes if things fail. We've seen
route -f fail this way which does not actually flush all routes.
This fixes it. It will whine but it will do the work.
PR: 56732
Obtained from: IronPort
|
| |
|
| |
|
|
|
|
|
|
| |
user-configurable polling(4) support. Make ifconfig(8) aware of it.
Suggested by: luigi
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core, imp
|
|
|
|
| |
Be a little bit more helpful in error messages.
|
|
|
|
|
|
| |
and 11g protection mode
Reviewed by: imp (just code)
|
|
|
|
| |
identifiers.
|
| |
|
| |
|
|
|
|
|
|
| |
like tun are naming their modules using the 'if_; prefix and previous version of
the code failed to detect their presence in the kernel, resulting in the same
module being loaded twice.
|
|
|
|
| |
Use WARNS?= instead of WARNS=.
|
|
|
|
|
|
|
|
| |
the corresponding manpage has been committed.
The rest of "vlan" words, which are refering
to the technology itself, should be capitalized.
MFC after: 1 week
|
|
|
|
|
| |
interface that is parent to a vlan(4) interface,
not on the vlan(4) interface itself.
|
|
|
|
|
|
|
|
| |
reorganize the printing of the interface name when using wildcard
cloning so it is not printed if it we either immediately rename or
destroy the interface.
Reviewed by: ru
|
|
|
|
|
|
|
| |
from the sdl because strlcpy requires that the source string be
NUL-terminated unlike strncpy.
Submitted by: Peter Jeremy <PeterJeremy at optushome dot com dot au>
|
|
|
|
|
|
|
|
| |
name.
Prevent the kernel from potentially overflowing the interface name
variable. The size argument of strlcpy is complex because the name is
not null-terminated in sdl_data.
|
| |
|
| |
|
|
|
|
|
|
|
| |
and to make sure that we catch oversized arguments rather than silently
truncate them. I dont know if sscanf will reject an integer if it will
not fit in the short return variable or not, but this way it should be
detected.
|
| |
|
|
|
|
|
| |
o use IEEE80211_KEYBUF_SIZE instead of magic numbers
o distinguish between 40-, 104-, and 128-bit WEP keys when printing status
|
|
|
|
| |
o fix channel command so channel - does what the man page says
|
|
|
|
|
| |
o add 802.11 alias support
o suppress display of the default "mode autoselect" when showing the "phy mode"
|
| |
|
|
|
|
| |
Found with: nroff -mandoc ifconfig.8 > /dev/null
|
|
|
|
|
|
|
|
| |
be changed, it is very convenient to be able to toggle SDH/Sonet,
idle/unassigned cells and scrambled mode and to see the carrier
state.
Reviewed by: -arch (if_media.h definitions)
|
| |
|
|
|
|
|
| |
this is mostly intended for use with multi-mode 802.11 devices that support
some combination of 11a, 11b, and 11g
|
|
|
|
|
|
| |
such abuse isn't really needed. (And if we do need type information
associated with a module then we should make it explicit and not
use hacks.)
|
|
|
|
| |
instead of NS.
|
| |
|
|
|
|
| |
Submitted by: jlemon
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
Also fixed a critical bug made in revision 1.62 by phk@.
|
|
|
|
| |
support h/w tagging
|
|
|
|
|
|
| |
o capitilize capability bit strings for consistency
Approved by: re
|
|
|
|
|
| |
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
| |
Obtained from: TrustedBSD Project
Sponsored by: Network Associates Laboratories
|
| |
|
|
|
|
|
|
|
|
|
|
| |
regarding 802.1 MAC and Mandatory Access Control (MAC). Some
potential for confusion remains further in other areas of the
system regarding Message Authentication Codes (MAC).
Requested by: wollman
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
|
|
|
|
|
|
|
|
| |
interfaces using the 'mac' argument. Without MAC support in the
kernel, this does not change the behavior of ifconfig.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|