summaryrefslogtreecommitdiff
path: root/sys/netiso
AgeCommit message (Collapse)Author
2002-08-28Fix a problem where passing NULL as a pointer with varargs does not promotePer Fogelstrom
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@
2002-08-08Use & to test if bits are set, not &&; art@ ok.Aaron Campbell
2002-07-31fix potential NULL pointer deref. From: tedu <grendel@zeitbombe.org>Jun-ichiro itojun Hagino
2002-07-02inital -> initialNathan Binkert
2002-04-30arguement -> argumentTheo de Raadt
2002-04-29wierd -> weirdPeter Valchev
2002-03-26m_freem(NULL) bad style, ok jason@Niklas Hallqvist
2002-03-15Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsTodd C. Miller
the ANSI way.
2002-03-15Cosmetic changes only, primarily making comments line up nicely after theTodd C. Miller
__P removal.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-18bye bye. i delete this not because it is disgusting, but because it is ↵Theo de Raadt
disgusting code in the wrong place
2001-11-19more than typoTheo de Raadt
2001-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-08-19More old timeouts removal, mainly affected unused/unmaintained code.Miod Vallat
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-06-27Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, dependingAngelos D. Keromytis
on how macros should be treated. Code by fgsch@, ok by me and itojun@
2001-06-25Don't double-clear M_PKTHDR/tags.Angelos D. Keromytis
2001-06-25Move common post M_COPY_HDR manipulation to the macro itself; angelos@ ok.Federico G. Schwindt
2001-06-23Likewise, use m_tag_init()Angelos D. Keromytis
2001-06-15change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.Jun-ichiro itojun Hagino
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.
2001-05-27More tag fixups (why do I bother with this...)Angelos D. Keromytis
2001-05-25recover old acecept(2) behavior (no ECONNABORTED) for unix domain socket.Jun-ichiro itojun Hagino
it is to be friendly with postfix daemon-to-daemon communication (not 100% sure if which behavior is correct, specwise). patch similar to netbsd.
2001-05-24Dereference mbuf after validity check (tedu@heorot.stanford.edu)Angelos D. Keromytis
2001-05-22Initialize packet tags.Angelos D. Keromytis
2001-05-20Convert from tdbi to packet tags.Angelos D. Keromytis
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
2001-03-23Use M_COPY_PKTHDR(), and zero out tdbi.Angelos D. Keromytis
2001-02-06allow changing number of loopbacks in ukc.Michael Shalayeff
change rest of the code to use lo0ifp pointing to the corresponding struct ifnet. itojun@ and niklas@ ok
2001-01-19pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted).Jun-ichiro itojun Hagino
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.
2000-06-16take MIN/MAX from param.h, okay theo@Niels Provos
2000-02-25clear m->m_pkthdr when changing mbuf type to M_PKTHDR.Jun-ichiro itojun Hagino
without it, junk pointer in m->m_pkthdr.tdbi may bite us.
1999-12-08bring in KAME IPv6 code, dated 19991208.Jun-ichiro itojun Hagino
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).
1999-04-22we don't need to include buf.hArtur Grabowski
1998-04-04gcc 2.8 supplicationdon
1998-01-03ignore PRU_SHUTDOWN if socket is already shutdownTheo de Raadt
1997-09-07Enclose comments after #endif in /* */ and #if 0 out this sectionTodd C. Miller
instead of commenting it out to avoid nested comments.
1997-08-18#include <string.h> not <strings.h> -- Yes, I'm a weanie...Todd C. Miller
1997-02-08need arc4random protoTheo de Raadt
1996-05-22syncTheo de Raadt
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1996-05-01from netbsd; fix a printf format stringTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-03-19Missed from last import.Michael Shalayeff
1996-03-04Initial commit of NetBSD 960217 netiso.Michael Shalayeff
all the rest is the fixes to the import by Niklas.
1995-12-14from netbsd:Theo de Raadt
make netinet work on systems where pointers and longs are 64 bits (like the alpha). Biggest problem: IP headers were overlayed with structure which included pointers, and which therefore didn't overlay properly on 64-bit machines. Solution: instead of threading pointers through IP header overlays, add a "queue element" structure to do the threading, and point it at the ip headers.
1995-10-18initial import of NetBSD treeTheo de Raadt