summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Collapse)Author
2000-06-19de-#ifdef-izeJason Wright
2000-06-18move m_pullup2() equivalent for KAME requirement into ip6_input().Jun-ichiro itojun Hagino
it was in looutput() to make KAME ipsec4 happy. however, since we don't have KAME ipsec4 in openbsd, we don't need it in looutput().
2000-06-18increase my commit count by 1, because after telling niels three times that ↵Theo de Raadt
he has an indentation flaw, he has not fixed it, so i get a commit, thanks niels
2000-06-17fix commentsNiels Provos
2000-06-17on ifconfig down ignore all routes pointing to the downed interface.Niels Provos
okay itojun@ deraadt@
2000-06-16take MIN/MAX from param.h, okay theo@Niels Provos
2000-06-16use memcmp() instead of bcmp(), memcmp is <,=,> but bcmp is =,!=Theo de Raadt
2000-06-08Add explicit inclusions of signalvar.h to files actually using syms definedNiklas Hallqvist
there but relying on an indirect inclusion
2000-06-02vlan was consuming all vlan frames before they had a chance to be bridged.Jason Wright
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.
2000-06-02On input if the packet matches one of the member interface MAC addresses,Jason Wright
set the receiving interface to be that interface for further processing; thanks to dorcula@uncool.org for reporting and testing.
2000-05-25on packets incoming to the bridge machine itself, respect theJason Wright
LEARNING flag on the receiving interface (ie. don't learn when you're not supposed to).
2000-05-21deleting some routes created by imcp redirects could result in panicNiels Provos
fix from NetBSD: Delay clearing of RTF_UP until after deleting rt_gwroute.
2000-05-17crank rt_refcnt to 32 bits, no userland effectsTheo de Raadt
2000-05-15Check to make sure vlan tag is valid (12bit) in SIOCSETVLANChris Cappuccio
2000-05-05cope with interface detach (like pcmcia card removal). remove anyJun-ichiro itojun Hagino
IPv6 addresses assigned to the interface. reported by ho, bunch of help from niklas. KAME PR 231.
2000-04-27Fix SIOCSIFMTUChris Cappuccio
2000-04-26Remove redundant superuser check in SIOCSIFMTUChris Cappuccio
(already done in if.c) and modify comments
2000-04-26if_vlan from FreeBSD and a few modificationsChris Cappuccio
2000-04-26CruftChris Cappuccio
2000-04-26SIOCSIFGENERIC is now in sys/sockio.hChris Cappuccio
2000-04-18Stats for bridge output too.Angelos D. Keromytis
2000-04-18Sanity check on dequeued mbufs, also keep track of correct interfaceAngelos D. Keromytis
for statistics purposes.
2000-04-12Fix checksum for outgoing etherip/ipip packets from enc interfaces.Angelos D. Keromytis
2000-04-10don't return directly from bridge_ioctl without splx() on invalid encJason Wright
interfaces; modified version of patch from Armin Wolfermann <armin@wolfermann.org>.
2000-04-10Minor oops in sanity logic, IFF_RUNNING is set/unset with IFF_UP,Angelos D. Keromytis
be paranoid with uninitialized variable.
2000-04-10output routine enqueues and calls start, rather than requeueing for input.Angelos D. Keromytis
2000-04-10Typo.Angelos D. Keromytis
2000-04-10SIOCAIFADDR.Angelos D. Keromytis
2000-04-10Allow setting address.Angelos D. Keromytis
2000-04-08If IFF_LINK0 is set, do IP-in-IP instead of Ethernet-in-IP. This willAngelos D. Keromytis
be used to implement overlay networks and more flexible road-warrior support.
2000-03-26Add RCS ID.Angelos D. Keromytis
2000-03-23New timeout code.Artur Grabowski
2000-03-23Remove code from the stone age.Artur Grabowski
2000-03-22remove bogus commentJun-ichiro itojun Hagino
2000-03-22remove if_withname(), which was imported during KAME merge by mistake.Jun-ichiro itojun Hagino
2000-03-22802.11 stuff beginnings, from netbsdMichael Shalayeff
2000-03-21add SIOCGIFMTU/SIOCSIFMTU; remediate redundant code of tun, ppp, sppp; chris@ okMichael Shalayeff
2000-03-21small knits in .c, more media definitions from netbsd in .hMichael Shalayeff
2000-03-17Cryptographic services framework, and software "device driver". TheAngelos D. Keromytis
idea is to support various cryptographic hardware accelerators (which may be (detachable) cards, secondary/tertiary/etc processors, software crypto, etc). Supports session migration between crypto devices. What it doesn't (yet) support: - multiple instances of the same algorithm used in the same session - use of multiple crypto drivers in the same session - asymmetric crypto No support for a userland device yet. IPsec code path modified to allow for asynchronous cryptography (callbacks used in both input and output processing). Some unrelated code simplification done in the process (especially for AH). Development of this code kindly supported by Network Security Technologies (NSTI). The code was writen mostly in Greece, and is being committed from Montreal.
2000-03-12remove redundant check against ifa_dstaddr.Jun-ichiro itojun Hagino
2000-03-12don't touch root radix node on RTM_*. this can panic system fromJun-ichiro itojun Hagino
non-root userland process, under certain routing table setup. http://orange.kame.net/dev/query-pr.cgi?pr=217
2000-03-03$OpenBSD$Todd T. Fries
2000-02-28remove unneeded variable and cleanJason Wright
2000-02-26use LIST_* macros where appropriate instead of using LIST* internals.Michael Shalayeff
From netbsd add 802.11 media types and options add ifmedia_delete_instance() to be used in *detach() routines. a few minor knits. jason@ ok.
2000-02-21Rework bridge_filter() so that it does not require a full packet copyJason Wright
Allow for reusing the current mbuf (rather than a copy) for the last interface in the list in bridge_output(). Replace some pointer derefs with on the stack copies of the data.
2000-02-19set interface fields to null when detaching substructuresNiklas Hallqvist
in preparation for softc retainment.
2000-02-18From NetBSD:Jason Wright
Bump media variant bits and alter IFM_TMASK accordingly Add IFM_HPNA_1 (HomePNA 1.0)
2000-02-17backout incomplete hack from KAME codebase (originally from bbn).Jun-ichiro itojun Hagino
the hack tries to respect ifa or ifp passed to RTM_ADD. However, the change broke certain link-layers. They include: - midway ethernet card (en*), which uses sockaddr_dl in gateway portion to pass PVC information. with the patch, the gateway portion will be overwritten by empty sockaddr_dl and PVC initialization will fail. - IPv6, which can't set static ND table with the patch (ndp -s) with the similar reason. There may be improved hack coming soon, hope the new one does not break others.
2000-02-07fix include file path related to ip6.Jun-ichiro itojun Hagino
2000-02-07make more check about mbuf len before rolling message for routing header.Jun-ichiro itojun Hagino