From owner-cvs-usrsbin Fri Mar 3 14:20:19 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA04563 for cvs-usrsbin-outgoing; Fri, 3 Mar 1995 14:20:19 -0800 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA04552; Fri, 3 Mar 1995 14:20:16 -0800 Date: Fri, 3 Mar 1995 14:20:16 -0800 From: Bill Paul Message-Id: <199503032220.OAA04552@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/rarpd arptab.c Makefile rarpd.c ether_addr.c Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk wpaul 95/03/03 14:20:16 Modified: usr.sbin/rarpd Makefile rarpd.c ether_addr.c Added: usr.sbin/rarpd arptab.c Log: Gave rarpd back the ability to poke temporary entries into the arp 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. :)