table; arptab.c is really a hacked up version of arp.c that only supports adding temporary entries. (This stuff is nasty -- I wish I knew what was so wrong with SIOCSARP/SIOCGARP/etc... that made the BSD developers decide to take it out.) The idea here is that the client issuing the rarp is expected to be in the middle of booting and would therefore be unable to answer arp queries from other machines on the wire. Having rarpd stuff a temporary entry for the booting host into the local arp table helps keep arp requests from going unanswered. Also added ether_print() and ether_ntoa() to the ether_addr.c module. Eventually I'll get ether_aton() and ether_hostton() written and then this file can be dropped straight into libc. (Assuming no one objects, of course. :)
10 lines
223 B
Makefile
10 lines
223 B
Makefile
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
|
|
# $Id: Makefile,v 1.1.1.1 1995/03/02 06:41:39 wpaul Exp $
|
|
|
|
PROG= rarpd
|
|
MAN8= rarpd.8
|
|
SRCS= rarpd.c arptab.c ether_addr.c
|
|
CFLAGS+= -DTFTP_DIR=\"/tftpboot\"
|
|
|
|
.include <bsd.prog.mk>
|