Commit Graph

43 Commits

Author SHA1 Message Date
mycroft 408ead452e Make sure to fill in the whole sockaddr_in when sending a discovery packet. 1996-08-10 02:37:41 +00:00
thorpej 8d1a5585e8 Add a manual page link from routed(8) to rdisc(8) as suggested by
Giles Lean <giles@nemeton.com.au> on the tech-net@NetBSD.ORG mailing
list.  The rationale for this is that folks may be used to rdisc(8)
or in.rdisc(8) on other systems, and may not realize that NetBSD
implements ICMP Router Discovery in the routed(8) program.
1996-08-10 01:48:41 +00:00
thorpej fc1a524603 - Finished up merge.
- Add some prototypes and definitions for types as necessary,
  wrapped in __NetBSD__ to maintain portability.

- Explicit size types in structures that go out the wire.

- RCS id police.
1996-08-10 01:28:58 +00:00
thorpej b1e0bd39e1 A leaner, meaner routed(8), implementing RIPv1, RIPv2, and ICMP Router
Discovery, courtesy of Vernon Schryver <vjs@sgi.com>.  Thanks!
1996-08-10 01:08:06 +00:00
scottr c88084b900 Grammar police, noted by Peter Seebach <seebs@solon.com>; closes PR #1704. 1996-02-06 20:34:28 +00:00
ws a2465235f4 RIP address families are still 2 bytes 1995-07-24 13:03:25 +00:00
christos 68b7908bf9 Fix bugs cgd pointed out. 1995-07-13 23:20:10 +00:00
cgd 3f230414c7 fix a stupid bug; wrong size was being used for sin_len. 1995-07-13 10:43:23 +00:00
christos 4841cf2927 - Support rip version 2.
- Add ansi prototypes.
- Be less internet centric.
- Convert queues to use <sys/queue.h> so we don't need -lcompat
1995-06-20 22:25:51 +00:00
ragge 06514eb892 Took away use of vax inline functions. Didn't work anyway. 1995-05-31 20:44:35 +00:00
jtc 470a6be999 <sys/errno.h> -> <errno.h>
<sys/signal.h> -> <signal.h>
<sys/syslog.h> -> <syslog.h>
1995-05-28 05:37:32 +00:00
mycroft 2b3cba51fb s/an active/a passive/ 1995-05-24 15:55:02 +00:00
mycroft 312851eab6 Format police. 1995-05-24 15:54:00 +00:00
christos 1f1b61fc49 Fix bug in af_format where the formatted address was returned in the same
static buffer. When af_format is used more than once in the same printf
statement, the second call will overwrite the first. Changed af_format to
take a buffer and the buffer size where to place the formatted string.
1995-05-24 15:22:52 +00:00
mycroft 10f79d3be3 Use inet_aton(), not inet_addr(). 1995-05-21 14:22:23 +00:00
cgd 2fe1f93ac5 fix arguments to tracing functions and/or cast, to avoid warnings. 1995-04-24 13:24:30 +00:00
mycroft 6bfd77e432 Fix typo in previous. 1995-03-23 00:01:03 +00:00
mycroft be82a25869 Use POSIX signals. 1995-03-21 18:48:41 +00:00
mycroft 6faa350c7d Fix typo. 1995-03-21 14:05:36 +00:00
mycroft ffe9a4ccf0 Update to use timer{add,sub}(). 1995-03-21 13:55:23 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mycroft 705a6ebacb Use S_IS*(). 1995-01-30 19:39:36 +00:00
cgd ae9481b5c5 kill some redundant includes. 1994-12-23 13:13:06 +00:00
cgd 06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00
cgd e072e2ae63 some -Wall changes, from Jim Jegers, improved (in some cases) by me.
still needs a bit of work, but closer.
1994-12-18 05:43:48 +00:00
cgd 55b1ef78a6 pull in helpful includes. 1994-10-31 04:35:58 +00:00
mycroft 4922d725cf Remove some more uses of obsolete functions. 1994-09-23 23:48:10 +00:00
mycroft ea7b5d4ec6 Eliminate uses of some obsolete functions. 1994-09-23 14:26:58 +00:00
mycroft c6693394fd Fix `maskof' function which was returning `netof', per Brad Parker. 1994-08-06 05:51:03 +00:00
cgd 3971f6048c don't do query and trace 1994-05-15 00:50:38 +00:00
mycroft 4c8599d370 Clean up import. 1994-05-13 08:02:16 +00:00
cgd 8050627755 light comment change 1994-04-13 04:29:54 +00:00
cgd 5123f7879d don't need -lutil 1994-01-28 00:36:28 +00:00
cgd d31a94286c Undo that last change. It was 100%, beyond a doubt, completely bogus.
afswitch and af_max were still used, but since they was declared 'common'
by virtue of their declaration in af.h, the symbols were defined at link-
time, and their contents were considered BSS -- init to zero.
Now, you and i know that jumping to zero causes a core dump...
Therefore: af.c has been resurrected, so the procedure pointers actually
point to procedures, tables.c has had it's change nuked, and af.h
has been changed so afswitch and af_max are declared as 'extern'.
It's obvious that that 'fix' wasn't even tested.
1993-12-30 10:43:58 +00:00
mycroft c1bb61de2d Move inet_default into tables.c, and remove all of af.c, as it is no longer
used.
1993-12-18 01:46:20 +00:00
cgd e003bbf45a fix from Brad Parker <brad@fcr.com> to curb routed inflation when
using MULTICAST.  it wasn't properly ignoring the new interface flags.
1993-12-11 01:47:28 +00:00
cgd 55c82b0104 remove query and trace from subdir lists; they're for debugging only. 1993-10-28 03:28:46 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 2982be9a6f Add RCS identifiers. 1993-08-01 00:57:02 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00