summaryrefslogtreecommitdiffstats
path: root/sys/net/if_loop.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* remove remaining IPX hooks. all inside #ifdef IPX, so no actual changehenning2007-06-061-18/+1
|
* allow bpf(4) to ignore packets based on their direction (inbound ordjm2006-03-251-2/+3
| | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
* With the exception of two other small uncommited diffs this movesbrad2006-03-041-5/+5
| | | | | | the remainder of the network stack from splimp to splnet. ok miod@
* Remove redundant calls to bpfdetach.canacar2006-01-041-4/+1
| | | | ok brad@
* pass the AF in network byte order to bpfmarkus2005-08-021-2/+2
|
* Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainpascoe2005-07-311-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 interfaceshenning2005-06-121-1/+2
| | | | needs special treatment to join the lo group, ryan ok
* no more netns handling for the various tunnel devices and loopbackhenning2005-06-081-18/+1
|
* remove netiso shitz, millert okhenning2004-07-161-19/+2
|
* return error in ifc_destroy; ok deraadt, itojun, cedric, hshoexermarkus2003-12-161-4/+5
|
* de-register. deraadt okitojun2003-12-101-8/+8
|
* add support for ifconfig clone/destroy; ok henning deraadtmarkus2003-12-031-24/+56
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* string fixes; tedu okderaadt2003-05-031-2/+2
|
* just as a safety measure, set m_flags to 0 for mbufs allocated on stack.itojun2003-05-031-1/+2
| | | | dhartmei ok
* remove the altq classifier code which is replaced by pf and no longer used.kjc2003-01-071-9/+2
| | | | ok henning@, deraadt@
* KNF - return is not a function.itojun2002-09-111-2/+2
|
* allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always knowitojun2002-06-301-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 sysmillert2002-03-141-2/+2
|
* allow for setting of the loopback MTU, set IFF_RUNNING on address configurationdugsong2002-01-021-2/+7
|
* NRL license cleaningderaadt2001-12-181-11/+39
|
* Make preprocessor happier, don't give it untasty tokens at end of input.espie2001-07-041-3/+3
| | | | Ok millert@
* introduce the ALTQ queue macros into sys/net files.kjc2001-06-271-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.itojun2001-06-151-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 memorymickey2001-02-061-1/+2
|
* allow changing number of loopbacks in ukc.mickey2001-02-061-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).itojun2001-01-191-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().itojun2000-06-181-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.itojun2000-02-071-2/+2
|
* bring in KAME IPv6 code, dated 19991208.itojun1999-12-081-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/cmetzderaadt1999-01-081-1/+29
|
* convert DLT_LOOP header to network-order u_int32_tderaadt1998-06-261-5/+5
|
* add DLT_LOOP support; 4-byte header indicates proto; cstone@pobox.comderaadt1998-06-041-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 kernelmickey1997-12-311-2/+2
|
* AppleTalk support based on netatalk-1.4a2 and FreeBSD.denny1997-07-231-1/+13
|
* provide if_attachhead(), and make if_loop use itderaadt1996-06-291-2/+2
|
* if_name/if_unit -> if_xname/if_softcderaadt1996-05-101-5/+5
|
* IPX additions and fixes.mickey1996-04-281-0/+1
| | | | | | | ether -- missed the input for IPX. fddi -- just added. ppp -- field codes added. loop -- minor fix.
* Add IPX support.mickey1996-04-241-0/+11
|
* do not forward garbled SIMPLEX-generated packets to bpf; from Jean-Luc.Richier@imag.fr; netbsd pr#1693deraadt1995-11-131-1/+6
|
* initial import of NetBSD treederaadt1995-10-181-0/+255