summaryrefslogtreecommitdiffstats
path: root/sys/netatm/spans
Commit message (Collapse)AuthorAgeFilesLines
* Avoid casts as lvalues.kan2004-07-281-4/+4
|
* Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-10-311-5/+3
| | | | | | | | | | | | | if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance. This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics. Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
* Make the ioctl() interface cleaner with regard to types: use size_tharti2003-07-292-2/+4
| | | | | | 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.
* Print the offending SPANS message only if printing is enabled.harti2003-07-251-1/+2
|
* Create a sysctl that allows to enable/disable printing of SPANS messages.harti2003-07-243-17/+15
| | | | | | | While here delete to sys/types.h includes when sys/param.h is also included. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 2 weeks
* Remove the zone limits for all the zones used in the ATM code.harti2003-07-223-4/+8
| | | | | | | | | | | 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-119-81/+26
|
* Use __FBSDID rather than rcsid[].obrien2003-04-031-9/+3
|
* Back out M_* changes, per decision of the TRB.imp2003-02-195-19/+19
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-215-19/+19
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-302-4/+4
| | | | Add FreeBSD Id tag where missing.
* - Change the ATM stack functions to use intptr_t instead of int for opaquejhb2002-11-081-1/+1
| | | | | | | arguments. - Fix a few other places that assumed that sizeof(int) == sizeof(void *). Reviewed by: mdodd
* Make netatm/spans compile in the kernel without depending on userlandpeter2002-09-174-4/+381
| | | | include files to provide functions for kernel source (spans_kxdr.c)
* Fix a few warnings by adding a missing prototypepeter2002-05-241-0/+1
|
* - Remove a few storage pools and replace them with UMA zones. The spansarr2002-05-247-78/+90
| | | | | code is now storage pool free, so I believe this only leaves the uni base not cleaned.
* - Nuke some more not needed #ifdef cruft.arr2002-04-211-4/+0
|
* - Nuke some more #ifdef sun related sections.arr2002-04-191-5/+0
|
* - Change KM_ macro calls to the appropriate function call.arr2002-04-197-30/+26
| | | | | | | - 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.
* Wrap function in #ifdef DIAGNOSTIC to compile with -Werror.mdodd2002-04-171-2/+4
|
* Remove __P.alfred2002-03-208-146/+139
|
* Silence some warningsalfred2001-03-201-9/+9
| | | | Submitted by: LINT
* Add back some now needed #include <sys/systm.h>phk2000-12-072-0/+2
| | | | Fix various warnings while here anyway.
* Remove more unused #includes.phk2000-10-302-2/+0
|
* Remove unneeded #include <machine/clock.h>phk2000-10-159-9/+0
|
* Remove the #include kitchensink <netatm/kern_include.h> and addphk2000-10-129-9/+182
| | | | | | | | | 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-122-8/+8
| | | | | 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.
* Process SPANS ARP requests even if source IP is 0.0.0.0 (or broadcast). Thismks2000-01-151-7/+12
| | | | can occur when talking to a Fore host which is using "bonded" interfaces.
* Fix a warning (unused variable RCSid)peter1999-11-181-1/+1
|
* Fixed printf format errors (don't assume that ntohl() returns u_long;bde1999-08-291-1/+1
| | | | it returns u_int on i386's and in_addr_t (u_int32_t) on alphas).
* $Id$ -> $FreeBSD$peter1999-08-2812-22/+22
|
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-281-5/+5
| | | | kernel compile
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-275-18/+20
| | | | kernel compile
* Don't return errors for 'atm show arpserver' command on sigpvc and spansmks1999-01-191-2/+9
| | | | interfaces.
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-044-45/+61
| | | | | | | | | | | | | | 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-319-50/+58
| | | | | Reviewed by: Mike Spengler <mks@networkcs.com> Submitted by: phk
* Two patches from the HARP people:phk1998-09-176-54/+53
| | | | | | | | Various Makefile related fixes. -Wformat fixes. Submitted by: Mike Spengler <mks@networkcs.com>
* Add new files for HARP3phk1998-09-1512-0/+9185
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