summaryrefslogtreecommitdiffstats
path: root/sbin/atm/atmconfig
Commit message (Collapse)AuthorAgeFilesLines
* Convert sbin/ to LIBADDbapt2014-11-251-4/+2
| | | | Reduce overlinking
* Fix atmconfig compilation when MK_ATM == yes and MK_BSNMP == nongie2014-08-152-22/+17
| | | | | | | | | | | | | | | | | | | | | | | | | Makefile.inc1: Always compile gensnmptree with bootstrap-tools when MK_BSNMP != no instead of depending on a potentially stale tool installed on the build host sbin/atm/atmconfig/Makefile: - Always remove oid.h to avoid cluttering up the build/src tree. - Consolidate all of the RESCUE/MK_BSNMP != no logic under one conditional to improve readability - Remove unnecessary ${.OBJDIR} prefixing for oid.h and use ${.TARGET} instead of spelling out oid.h - Add a missing DPADD for ${LIBCRYPTO} when compiled MK_BSNMP == yes and MK_OPENSSL == yes and not compiling for /rescue/rescue sbin/atm/atmconfig/main.c: Change #ifndef RESCUE to #ifdef WITH_BSNMP in main.c to make it clear that we're compiling bsnmp support into atmconfig Approved by: jmmv (mentor) Phabric: D579 PR: 143830 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* use .Mt to mark up email addresses consistently (part1)bapt2014-06-201-1/+1
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* 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-043-3/+3
| | | | | | 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.
* Unbreak NO_DYNAMICROOT by explicitely linking to libcrypto if MK_OPENSSL isn'tcognet2011-10-161-0/+5
| | | | set to no, as libbsnmp needs it.
* MFtbemd:imp2010-08-231-1/+2
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-2/+0
| | | | Submitted by: Ulrich Spörlein
* 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
|
* Cleanups for gcc4:delphij2005-05-021-1/+1
| | | | | | | | - Use socklen_t for socket functions - Remove an unnecessary extern - Signed/unsigned cleanups Reviewed by: harti
* Forgot to change the pointer to the snmp_atm sources after repo-copy.harti2005-03-151-1/+1
| | | | | | | | Correct this by pointing to the new location. Pointy hat to: harti Submitted by: keramida
* Back the warnings down from 9 to 6, since that is the highest we have. Ifobrien2004-12-131-1/+1
| | | | we added a WARNS 7 level, it shouldn't be assumed this code will pass it.
* Add support for the examination and modification of the devices.harti2004-08-129-8/+817
| | | | | | This is implemented through SNMP and requires the ilmi daemon to run on the system. To prevent bloat in rescue the atmconfig for rescue is compiled without this stuff.
* No need to include if_var.h.harti2004-07-281-1/+0
|
* Get rid of several unneeded includes (if.h, if_var.h, if_mib.h).harti2004-07-281-3/+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.
* 'atmconfig natm show' shows all currently configured PVCs for IP over ATM,harti2004-07-211-1/+1
| | | | not 'atmconfig natm list'.
* Add special lines for 'help commands'.harti2004-07-211-4/+7
|
* Allow more than one help file. There is a restriction thatharti2004-07-211-74/+289
| | | | each help file must start with a level 0 topic.
* Allow the help file path and name to be overwritten by cc -D...harti2004-07-212-1/+9
| | | | | Also remove the current directory from the default help file path and add an appropriate directory in /usr/local instead.
* The natm sub-command was missing in the TOC of the helpfile.harti2004-07-201-0/+1
|
* Markup overhaul.ru2004-05-171-88/+75
|
* Use WARNS?=3 for these in the arm case for now, due to toolchain issues.cognet2004-05-141-0/+5
|
* 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
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Add support for virtual interfaces. These have no phy chip and, hence, weharti2004-01-262-17/+60
| | | | 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.
* Get rid of a __DECONST by strdup'ing the string in question. Whenharti2003-08-201-1/+2
| | | | | | | called this way the program just prints its help intro, so the memory leak is not a problem. Pointed out by: bde
* style.Makefile(5)obrien2003-08-181-4/+3
|
* Add a program for configuration of the ATM drivers and the IP over ATMharti2003-08-129-0/+3016
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