Commit Graph

24 Commits

Author SHA1 Message Date
fvdl 60ae17c7ae Fix signed/unsigned warnings. 2003-08-31 22:40:13 +00:00
provos 0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
jdolecek a8fcba2901 Fix compilation on Alpha with ARP_DEBUG.
Fixes kern/6440 by R. C. Dowdeswell
2001-10-18 19:00:38 +00:00
augustss 1279e67b6e Kill some more register declarations. 2000-03-30 12:19:46 +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 64cd693ada Don't use private copy of old netinet/if_ether.h.
Use <net/if_ether.h> for ethernet specific definitions, and insert private
definitions for ARP if needed. (The new ARP macros in <net/if_arp.h> are
not used because they create larger code, and we really don't need more
than ethernet/ip support here.)
1997-07-07 15:52:49 +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
christos e44c1d1f33 backout previous kprintf changes 1996-10-13 02:28:58 +00:00
christos 60d201973e printf -> kprintf, sprintf -> ksprintf 1996-10-10 22:46:11 +00:00
gwr 63a836a44a Check return value from sendrecv so that ARP timeout does not cause
garbage to be entered into the ARP table.  Also fix ARP_DEBUG code.
1995-12-08 04:12:53 +00:00
pk de4e651542 Careful with initializers. 1995-09-27 23:14:57 +00:00
gwr 6f2a9404ee More cleanup: change some private types to eliminate casts,
replace some "goto xxx" with return(-1). (mostly cosmetic)
1995-09-23 03:36:06 +00:00
pk d9124da47f Another round of clean up, including fixes presented by Matthias Drochner
(PR#1404). Things to be noted:
	- all IP addresses are now `struct in_addr's.
	- the function rarp_getipaddress() no longer return `myip'; in stead
	  it returns -1 on failure (errno set), 0 on success. `myip' is set
	  as a size-effect.
1995-09-18 21:19:18 +00:00
pk 84c517c128 Clear up some size_t/ssize_t confusion. 1995-09-14 23:45:21 +00:00
gwr 0081434965 Correct the padding to min Ethernet packet size. 1995-09-13 15:06:12 +00:00
thorpej eb50acd998 Changes from Gordon Ross:
a) check against `my' ethernet or broadcast addresses done in
	   ether.c
	b) changed interface to readether() to provide ethertype info
	c) respond to arp requests when appropriate.
First two are clean-up.  Last fixes hp300 and presumably mvme68k netboot
code.
1995-09-11 21:11:36 +00:00
thorpej fb56ae3095 Kill extra declaration of bcea[]. It's also defined in globals.c. 1995-08-04 01:17:26 +00:00
gwr 0e4efb30ef Pad the request out to the minimum Ethernet length.
Improve some debug prints...
1995-06-27 15:18:57 +00:00
mycroft 258efc53df Various:
* Fix some misused types.
* Encapsulate the protocols better.
* Rearrange the RPC stuff to work more like the kernel.  (Needs more work.)
* Remove a bunch of extra hair when reading a file over NFS.
* Use RPCAUTH_UNIX when talking to the NFS server.
1995-02-20 11:04:00 +00:00
cgd 6668f51c96 new RCS ID format. 1994-10-26 05:44:32 +00:00
brezak c2e9be0873 Make libsa compile again by not including sys/errno.h 1994-08-04 19:39:32 +00:00
brezak e03842d0c7 Standalone networking for network boot loaders. 1994-05-08 16:11:14 +00:00