NetBSD/usr.sbin/rarpd/mkarp.h
is d4fc5fab1b If we answer a RARP request, also add the mapping to the local arp cache.
[This was broken when the 4.4BSD ARP table changes were done, and never
repaired.]
Inspired by Jarle Greipsland, PR 4531; code stolen from arp.a and cleaned
up (mostly removing global variables).
XXX As pointed out in the PR, this should be in some library (libutil?),
to be usable by other servers like bootpd and dhcpd.
1997-11-24 18:43:12 +00:00

8 lines
145 B
C

/* $NetBSD: mkarp.h,v 1.1 1997/11/24 18:43:12 is Exp $ */
/*
* This file is in the public domain.
*/
int mkarp __P((u_int8_t *, u_int32_t));