summaryrefslogtreecommitdiffstats
path: root/sys/netatm/sigpvc
Commit message (Collapse)AuthorAgeFilesLines
* Make the ioctl() interface cleaner with regard to types: use size_tharti2003-07-291-5/+7
| | | | | | 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-1/+2
| | | | | | | | | | | 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-112-19/+6
|
* 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.
* Include <sys/systm.h> instead of depending on namespace pollution inbde2002-09-291-8/+1
| | | | | <net/if_var.h>. But depend on the standard pollution in <sys/param.h>. Removed unused includes.
* - Turn a couple of storage pools into UMA zones and their associated callsarr2002-05-242-10/+13
| | | | to the appropriate UMA api calls.
* - Change KM_ macro calls to the appropriate function call.arr2002-04-191-7/+5
| | | | | | | - 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-202-13/+13
|
* Remove more unused #includes.phk2000-10-301-1/+0
|
* Remove unneeded #include <machine/clock.h>phk2000-10-152-2/+0
|
* Forgot these files in my kerninclude limited run.phk2000-10-122-34/+0
| | | | (No core powers we abused during this commit)
* Remove the #include kitchensink <netatm/kern_include.h> and addphk2000-10-122-2/+80
| | | | | | | | | 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.
* More HARP polishina:phk2000-10-121-6/+6
| | | | | unifdef -UFORE_SBUS -DFORE_PCI s/ATM_KERNEL/_KERNER/g
* Do some cleanups of the HARP atm codes interface into the system:phk2000-10-121-84/+0
| | | | | | | | Define the NETISR just like all the other NETISRs. unifdef -Usun -D__FreeBSD__ we will probably never support sun4c and if we do we can't use the solaris code anyway and I doubt anybody will be running Fore ATM cards in then in the first place.
* Remove un-needed #include's.mks2000-01-173-49/+0
| | | | Pointed out by: phk
* $Id$ -> $FreeBSD$peter1999-08-284-6/+6
|
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-271-3/+3
| | | | kernel compile
* Don't return errors for 'atm show arpserver' command on sigpvc and spansmks1999-01-191-3/+4
| | | | interfaces.
* 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-312-10/+10
| | | | | Reviewed by: Mike Spengler <mks@networkcs.com> Submitted by: phk
* Add new files for HARP3phk1998-09-154-0/+1276
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