summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Collapse)Author
2000-06-30Convert to use new timeout API.Artur Grabowski
2000-06-26timeout is in seconds, not ticks.Artur Grabowski
2000-06-26New timeouts.Artur Grabowski
2000-06-22Convert to new timeouts.Artur Grabowski
2000-06-20Convert if_slowtimo to use new timeouts.Artur Grabowski
2000-06-20knfJason Wright
2000-06-20initialize mtu/hlim for enc interface at encattach().Jun-ichiro itojun Hagino
backgronud: inbound ipsec packet will have enc* as m->m_pkthdr.rcvif. when we try to reflect the packet back in the kernel (like icmp6 echo), we'd generate packet toward enc* interface. icmp6_reflect() will take hoplimit value from nd_ifinfo[enc*], which was not initialized by the old code. XXX the change to m->m_pkthdr.rcvif violates IPv6 scoped routing. we will need to disable it, for at least IPv6.
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