Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | remove remaining IPX hooks. all inside #ifdef IPX, so no actual change | 2007-06-06 | 1 | -18/+1 | ||
| | ||||||
* | allow bpf(4) to ignore packets based on their direction (inbound or | 2006-03-25 | 1 | -2/+3 | ||
| | | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||||
* | With the exception of two other small uncommited diffs this moves | 2006-03-04 | 1 | -5/+5 | ||
| | | | | | | the remainder of the network stack from splimp to splnet. ok miod@ | |||||
* | Remove redundant calls to bpfdetach. | 2006-01-04 | 1 | -4/+1 | ||
| | | | | ok brad@ | |||||
* | pass the AF in network byte order to bpf | 2005-08-02 | 1 | -2/+2 | ||
| | ||||||
* | Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chain | 2005-07-31 | 1 | -19/+3 | ||
| | | | | | | | | | | to bpf with either an address family or other header added. These helpers only allocate a much smaller struct m_hdr on the stack when needed, rather than leaving 256 byte struct mbufs on the stack in deep call paths. Also removes a fair bit of duplicated code. commit now, tune after deraadt@ | |||||
* | lo0 is special, attaches early an different than the other loopback interfaces | 2005-06-12 | 1 | -1/+2 | ||
| | | | | needs special treatment to join the lo group, ryan ok | |||||
* | no more netns handling for the various tunnel devices and loopback | 2005-06-08 | 1 | -18/+1 | ||
| | ||||||
* | remove netiso shitz, millert ok | 2004-07-16 | 1 | -19/+2 | ||
| | ||||||
* | return error in ifc_destroy; ok deraadt, itojun, cedric, hshoexer | 2003-12-16 | 1 | -4/+5 | ||
| | ||||||
* | de-register. deraadt ok | 2003-12-10 | 1 | -8/+8 | ||
| | ||||||
* | add support for ifconfig clone/destroy; ok henning deraadt | 2003-12-03 | 1 | -24/+56 | ||
| | ||||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | ||
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
* | string fixes; tedu ok | 2003-05-03 | 1 | -2/+2 | ||
| | ||||||
* | just as a safety measure, set m_flags to 0 for mbufs allocated on stack. | 2003-05-03 | 1 | -1/+2 | ||
| | | | | dhartmei ok | |||||
* | remove the altq classifier code which is replaced by pf and no longer used. | 2003-01-07 | 1 | -9/+2 | ||
| | | | | ok henning@, deraadt@ | |||||
* | KNF - return is not a function. | 2002-09-11 | 1 | -2/+2 | ||
| | ||||||
* | allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always know | 2002-06-30 | 1 | -1/+2 | ||
| | | | | | the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach(). from netbsd. fgs ok | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -2/+2 | ||
| | ||||||
* | allow for setting of the loopback MTU, set IFF_RUNNING on address configuration | 2002-01-02 | 1 | -2/+7 | ||
| | ||||||
* | NRL license cleaning | 2001-12-18 | 1 | -11/+39 | ||
| | ||||||
* | Make preprocessor happier, don't give it untasty tokens at end of input. | 2001-07-04 | 1 | -3/+3 | ||
| | | | | Ok millert@ | |||||
* | introduce the ALTQ queue macros into sys/net files. | 2001-06-27 | 1 | -1/+121 | ||
| | | | | | | | | | | | | | | 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 | |||||
* | change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange. | 2001-06-15 | 1 | -2/+1 | ||
| | | | | | | | | 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. | |||||
* | forgot to bzero() malloced memory | 2001-02-06 | 1 | -1/+2 | ||
| | ||||||
* | allow changing number of loopbacks in ukc. | 2001-02-06 | 1 | -6/+7 | ||
| | | | | | | change rest of the code to use lo0ifp pointing to the corresponding struct ifnet. itojun@ and niklas@ ok | |||||
* | pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted). | 2001-01-19 | 1 | -3/+3 | ||
| | | | | | | | | | | | | | | | | | | | 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. | |||||
* | move m_pullup2() equivalent for KAME requirement into ip6_input(). | 2000-06-18 | 1 | -49/+1 | ||
| | | | | | | 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(). | |||||
* | fix include file path related to ip6. | 2000-02-07 | 1 | -2/+2 | ||
| | ||||||
* | bring in KAME IPv6 code, dated 19991208. | 1999-12-08 | 1 | -11/+95 | ||
| | | | | | | | | | 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). | |||||
* | inet6 support; NRL/cmetz | 1999-01-08 | 1 | -1/+29 | ||
| | ||||||
* | convert DLT_LOOP header to network-order u_int32_t | 1998-06-26 | 1 | -5/+5 | ||
| | ||||||
* | add DLT_LOOP support; 4-byte header indicates proto; cstone@pobox.com | 1998-06-04 | 1 | -3/+3 | ||
| | ||||||
* | make the loopback interfaces ordered in the iface list, so they show up in netstat much better; this particular case showed up with more than one loopback configured in the kernel | 1997-12-31 | 1 | -2/+2 | ||
| | ||||||
* | AppleTalk support based on netatalk-1.4a2 and FreeBSD. | 1997-07-23 | 1 | -1/+13 | ||
| | ||||||
* | provide if_attachhead(), and make if_loop use it | 1996-06-29 | 1 | -2/+2 | ||
| | ||||||
* | if_name/if_unit -> if_xname/if_softc | 1996-05-10 | 1 | -5/+5 | ||
| | ||||||
* | IPX additions and fixes. | 1996-04-28 | 1 | -0/+1 | ||
| | | | | | | | ether -- missed the input for IPX. fddi -- just added. ppp -- field codes added. loop -- minor fix. | |||||
* | Add IPX support. | 1996-04-24 | 1 | -0/+11 | ||
| | ||||||
* | do not forward garbled SIMPLEX-generated packets to bpf; from Jean-Luc.Richier@imag.fr; netbsd pr#1693 | 1995-11-13 | 1 | -1/+6 | ||
| | ||||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+255 | ||