summaryrefslogtreecommitdiffstats
path: root/sys/net/ppp-deflate.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ansijsg2021-03-051-43/+20
|
* M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forclaudio2018-11-091-5/+5
| | | | | | m_leadingspace() and m_trailingspace(). Convert all callers to call directly the functions and remove the defines. OK krw@, mpi@
* If you use sys/param.h, you don't need sys/types.hderaadt2017-09-081-2/+1
|
* When dealing with mbuf pointers passed down as function parameters,bluhm2017-06-191-3/+2
| | | | | | | bugs could easily result in use-after-free or double free. Introduce m_freemp() which automatically resets the pointer before freeing it. So we have less dangling pointers in the kernel. OK krw@ mpi@ claudio@
* m_freem() can handle NULL, do not check for this condition beforehands.deraadt2015-07-151-5/+4
| | | | ok stsp mpi
* replace some malloc multiplies with mallocarry. ok deraadt henningtedu2014-12-021-2/+2
|
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-6/+6
| | | | after discussions with beck deraadt kettenis.
* Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libzderaadt2011-07-071-17/+16
| | | | | | | | | | | | code. Missing chunks of the API are imported from the libc version, with a few #ifdef's to port it into the kernel environment. The bootblocks already used the newer code, and should encounter no surprises since there are so few changes to the existing files. In the kernel, ipcomp and kernel ppp are changed to the new API. ipcomp has been tested. ok tedu the brave
* malloc sweep:henning2007-09-151-11/+9
| | | | | | | -remove useless casts -MALLOC/FREE -> malloc/free -use M_ZERO where appropriate instead of seperate bzero feedback & ok krw, hshoexer
* Paul Mackerras and the Australian National University have worked thingsderaadt2002-09-131-20/+28
| | | | | out, and as a result, Paul now owns copyright on all these files, with the proper terms.
* First round of __P removal in sysmillert2002-03-141-19/+19
|
* Add support for RFC-comliant deflate protocolmillert1998-05-081-5/+25
|
* Minor changes from ppp 2.3.1millert1997-09-051-3/+3
|
* OpenBSD tags + some prototyping policeniklas1997-02-241-0/+1
|
* sync to 2.3b3mickey1996-12-191-2/+10
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-0/+653