summaryrefslogtreecommitdiffstats
path: root/sbin/atm
Commit message (Collapse)AuthorAgeFilesLines
* Use size_t for buffer sizes. Improve error handling in some places.harti2003-07-298-148/+117
| | | | Remove a __DECONST() that was needed before this interface cleanup.
* Add support for CBR and VBR PVCs. Enhance the error handling forharti2003-07-283-39/+159
| | | | | | | the 'add pvc' command. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 2 weeks
* Make atm WARNS=6 clean. The changes are mostly:harti2003-07-2810-382/+299
| | | | | | | | | | | - remove some instances of __P() - use real prototypes and un-K&R function headers - constify where necessary (mostly strings and structures containing strings) - make functions and variables static that need not to be global - tag unused function parameters as __unused Testing: a fresh universe
* When deciding whether to download the microcode or not look at the API ratherharti2003-07-251-1/+1
| | | | | | | | than at the vendor. We have three different Fore cards and only the PCA200 need the microcode. Look also at the RAM address and load the code only if it is not zero. A zero RAM address means either a bug in the driver or this is a interface created by harp(4) in which case fatm(4) handles the microcode issue.
* Due to a gcc bug, it doesn't like local variables with names like 'sin'.harti2003-07-251-3/+3
| | | | Rename this for the moment. Also fix a sparc64 alignment warning.
* Make ilmid WARNS=6 clean. The problem were a couple of unused functionharti2003-07-252-14/+14
| | | | arguments and missing consts.
* Don't call print_pdu() when we are not debugging. This would resultharti2003-07-181-1/+2
| | | | | | | in calling fprintf() with a NULL fp. Strange enough this didn't result in cores in stable, but results in cores now. MFC after: 2 weeks
* Use size_t type vars in sizeof contexts.obrien2003-05-021-3/+3
|
* - Fix function declarations.mdodd2003-03-261-122/+107
| | | | | | - Provide function prototypes. Submitted by: trhodes
* Get rid of a few caddr_t's.mdodd2003-03-261-8/+8
| | | | Submitted by: trhodes
* asn_get_encoded() takes 2 arguments.mdodd2003-03-261-1/+1
|
* Retire set_reqid(), unused since 1.2.mdodd2003-03-261-33/+0
|
* - Add const qualifier to char * arrays.mdodd2003-03-261-12/+4
| | | | - Retire Traps array; this was obsoleted in 1.2
* Don't roll a private copy of basename().mdodd2003-03-261-24/+1
|
* - Replace hexdump() with a prettier version.mdodd2003-03-251-68/+131
| | | | | - Reformat log output. - Consolidate PDU printing code into print_pdu().
* Set pdu->pdulen in build_pdu().mdodd2003-03-251-0/+1
|
* Don't compile in lmi_object_instance().mdodd2003-03-251-0/+2
|
* - Handle the 'GET PREFIX' request.mdodd2003-03-251-16/+159
| | | | | | | - Deal with MADGE_OBJECT1 requests. - Move code inside of switch cases to separate functions. Submitted by: Richard Hodges <rh@matriplex.com>
* Correct a comment.mdodd2003-03-251-1/+1
| | | | Submitted by: Richard Hodges <rh@matriplex.com>
* - Add a comment regarding SETPFX_OBJIDmdodd2003-03-251-1/+11
| | | | | | | - Add an Objid definition for MADGE_OBJECT1 - Add an array to map ilmi_states to ASCII descriptions. Submitted by: Richard Hodges <rh@matriplex.com>
* Clean up formatting.mdodd2003-03-251-3/+18
| | | | Submitted by: Richard Hodges <rh@matriplex.com>
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-3/+3
| | | | especially in troff files.
* english(4) police.schweikh2002-12-271-1/+1
|
* de-__P()alfred2002-10-103-73/+73
|
* Cast malloc() assignments.mdodd2002-10-021-6/+6
|
* - bzero() allocations.mdodd2002-09-301-1/+38
| | | | - check for malloc() failures.
* Turn warnings back on.mdodd2002-09-301-1/+0
|
* The .Nm utilitycharnier2002-07-062-3/+6
|
* Use a larger data type to prevent counters wrapping so quickly.mdodd2002-06-071-2/+2
| | | | Silence a warning.
* Sync this up with changes made in v1.8 of sys/netatm/atm_if.hmdodd2002-06-071-0/+4
|
* - Further replacing of UM_* macros with the appropriate function call. Iarr2002-05-171-43/+38
| | | | | | am fairly certain that this should do it and that I may now remove the UM_ macros from port.h. I will, however, wait a few days to ensure that these can be safely removed.
* - Replace UM_* macros by replacing them with the appropriate functionarr2002-05-178-50/+50
| | | | call. These changes are similar to the ones made to atmarpd and scsp.
* Default to WARNS=2.obrien2001-12-043-0/+3
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* The directory of the makefile that's including the file is tried first.ru2001-10-251-1/+1
| | | | See section 3.2 of "PMake - A Tutorial" in /usr/share/doc/psd/12.make.
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-263-0/+3
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-203-3/+0
|
* Correct grammar in comment.kris2001-03-041-3/+3
|
* Fix typo: seperate -> separate.asmodai2001-02-061-3/+3
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
* man(7) -> mdoc(7).ru2001-01-222-144/+126
|
* Add `_PATH_DEVZERO'.obrien2000-12-091-2/+3
| | | | Use _PATH_* where where possible.
* Remove unused #include.asmodai2000-05-011-1/+0
|
* Remove unused #include.asmodai2000-05-018-8/+0
|
* 1000000 usec -> 1 sec 0 usec; fixcharnier2000-03-261-1/+1
|
* Make the fore_dnld program more robust and reliable.phk2000-03-171-6/+15
| | | | In particular HZ=1000 would seem to break it before.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-012-4/+8
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* With the kind permission of Marconi Communications (Formerly "Fore ↵phk2000-02-155-12/+1906
| | | | | | | | | | | | | | | Communication" include a copy of the 3.0.1 firmware for the PCA200E card in the fore_dnld program. There are various and subtle compatibility issues between the hfa driver and the microcode, this version is belived to work best. If a file is specified on the command line it will be used instead of the embedded image. Approved by: jkh
* Handle GetResponse errors correctly.mks2000-01-151-5/+17
|
* $Id$ -> $FreeBSD$peter1999-08-2819-29/+29
|
* Modify code to be -Wall'able.mks1999-07-0111-152/+164
| | | | PR: bin/11315
OpenPOWER on IntegriCloud