summaryrefslogtreecommitdiffstats
path: root/sbin/atm/atmconfig/diag.c
Commit message (Collapse)AuthorAgeFilesLines
* In sbin/atm/atmconfig/diag.c, fix a few warnings about format stringsdim2011-12-171-4/+4
| | | | | | not being literals. MFC after: 1 week
* Add missing static keywords for global variables to tools in sbin/.ed2011-11-041-1/+1
| | | | | | These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file.
* o IFNAMSIZ includes a terminating null byte.maxim2007-04-141-1/+1
| | | | | Submitted by: rdivacky MFC after: 1 week
* Use the C99 syntax for designated initialisers.stefanf2005-08-051-8/+8
|
* No need to include if_var.h.harti2004-07-281-1/+0
|
* The media info is printed with the -hardware option so there is noharti2004-07-211-1/+1
| | | | point to write 'Media' in the table header for the -atm option.
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-051-1/+1
| | | | | | | | | | | | | | | that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
* Add support for virtual interfaces. These have no phy chip and, hence, weharti2004-01-261-17/+59
| | | | need to handle interfaces without phy specially.
* Defer allocation of the actual receive mbuf until the external bufferharti2003-10-291-0/+1
| | | | | | | | | | is returned from the card to the driver. Add a counter that shows how many times this allocation has failed. Note, that we could even further delay the allocation of the mbuf until we know, that we need it (there are no receive errors and the connection is open). This will be done in a later commit. Print the new statistics field in atmconfig.
* Add a program for configuration of the ATM drivers and the IP over ATMharti2003-08-121-0/+1080
stuff. This utility allows inspection of the ATM characteristics, the PHY layer, including statistics of both, the retrival of the list of currently open channels and also allows access to utopia(4).
OpenPOWER on IntegriCloud