summaryrefslogtreecommitdiff
path: root/sys/netipx
AgeCommit message (Collapse)Author
2004-06-20Use arc4random; request art@ deraadt@Thorsten Lockert
2004-06-20Do not use time based randomization; ok deraadt@Thorsten Lockert
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
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@.
2003-12-10de-register. deraadt okJun-ichiro itojun Hagino
2003-10-26Use __packed attribute to cleanup the '#define XXX' stuff in here.Anil Madhavapeddy
Also stops the struct having a double ;; in variable declarations, which breaks a few non-gcc parsers. millert@ ok
2003-09-28Correct off-by-ones with respect to PRC_NCMDS. Mostly from FreeBSD.Chad Loder
OK krw@, deraadt@
2003-07-09do not flip ip_len/ip_off in netinet stack. deraadt ok.Jun-ichiro itojun Hagino
(please test, especially PF portion)
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-14move ETHERTYPE_xx declarations to <net/ethertypes.h>. meets netbsd practice.Jun-ichiro itojun Hagino
deraadt ok
2003-05-03string fixes; tedu okTheo de Raadt
2003-04-02make it compile after tcpstates changes elsewhereMichael Shalayeff
2002-09-18mad typo, only null can take itMichael Shalayeff
2002-09-06no ; at end of CTL_IPXPROTO_NAMESTheo de Raadt
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-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-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-09-23make this compile on alphaMichael Shalayeff
2001-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ 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-25Move common post M_COPY_HDR manipulation to the macro itself; angelos@ ok.Federico G. Schwindt
2001-05-27Fixup tags.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-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-01kill dtom, also fixes malloc bugs; fgsch@ okMichael Shalayeff
2001-03-23Be paranoid when copying m_pkthdr.Angelos D. Keromytis
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt
2000-09-22Add prototypes for ipx_addr() and ipx_ntoa(); mickey@ OK'dTodd C. Miller
2000-01-17Add sysctl vars for checksum, forwarding and netbios.Federico G. Schwindt
Remove ancient code from ipx_input. ipxrecvspace/ipxsendspace changed to ipx_xxx to match netinet counterparts.
2000-01-15PRU_DETACH does not return ENOTCONN. If ipxp is NULL, EINVAL will beFederico G. Schwindt
returned way above.
2000-01-15Some KNF.Federico G. Schwindt
2000-01-15Check that INET is defined. Revove unused code. Some KNF.Federico G. Schwindt
2000-01-15Remove unneded vars and code. 0 -> NULL. Some KNF.Federico G. Schwindt
Use statistics where available.
2000-01-15Remove the IPX ifdef; it's always there.Federico G. Schwindt
2000-01-15more KNF.Federico G. Schwindt
2000-01-15Don't recompute the checksum if tc is modified; from FreeBSD.Federico G. Schwindt
I'm not sure why we'd want to reset it. Leave the comment as is by now.
2000-01-15More statistics; from FreeBSD.Federico G. Schwindt
2000-01-15Remove unneeded mcopy. Add stats for errors in ipx_forward.Federico G. Schwindt
2000-01-13Rearrange IPXPROTO and IPXPORT names; add socket option for checksum; useFederico G. Schwindt
higher ports (> 6000) for privileged users; from FreeBSD. Add some new port entries.
2000-01-13Remove error protocol.Federico G. Schwindt
2000-01-13Fix compilation error introduced recently; thanks mickey.Federico G. Schwindt
2000-01-13IPXDEBUG -> SPXDEBUG.Federico G. Schwindt
2000-01-13rearrange includes.Federico G. Schwindt
2000-01-13some KNF.Federico G. Schwindt
2000-01-13more KNF. remove unneeded and ancient debug code.Federico G. Schwindt
2000-01-11Rearrange includes and remove unnecessary ones.Federico G. Schwindt