| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
index, then retrieve statistics for that index, rather than retrieving
all interfaces and then looking for a matching name. This allows the
user to refer to an interface via an alias name.
While I'm here, also perform a few assorted cleanups.
|
|
|
|
|
|
| |
of <sys/mbuf.h>.
Reviewed by: jlemon
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults. Using it in Makefiles risks
having options set using it clobbered when somebody uses it on the
command line.
Approved by: bde
|
| |
|
|
|
|
|
| |
PR: bin/29812
Submitted by: Joao Carlos Mendes Luis <jonny@eng05.embratel.net.br>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: bin/28833
MFC after: 3 days
|
|
|
|
|
|
| |
WEP is supported, but not keys are set.
MFC after: 3 days
|
| |
|
| |
|
|
|
|
|
|
| |
Reviewed by: ru, ume
Obtained from: NetBSD
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.
TODO:
- The definitions of SADB_* in sys/net/pfkeyv2.h are still different
from RFC2407/IANA assignment because of binary compatibility
issue. It should be fixed under 5-CURRENT.
- ip6po_m member of struct ip6_pktopts is no longer used. But, it
is still there because of binary compatibility issue. It should
be removed under 5-CURRENT.
Reviewed by: itojun
Obtained from: KAME
MFC after: 3 weeks
|
|
|
|
|
|
| |
PR: 22062
Submitted by: Christian Weisgerber <naddy@mips.inka.de>,
Brooks Davis <brooks@one-eyed-alien.net>
|
|
|
|
|
|
| |
PR: 23767
Submitted by: Maxime Henrion <mux@qualys.com>,
Brooks Davis <brooks@one-eyed-alien.net>
|
|
|
|
|
|
|
|
|
| |
printed on a single, very long, and generally unreadable line. This
isn't very useful. It's also really ugly and most of the time you don't
care what media is supported anyway.
PR: 27701
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
despite the fact that most people want to set exactly the same settings
regardless of which card they have. It has been repeatidly suggested
that this configuration should be done via ifconfig. This patch
implements the required functionality in ifconfig and add support to the
wi and an drivers. It also provides partial, untested support for the
awi driver.
PR: 25577
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
|
| |
|
|
|
|
|
|
| |
one can specify addresses and netmask in CIDR notation.
Submitted by: Dima Dorfman <dima@unixfreak.org>
|
|
|
|
|
|
|
| |
MFC after: 1 week
Reviewed by: phk
Obtained from: NetBSD
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
|
|
|
| |
Obtained from: KAME
|
| |
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
| |
PR: 23984
Submitted by: Jimmy Olgeni <olgeni@uli.it>
|
| |
|
| |
|
|
|
|
|
| |
PR: misc/22884
Obtained from: KAME
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This allows you to set ether addresses with 'ifconfig ether'. Also, use
some saner socket address families that allow several special case tests
to be removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
address on an interface. This basically allows you to do what my
little setmac module/utility does via ifconfig. This involves the
following changes:
socket.h: define SIOCSIFLLADDR
if.c: add support for SIOCSIFLLADDR, which resets the values in
the arpcom struct and sockaddr_dl for the specified interface.
Note that if the interface is already up, we need to down/up
it in order to program the underlying hardware's receive filter.
ifconfig.c: add lladdr command
ifconfig.8: document lladdr command
You can now force the MAC address on any ethernet interface to be
whatever you want. (The change is not sticky across reboots of course:
we don't actually reprogram the EEPROM or anything.) Actually, you
can reprogram the MAC address on other kinds of interfaces too; this
shouldn't be ethernet-specific (though at the moment it's limited to
6 bytes of address data).
Nobody ran up to me and said "this is the politically correct way to
do this!" so I don't want to hear any complaints from people who think
I could have done it more elegantly. Consider yourselves lucky I didn't
do it by having ifconfig tread all over /dev/kmem.
|
| |
|
| |
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
|
|
|
| |
Approved by: jkh
|
| |
|
|
|
|
|
|
|
|
|
| |
Improve compatibility with BSD/OS, and also more accurately reflect that
IP aliases aren't really any different than the primary IP address on an
interface.
Reviewed by: dcs
Approved by: jkh
|
|
|
|
|
|
|
|
|
| |
IPv6 scoped addr display is not yet supported by ifconfig
and route. Now almost of IPv6 apps support it, so its support
in ifconfig and route is important to keep consisetncy, and
to avoid user confusion.
Approved by: jkh
|
|
|
|
|
| |
the strings "FreeBSD" and "NetBSD". Use the .Fx or .Nx macro
instead.
|
|
|
|
|
|
| |
- minor sanity.
PR: 15318
|
|
|
|
| |
Submitted by: Jeroen C. van Gelderen <jeroen@vangelderen.org>
|
| |
|