| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
<net/if_arp.h> and fixed the things that depended on it. The nested
include just allowed unportable programs to compile and made my
simple #include checking program report that networking code doesn't
need to include <sys/socket.h>.
|
|
|
|
| |
as it's still used for what the original BSD4.4 comment says it's for.
|
|
|
|
|
| |
Add ether_ioctl() which can take care of the SIOC[SG]IFADDR cases for
most (ethernet) drivers.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interfaces. This creates two new tables in the net.link.generic branch
of the MIB; one contains (essentially) `ifdata' structures, and the other
contains a blob provided by the interface (and presumably used to
implement link-layer-specific MIB variables). A number of things
have been moved around in the `ifnet' and `ifdata' structures, so
NEW VERSIONS OF ifconfig(8) AND routed(8) ARE REQUIRED. (A simple
recompile is all that's necessary.)
I have a sample program which uses this interface for those interested
in making use of it.
|
|
|
|
| |
of the last (IF_ENQ_DROP) commit.
|
|
|
|
|
|
|
|
| |
The old system had the misfeature that the only policy it could implement
was tail-drop; the new IF_ENQ_DROP macro/function makes it possible
to implement more sophisticated queueing policies on a system-wide
basis. No code actually uses this yet (although on my machine
I have converted the ethernet and (polled) loopback to use it).
|
|
|
|
|
| |
SNMP requirements. Update description of ifnet.if_lastchange in if.h
to indicate this.
|
|
|
|
|
|
|
|
| |
- fill in and use ifp->if_softc
- use if_bpf rather than private cookie variables
- change bpf interface to take advantage of this
- call ether_ifattach() directly from Ethernet drivers
- delete kludge in if_attach() that did this indirectly
|
|
|
|
|
|
|
|
|
|
|
|
| |
of limited utility. In their place, add bunch of pointers
which will eventually be needed by the polled-interrupt scheme we're working
here. (It will probably be a while before the code is written and
committed here.) At the same time, a `void *if_softc' field
was added to the beginning of the structure to make certain driver
writers happier.
The practical upshot of all this is that you need to
recompile utilities such as netstat which manipulate struct ifnet.
|
|
|
|
|
| |
Sorry for the delay.
(%D is for hexdumping.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed ifnet.if_init and ifnet.if_reset as they are generally unused.
Change the parameter passed to if_watchdog to be a ifnet * rather than
a unit number. All of this is an attempt to move toward not needing an
array of softc pointers (which is usually static in size) to point to
the driver softc.
if_ed.c:
Changed some of the argument passing to some functions to make a little
more sense.
if_ep.c, if_vx.c:
Killed completely bogus use of if_timer. It was being set in such a way
that the interface was being reset once per second (blech!).
|
|
|
|
|
| |
dropped for 4.4, but for some reason this flag lived on. (Until
today, that is.)
|
|
|
|
|
| |
various bits of software to save some data in the ifnet structure without
having to constantly change the declaration thereof.
|
|
|
|
|
|
| |
external linkage.
Remove useless comments saying that SYSINIT() does system initialization.
|
|
|
|
| |
with -Wnested-externs.
|
|
|
|
|
|
| |
C++ will match the scopes for C.
Submitted by: Warner Losh
|
| |
|
|
|
|
| |
Reviewed by: wollman
|
|
|
|
|
|
| |
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
|
|
|
|
| |
.c file where it belongs. Bezeroed some uninitialized malloc data.
|
| |
|
|
|
|
| |
successor of IFF_ALTPHYS).
|
|
|
|
| |
be.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and one set by the protocol family. Also add another parameter to
rtalloc1() to allow for any interface flags to be ignored; currently
this is only useful for RTF_PRCLONING. Get rid of rt_prflags and re-unite
with rt_flags. Add T/TCP ``route metrics''.
NB: YOU MUST RECOMPILE `route' AND OTHER RELATED PROGRAMS AS A RESULT OF
THIS CHANGE.
This also adds a new interface parameter, `ifi_physical', which will
eventually replace IFF_ALTPHYS as the mechanism for specifying the
particular physical connection desired on a multiple-connection card.
NB: YOU MUST RECOMPILE `ifconfig' AND OTHER RELATED PROGRAMS AS A RESULT OF
THIS CHANGE.
|
| |
|
|
|
|
|
|
| |
genassym compile when KERNEL is not defined.
Uniformize idempotency ifdef.
|
|
|
|
|
|
|
|
|
|
| |
Declare a complete prototype for the function pointer *ifa_rtrequest.
radix.h:
Declare a complete prototype for the function pointer *rnh_walktree
and for the function rn_walktree.
Uniformize idempotency ifdef.
|
|
|
|
|
| |
more bits left in if_flags and I don't want to make it a long this late in
the release cycle.)
|
|
|
|
| |
Submitted by: Paul
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
|
|
|
|
| |
interface MTU.
|
| |
|
|
|
|
|
| |
Reviewed by: Rodney W. Grimes
Submitted by: John Dyson and David Greenman
|
|
|