summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni/uniarp_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the ioctl() interface cleaner with regard to types: use size_tharti2003-07-291-1/+1
| | | | | | instead of int where the variable has to hold buffer lengths, use u_int for things like number of network interfaces which in principle can never be negative.
* Convert a lot of uma_zalloc() calls to be NOWAIT instead of WAITOK. Allharti2003-07-231-1/+2
| | | | | these may be called from contexts where we cannot sleep (callout handlers for example).
* Use __FBSDID().obrien2003-06-111-10/+3
|
* Back out M_* changes, per decision of the TRB.imp2003-02-191-1/+1
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-1/+1
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* - Finish the uni part of the storage pool cleanup. There should now onlyarr2002-06-131-2/+2
| | | | | | | | | | be a few bits left to clean from the HARP code in terms of what is using the storage pools; once that's done, the memory management code can be removed entirely. This commit effectively changes the use of dynamic memory routines from atm_allocate, atm_free, atm_release_pool to uma_zcreate, uma_zalloc, uma_zfree, uma_zdestroy.
* - Nuke some more not needed #ifdef cruft.arr2002-04-211-4/+0
|
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Remove the #include kitchensink <netatm/kern_include.h> and addphk2000-10-121-1/+24
| | | | | | | | | the #includes to the respective source files. Also un-nest includes in <dev/hfa/fore_include.h> I have run src/tools/tools/kerninclude to remove 1239 clearly unneeded #includes reducing the total from 3524 includes to 2285.
* $Id$ -> $FreeBSD$peter1999-08-281-2/+2
|
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-041-2/+6
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* Trivial stylish changes, mostly to silence gcc.phk1998-10-311-5/+5
| | | | | Reviewed by: Mike Spengler <mks@networkcs.com> Submitted by: phk
* Add new files for HARP3phk1998-09-151-0/+420
Host ATM Research Platform (HARP), Network Computing Services, Inc. This software was developed with the support of the Defense Advanced Research Projects Agency (DARPA).
OpenPOWER on IntegriCloud