summaryrefslogtreecommitdiffstats
path: root/sys/netiso/if_eon.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bye bye netiso, you won't be missedhenning2004-07-151-622/+0
| | | | ok millert deraadt
* First step towards more sane time handling in the kernel -- this changestholo2004-06-211-3/+1
| | | | | | | | things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
* put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosespie2004-01-031-2/+2
| | | | | | | to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
* de-register. deraadt okitojun2003-12-101-17/+17
|
* Correct off-by-ones with respect to PRC_NCMDS. Mostly from FreeBSD.cloder2003-09-281-2/+2
| | | | OK krw@, deraadt@
* do not flip ip_len/ip_off in netinet stack. deraadt ok.itojun2003-07-091-3/+4
| | | | (please test, especially PF portion)
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* string fixderaadt2003-05-031-2/+2
|
* Fix a problem where passing NULL as a pointer with varargs does not promotepefo2002-08-281-2/+2
| | | | | | | | NULL to full 64 bits on a 64 bit address system. Soultion is to add a (void *) cast before NULL. This makes a 64 bit MIPS kernel work and will probably help future 64 bit ports as well. OK from art@
* fix potential NULL pointer deref. From: tedu <grendel@zeitbombe.org>itojun2002-07-311-2/+2
|
* m_freem(NULL) bad style, ok jason@niklas2002-03-261-2/+3
|
* Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsmillert2002-03-151-7/+1
| | | | the ANSI way.
* Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, dependingangelos2001-06-271-2/+2
| | | | on how macros should be treated. Code by fgsch@, ok by me and itojun@
* Move common post M_COPY_HDR manipulation to the macro itself; angelos@ ok.fgsch2001-06-251-3/+1
|
* change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.itojun2001-06-151-3/+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.
* More tag fixups (why do I bother with this...)angelos2001-05-271-1/+4
|
* allow changing number of loopbacks in ukc.mickey2001-02-061-6/+2
| | | | | | 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-4/+5
| | | | | | | | | | | | | | | | | | | 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.
* bring in KAME IPv6 code, dated 19991208.itojun1999-12-081-3/+7
| | | | | | | | | 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).
* we don't need to include buf.hart1999-04-221-2/+1
|
* syncderaadt1996-05-221-2/+4
|
* if_name/if_unit -> if_xname/if_softcderaadt1996-05-101-4/+4
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-11/+9
|
* Initial commit of NetBSD 960217 netiso.mickey1996-03-041-183/+228
| | | | all the rest is the fixes to the import by Niklas.
* initial import of NetBSD treederaadt1995-10-181-0/+588