NetBSD/sys/net
darran 36ea3668b9 Fixes PR kern/41069 and PR kern/41070.
Extends the Opencrypto API to allow the destination buffer size to be
specified when its not the same size as the input buffer (i.e. for
operations like compress and decompress).
The crypto_op and crypt_n_op structures gain a u_int dst_len field.
The session_op structure gains a comp_alg field to specify a compression
algorithm.
Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION,  CIOCCRYPT,
and CIOCNCRYPTM.
Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION,
OCIOCCRYPT, and OCIOCNCRYPTM.

Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which
implement the original ioctls and set dst_len and comp_alg to 0.

Adds user-space access to compression features.

Adds software gzip support (CRYPTO_GZIP_COMP).

Adds the fast version of crc32 from zlib to libkern. This should be generally
useful and provide a place to start normalizing the various crc32 routines
in the kernel.  The crc32 routine is used in this patch to support GZIP.

With input and support from tls@NetBSD.org.
2009-03-25 01:26:12 +00:00
..
agr ansify function definitions 2009-03-15 21:23:31 +00:00
bpf_filter.c As the scratch memory is only ever copied to or from A and X, make it 2008-08-20 13:01:54 +00:00
bpf.c like KERN_FILE2: *do* update "needed" when there is no count. we want 2009-03-11 05:55:22 +00:00
bpf.h restore binary compatibility on 64 bit systems. 2009-01-13 19:10:52 +00:00
bpfdesc.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
bridgestp.c Fix multiple problems: 2009-01-18 10:28:55 +00:00
bsd-comp.c Fix handling of ppp compressor modules, from Andrew Doran's input. 2008-11-29 23:15:20 +00:00
dlt.h
ethertypes.h
files.pf merge yamt-pf42 branch. 2008-06-18 09:06:25 +00:00
if_arc.h
if_arcsubr.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_arp.h
if_atm.h
if_atmsubr.c bcopy -> memcpy 2009-03-18 17:06:41 +00:00
if_bridge.c Fix multiple problems: 2009-01-18 10:28:55 +00:00
if_bridgevar.h Fix multiple problems: 2009-01-18 10:28:55 +00:00
if_dl.h
if_eco.h
if_ecosubr.c bzero -> memset 2009-03-18 16:00:08 +00:00
if_ether.h bcmp -> memcmp 2009-03-18 15:14:29 +00:00
if_etherip.c bcmp -> memcmp 2009-03-18 15:14:29 +00:00
if_etherip.h Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
if_ethersubr.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_faith.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_faith.h
if_fddi.h
if_fddisubr.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_gif.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_gif.h Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
if_gre.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_gre.h Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h 2008-09-08 23:36:53 +00:00
if_hippi.h
if_hippisubr.c bcopy -> memcpy 2009-03-18 17:06:41 +00:00
if_ieee1394.h
if_ieee1394subr.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_llc.h Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h 2008-09-08 23:36:53 +00:00
if_loop.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_media.c - Add more definitions from FreeBSD 2008-06-15 16:33:58 +00:00
if_media.h Add support for SerDes controllers; from the OpenBSD driver. Tested on a 2008-09-09 20:12:18 +00:00
if_ppp.c ppp_get_compressor: take module_lock when trying to load a module. PR/40428 2009-01-19 15:16:34 +00:00
if_ppp.h Fix handling of ppp compressor modules, from Andrew Doran's input. 2008-11-29 23:15:20 +00:00
if_pppoe.c PR/40690: Jordan Gordeev: pppoe(4) doesn't work when PPPoE relays are present 2009-02-19 15:17:50 +00:00
if_pppoe.h
if_pppvar.h
if_sl.c kill MALLOC and FREE macros. 2008-12-17 20:51:31 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c bcopy -> memcpy 2009-03-18 17:06:41 +00:00
if_spppvar.h Backout previous/restore initial fix for PR kern/39280. 2008-08-22 12:13:18 +00:00
if_srt.c bzero -> memset 2009-03-18 16:00:08 +00:00
if_srt.h
if_stf.c bcopy -> memcpy 2009-03-18 17:06:41 +00:00
if_stf.h
if_strip.c bcopy -> memcpy 2009-03-18 17:06:41 +00:00
if_stripvar.h
if_tap.c Deprecate the SIOCSIFPHYADDR ioctl and the sysctl node in favour 2009-03-13 18:40:10 +00:00
if_tap.h Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
if_token.h
if_tokensubr.c bcopy -> memcpy 2009-03-18 17:06:41 +00:00
if_tun.c Update comment for last. 2008-11-20 21:55:15 +00:00
if_tun.h
if_types.h
if_vlan.c kill MALLOC and FREE macros. 2008-12-17 20:51:31 +00:00
if_vlanvar.h
if.c PR/40603: Christoph Badura: unprivileged users can add and delete interface 2009-02-12 19:05:36 +00:00
if.h merge christos-time_t 2009-01-11 02:45:45 +00:00
link_proto.c *** Summary *** 2008-11-07 00:20:01 +00:00
Makefile Back out previous. It broke the build. 2008-05-05 13:41:29 +00:00
net_osdep.h
net_stats.c Simplify the interface to netstat_sysctl() and allocate space for 2008-05-04 07:22:14 +00:00
net_stats.h Simplify the interface to netstat_sysctl() and allocate space for 2008-05-04 07:22:14 +00:00
netisr_dispatch.h
netisr.h Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
pfil.c Cosmetic: use LIST_FOREACH(). Join lines. 2008-06-23 03:13:12 +00:00
pfil.h remove clause #3 from my license where there are no other 2008-05-29 14:51:25 +00:00
pfkeyv2.h
ppp_defs.h
ppp_tty.c Properly fix the "hanging in tty" bug that was worked around with cv_wakeup() 2008-05-25 19:22:21 +00:00
ppp-comp.h Fix handling of ppp compressor modules, from Andrew Doran's input. 2008-11-29 23:15:20 +00:00
ppp-deflate.c kill MALLOC and FREE macros. 2008-12-17 20:51:31 +00:00
radix.c ansify function definitions 2009-03-15 20:30:05 +00:00
radix.h Cosmetic: break a line, change some spaces to tabs, remove an extra 2009-02-05 21:45:36 +00:00
raw_cb.c Remove the pcb from the rawcb list before sofree'ing it. 2008-08-04 06:19:35 +00:00
raw_cb.h
raw_usrreq.c Delete local variable 'sockets', whose value is never used. Reported 2008-05-29 17:26:56 +00:00
route.c When a route is deleted or it's ifa changed and it's the connected route 2009-03-24 16:36:52 +00:00
route.h merge christos-time_t 2009-01-11 02:45:45 +00:00
rtsock.c Revert r1.119 as the implementation is broken. 2009-03-11 09:26:27 +00:00
slcompress.c bcopy -> memcpy 2009-03-18 17:06:41 +00:00
slcompress.h
slip.h
zlib.c Ansify function definitions w/o arguments. Generated with sed. 2009-03-18 10:22:21 +00:00
zlib.h Fixes PR kern/41069 and PR kern/41070. 2009-03-25 01:26:12 +00:00