| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
then ifnet_addrs[ifp->if_index] leaks; if it's called after if_detach()
then if_free_sadl() does nothing; ok itojun
|
| |
|
|
|
|
|
|
| |
Fixes leakage of mbufs on error.
Pointed out by Max Laier.
|
|
|
|
|
|
|
|
|
|
| |
Allows multiple hosts to share an IP address, providing high availability
and load balancing.
Based on code by mickey@, with additional help from markus@
and Marco_Pfatschbacher@genua.de
ok deraadt@
|
|
|
|
|
| |
pf routed. prevents a kernel lockup with some (non-sensical) route-to
rules. report and debugging by mpech@. ok itojun@, henning@, mpech@.
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
|
|
|
| |
ok henning@, deraadt@
|
| |
|
|
|
|
|
| |
the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach().
from netbsd. fgs ok
|
|
|
|
|
|
|
|
|
| |
address from ether_addmulti() and ether_delmulti() into ether_multiaddr(),
a'la netbsd.
Also clean up some magic numbers.
itojun likes it
|
|
|
|
|
| |
- make altq_etherclassify() able to handle packets whose ethernet header
is in a separate mbuf.
|
| |
|
| |
|
|
|
|
| |
(And convert a few loops to TAILQ_FOREACH).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
has not yet been called at this point.
replace arc4random() with the more mundae random()&0xff as the use
of a strong PRNG is not need here, where this code just helps fix
up broken MAC addresses anyway
now to find the real problem with my sis(4) LAN interface...
ok'd by jason@
|
| |
|
| |
|
|
|
|
| |
a result of a call to bridge_input().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the new model removes direct references to the fields in ifp->if_snd,
and defines the following macros to manipulate ifp->if_snd.
IFQ_ENQUEUE(ifq, m, pktattr, err)
IFQ_DEQUEUE(ifq, m)
IFQ_POLL(ifq, m)
IFQ_PURGE(ifq)
IFQ_IS_EMPTY(ifq)
the new model also enforces some rules regarding how to use these macros.
details are descrined in
http://www.csl.sony.co.jp/~kjc/software/altq-new-design.txt
|
| |
|
|
|
|
|
| |
ether_input; all drivers should start migrating to this.
Discussed with jason@, deraadt@ more or les ok'ed.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific
interfaces only).
was: if_lastchange get updated on every packet transmission/receipt.
now: if_lastchange get updated when IFF_UP is changed.
|
|
|
|
| |
sync with netbsd/kame.
|
| |
|
|
|
|
| |
for (mcast || bcase || (unicast || for us)) is always called.
|
|
|
|
|
|
| |
define if_type for vlan interfaces (IFT_8021_VLAN)
#ifdef DEBUG some debugging printf's
protect against other uses of M_PROTO1
|
| |
|
|
|
|
|
|
|
| |
stack, they have to be pushed; when calling ether_input():
1 - unicast packets have the ifp of the matching interface
2 - bcast/mcast packets have the ifp of the first IFT_ETHER bridge member
based on discussion with angelos.
|
|
|
|
| |
NOTE: this requires recompiling brconfig with updated include files.
|
| |
|
|
|
|
|
|
| |
setting it to fe:e1:ba:d0:xx where xx is a random number. this avoids
various network catastrophies, and also client machines will complain
everytime that server is rebooted...
|
|
|
|
|
|
| |
Change the order of operations to be:
ether_input() -> bridge_input() -> vlan_input()
Also, only process vlan frames that are unicast for us or bcast/mcast.
|
|
|
|
|
| |
set the receiving interface to be that interface for further processing;
thanks to dorcula@uncool.org for reporting and testing.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support.
see sys/netinet6/{TODO,IMPLEMENTATION} for more details.
GENERIC configuration should work fine as before. GENERIC.v6 works fine
as well, but you'll need KAME userland tools to play with IPv6 (will be
bringed into soon).
|
|
|
|
| |
o when ~IFF_UP, don't act like a bridge for output either
|
|
|
|
| |
s remote interfaces, both ARP and local delivery had bugs
|
|
|
|
| |
other families than inet.
|
| |
|
| |
|
| |
|
| |
|