Commit Graph

22 Commits

Author SHA1 Message Date
isaki 1c038e6834 style, indent, and ANSI-fy. 2007-11-24 13:20:53 +00:00
tsutsui 03f68714d2 Include "bootp.h" for a function declaration of bootp(). 2007-10-27 12:19:41 +00:00
martin db90818494 Make a few debug outputs only happen when debugging. 2007-10-01 13:15:06 +00:00
gmcgarry d16aceedcc Protect remaining references to 'debug' with NETIF_DEBUG. 2002-03-17 05:46:37 +00:00
thorpej 36ff5d93e8 Backout my libsa changes. 1999-11-13 21:17:56 +00:00
thorpej 471a3aa8e4 Update for the improvements to libsa, and don't reference libkern.h. 1999-11-11 20:23:16 +00:00
drochner e6b49c7863 move intoa() from libsa:net.c to libkern, turn inet_ntoa() into a macro,
nuke ip_convertaddr()
1999-05-07 14:49:52 +00:00
dbj 82347ce33e Changes to compile the next68k bootblocks with
egcs -Wpointer-arith -Wstrict-prototypes
This closes pr 6653
1999-03-26 15:41:38 +00:00
gwr 5afda96fca Be quiet if bootparamd gives us an empty gateway spec.
(which is quite normal).  Just make noise if it was
missing, which explains the very long timeout...
(Would be nice if sendrecv said "retrying...")
1998-06-29 20:25:59 +00:00
gwr d63354072c When the gateway bootparam is missing, be clear about that
in the error message instead of showing zero or nothing.
1998-06-16 19:08:10 +00:00
gwr 2031003c9b Oops - forgot to set netmask=smask 1997-12-10 20:38:37 +00:00
gwr ecd43c7870 Request the "gateway" parameter and use its contents
to determine our gateway and subnet mask, consistent
with what is done by nfs_mountroot.
1997-12-10 20:19:00 +00:00
drochner bcf29dc4be Don't use "if_ether.h", it's not used. 1997-07-22 17:50:37 +00:00
drochner ed2ca9f1fa Avoid user space headers for standalone programs.
Don't use sys/lib/libkern or sys/lib/libz if not standalone
 (ie, user space test programs).
1997-06-26 19:11:30 +00:00
is 07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
gwr 4478e618ee Fix a warning. 1997-03-14 21:03:43 +00:00
gwr 2cf7613010 Sun RPC/bootparams always enabled (No -DSUN_BOOTPARAMS needed)
Add SUPPORT_BOOTP (and global try_bootp) to allow MD code to
determine whether BOOTP is used (compile-time and run-time).
Thanks to Matthias Drochner for the SUPPORT_BOOTP ideas.
Copyright asigned to The NetBSD Foundation.
1997-03-14 20:34:48 +00:00
gwr 8f0295e7f0 Moved here (via repository copy) so they are more easily shared.
I did not add them to the library, but rather compile them where
the netboot program is built so I can add -DSUN_BOOTPARAMS, etc.
1997-03-11 18:23:55 +00:00
gwr 38c7f668a2 Clean-up open/close logic of "net" device. Fixes PR 1726 1996-01-29 23:54:14 +00:00
gwr 23ee56022d Cleanup, and catch up with libsa changes. 1995-09-23 03:42:17 +00:00
gwr b090a64678 Add bcea[] here now that is is gone from arp.c 1995-08-08 20:59:07 +00:00
gwr 8e179d8e95 Have netboot! 1995-06-09 22:02:39 +00:00