summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.c
AgeCommit message (Collapse)Author
2001-06-09Less aggressive include cleanup, so it won't piss of Theo again (one hopes)Angelos D. Keromytis
2001-06-08it is nice if the kernel compilesTheo de Raadt
2001-06-08Cut down on include files.Angelos D. Keromytis
2001-05-15Accept ARP packet coming from bridge interface without IP addressGrigoriy Orlov
configured. But deny such a packet if it coming on "wrong" bridge. Reported and tested by form@ ho@, jason@ Ok.
2001-02-06allow changing number of loopbacks in ukc.Michael Shalayeff
change rest of the code to use lo0ifp pointing to the corresponding struct ifnet. itojun@ and niklas@ ok
2001-02-05with a bunch of encapsulation layers, eg. (IPsec+IP+EtherIP+ether_header),Jason Wright
the arp data will not necessarily be in the first mbuf: add m_pullup()'s to make it so.
2001-01-19pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted).Jun-ichiro itojun Hagino
have sys/net/route.c:rtrequest1(), which takes rt_addrinfo * as the argument. pass rt_addrinfo all the way down to rtrequest, and ifa->ifa_rtrequest. 3rd arg of ifa->ifa_rtrequest is now rt_addrinfo * instead of sockaddr * (almost noone is using it anyways). benefit: the follwoing command now works. previously we need two route(8) invocations, "add" then "change". # route add -inet6 default ::1 -ifp gif0 remove unsafe typecast in rtrequest(), from rtentry * to sockaddr *. it was introduced by 4.3BSD-reno and never corrected. XXX is eon_rtrequest() change correct regarding to 3rd arg? eon_rtrequest() and rtrequest() were incorrect since 4.3BSD-reno, so i do not have correct answer in the source code. someone with more clue about netiso-over-ip, please help.
2000-12-28export arprequest() and make it use ifnet* as the 1st arg; tested; angelos@ okMichael Shalayeff
2000-11-27Style. Parts of xcast handling needs more thought. (provos@ ok)Hakan Olsson
2000-11-27Be more careful with ARP. Fix PR#1490. From gluk@ptci.ruHakan Olsson
2000-06-22Convert arptimer to new timeouts.Artur Grabowski
2000-06-20Remove static from arptimer so that "show callout" in ddb shows the rightArtur Grabowski
function.
2000-03-17remove multiple function declarations.Artur Grabowski
1999-11-10Fix typo in printfChris Cappuccio
1999-08-08Fix cases when wanting to communicate with the bridge'Niklas Hallqvist
s remote interfaces, both ARP and local delivery had bugs
1999-08-08Support detaching of network interfaces. Still work to do in ipf, andNiklas Hallqvist
other families than inet.
1999-08-02Ethernet, not 10 Mb/s EthernetTheo de Raadt
1999-07-18Prevent host on one interface from overwriting ARP route entry for aHakan Olsson
host on a different interface. Also add interface name to other overwrite diagnostic messages.
1999-05-16Add support for static ARP entries that cannot be overwritten.Hakan Olsson
Ordinary static ARPs that are overwritten will no longer still be static.
1999-03-13indentTheo de Raadt
1997-09-28more \n in log()Theo de Raadt
1997-08-01when family is AF_UNSPEC,flipk
ether_shost fields no longer get set for us. initialize them ourselves.
1997-07-24do not ignore IFF_NOARPTheo de Raadt
1997-07-21make this compile until niklas fixes the boo-booTheo de Raadt
1997-02-11IPF 1.3.7kstailey
1996-05-22When sending an ARP request, use the interface address for the route, ratherTheo de Raadt
than the first address assigned. This gives slightly different behaviour in the presence of aliases. From Bill Fenner, via Pete Bentley.
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1996-01-06one more inet_ntoa() improvementTheo de Raadt
1995-11-28add inet_ntoa() to the kernel. use it to log nicer messages. idea from freebsdTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt