Commit Graph

53 Commits

Author SHA1 Message Date
Hartmut Brandt
ec3770a91a Due to a gcc bug, it doesn't like local variables with names like 'sin'.
Rename this for the moment. Also fix a sparc64 alignment warning.
2003-07-25 08:15:09 +00:00
Hartmut Brandt
bf6da6238b Make ilmid WARNS=6 clean. The problem were a couple of unused function
arguments and missing consts.
2003-07-25 08:09:18 +00:00
Hartmut Brandt
a0f1a723a2 Don't call print_pdu() when we are not debugging. This would result
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
2003-07-18 11:17:04 +00:00
David E. O'Brien
eb56700bbb Use size_t type vars in sizeof contexts. 2003-05-02 06:46:24 +00:00
Matthew N. Dodd
229503da84 - Fix function declarations.
- Provide function prototypes.

Submitted by:	 trhodes
2003-03-26 05:49:42 +00:00
Matthew N. Dodd
15d8f3d447 Get rid of a few caddr_t's.
Submitted by:	 trhodes
2003-03-26 04:17:13 +00:00
Matthew N. Dodd
2dc4ca43ec asn_get_encoded() takes 2 arguments. 2003-03-26 04:02:51 +00:00
Matthew N. Dodd
6410552316 Retire set_reqid(), unused since 1.2. 2003-03-26 03:41:12 +00:00
Matthew N. Dodd
87b6469f1e - Add const qualifier to char * arrays.
- Retire Traps array; this was obsoleted in 1.2
2003-03-26 03:19:56 +00:00
Matthew N. Dodd
6181d229c2 Don't roll a private copy of basename(). 2003-03-26 02:54:56 +00:00
Matthew N. Dodd
4b9ffcd528 - Replace hexdump() with a prettier version.
- Reformat log output.
- Consolidate PDU printing code into print_pdu().
2003-03-25 22:22:19 +00:00
Matthew N. Dodd
f1c661f9ac Set pdu->pdulen in build_pdu(). 2003-03-25 22:10:01 +00:00
Matthew N. Dodd
86dc60e032 Don't compile in lmi_object_instance(). 2003-03-25 22:01:27 +00:00
Matthew N. Dodd
d66e94ca99 - Handle the 'GET PREFIX' request.
- Deal with MADGE_OBJECT1 requests.
- Move code inside of switch cases to separate functions.

Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:34:46 +00:00
Matthew N. Dodd
a5454382a3 Correct a comment.
Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:25:05 +00:00
Matthew N. Dodd
beeb9061d9 - Add a comment regarding SETPFX_OBJID
- Add an Objid definition for MADGE_OBJECT1
- Add an array to map ilmi_states to ASCII descriptions.

Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:22:02 +00:00
Matthew N. Dodd
b88dc3353a Clean up formatting.
Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:15:01 +00:00
Jens Schweikhardt
9d5abbddbf Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
2003-01-01 18:49:04 +00:00
Jens Schweikhardt
57bd0fc6e8 english(4) police. 2002-12-27 12:15:40 +00:00
Alfred Perlstein
9e9715e9c0 de-__P() 2002-10-10 00:32:55 +00:00
Matthew N. Dodd
50479880a8 Cast malloc() assignments. 2002-10-02 06:24:19 +00:00
Matthew N. Dodd
492e1546ef - bzero() allocations.
- check for malloc() failures.
2002-09-30 09:00:03 +00:00
Matthew N. Dodd
f9f1b6f70f Turn warnings back on. 2002-09-30 08:59:16 +00:00
Philippe Charnier
e1205e80e5 The .Nm utility 2002-07-06 19:34:18 +00:00
Matthew N. Dodd
7224076dfe Use a larger data type to prevent counters wrapping so quickly.
Silence a warning.
2002-06-07 05:29:13 +00:00
Matthew N. Dodd
c44ed52b2e Sync this up with changes made in v1.8 of sys/netatm/atm_if.h 2002-06-07 05:25:10 +00:00
Andrew R. Reiter
9727e2df7a - Further replacing of UM_* macros with the appropriate function call. I
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.
2002-05-17 00:30:06 +00:00
Andrew R. Reiter
7455bd51da - Replace UM_* macros by replacing them with the appropriate function
call.  These changes are similar to the ones made to atmarpd and scsp.
2002-05-17 00:20:40 +00:00
David E. O'Brien
2d68bf45bf Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
2001-12-04 02:19:58 +00:00
Ruslan Ermilov
bd1a63798a The directory of the makefile that's including the file is tried first.
See section 3.2 of "PMake - A Tutorial" in /usr/share/doc/psd/12.make.
2001-10-25 08:37:12 +00:00
Dima Dorfman
7ebcc426ef Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
Ruslan Ermilov
0a5779d45b - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5 Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
Kris Kennaway
b5bc4b5cb2 Correct grammar in comment. 2001-03-04 07:14:11 +00:00
Jeroen Ruigrok van der Werven
9a01d32bfd Fix typo: seperate -> separate.
Seperate does not exist in the english language.

Submitted to look at by:	kris
2001-02-06 10:39:38 +00:00
Ruslan Ermilov
5501231a13 man(7) -> mdoc(7). 2001-01-22 17:44:36 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Jeroen Ruigrok van der Werven
219f5cc47b Remove unused #include. 2000-05-01 19:39:36 +00:00
Jeroen Ruigrok van der Werven
eb78dd7d3a Remove unused #include. 2000-05-01 18:52:42 +00:00
Philippe Charnier
f793da754a 1000000 usec -> 1 sec 0 usec; fix 2000-03-26 15:13:17 +00:00
Poul-Henning Kamp
ac989b7073 Make the fore_dnld program more robust and reliable.
In particular HZ=1000 would seem to break it before.
2000-03-17 17:09:55 +00:00
Sheldon Hearn
ef8f7ac935 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
Poul-Henning Kamp
00494e78d5 With the kind permission of Marconi Communications (Formerly "Fore 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
2000-02-15 13:20:58 +00:00
Mike Spengler
b4983dbec6 Handle GetResponse errors correctly. 2000-01-15 19:51:44 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Mike Spengler
2c7d6d81ef Modify code to be -Wall'able.
PR: bin/11315
1999-07-01 20:48:59 +00:00
Warner Losh
c8b4bd56c2 Getopt(3) returns -1 not EOF. 1999-05-23 23:18:38 +00:00
Mike Spengler
11624527a4 Clarify the number of network interfaces per physical interface available with
each type of signalling manager and bring the atm command into agreement with
the man page.
1999-01-20 18:36:58 +00:00
Mike Spengler
da1e697353 Re-write of ilmi daemon. Among the major changes, it does not use predefined
PDUs and should handle multi-request OIDs on GETs.
1999-01-20 00:56:21 +00:00
David Greenman
8692ad469b Rename a function name so that it doesn't conflict with a future system call. 1998-10-30 16:17:50 +00:00