summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni/unisig_if.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the ioctl() interface cleaner with regard to types: use size_tharti2003-07-291-1/+2
| | | | | | 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.
* Remove the zone limits for all the zones used in the ATM code.harti2003-07-221-4/+0
| | | | | | | | | | | These were a left over from when the private memory pools were converted to use uma zones. The limit of UMA zones, however, works differently. When a zone is limited to only one or two pages than, on multi-cpu systems, processes can get stuck on the zonelimit, because all remaining free items are in caches of other CPUs. Also add rudimentary error handling in some places (panic) when a zone cannot be created.
* Use __FBSDID().obrien2003-06-111-10/+3
|
* - Finish the uni part of the storage pool cleanup. There should now onlyarr2002-06-131-27/+31
| | | | | | | | | | 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.
* - Change KM_ macro calls to the appropriate function call.arr2002-04-191-10/+7
| | | | | | | - Nuke KM_ macros from port.h This is a leadin step towards cleaning up this code as I wait for some ATM cards and a ATM switch to arrive.
* Remove __P.alfred2002-03-201-8/+8
|
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Remove the #include kitchensink <netatm/kern_include.h> and addphk2000-10-121-1/+25
| | | | | | | | | 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.
* Remove un-needed #include's.mks2000-01-171-1/+0
| | | | Pointed out by: phk
* $Id$ -> $FreeBSD$peter1999-08-281-2/+2
|
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-271-4/+4
| | | | kernel compile
* Set and propagate the correct cause code values.phk1998-12-111-3/+3
| | | | Submitted by: Mike Spengler <mks@circe.networkcs.com>
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-041-3/+4
| | | | | | | | | | | | | | 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
* Two patches from the HARP people:phk1998-09-171-10/+10
| | | | | | | | Various Makefile related fixes. -Wformat fixes. Submitted by: Mike Spengler <mks@networkcs.com>
* Add new files for HARP3phk1998-09-151-0/+1012
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