From: jsg Date: Tue, 15 Oct 2024 00:41:40 +0000 (+0000) Subject: remove struct arpreq from net/if_arp.h X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ff46e7d6ebc305e25e40b31e65a50463cfa5dc30;p=openbsd remove struct arpreq from net/if_arp.h unused since "rewrite to merge arp and routing tables" in CSRG if_ether.c 7.14 (Berkeley) 06/25/91 used by SIOCSARP, SIOCGARP, SIOCDARP, OSIOCGARP ioctls in Net/2 which were removed before 4.4BSD-Lite ok sthen@ who tested this with a ports build --- diff --git a/sys/net/if_arp.h b/sys/net/if_arp.h index e43c559e9e9..c7d0811efc7 100644 --- a/sys/net/if_arp.h +++ b/sys/net/if_arp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_arp.h,v 1.7 2017/01/24 10:08:30 krw Exp $ */ +/* $OpenBSD: if_arp.h,v 1.8 2024/10/15 00:41:40 jsg Exp $ */ /* $NetBSD: if_arp.h,v 1.8 1995/03/08 02:56:52 cgd Exp $ */ /* @@ -71,19 +71,4 @@ struct arphdr { u_int8_t ar_tpa[]; /* target protocol address */ #endif }; - -/* - * ARP ioctl request - */ -struct arpreq { - struct sockaddr arp_pa; /* protocol address */ - struct sockaddr arp_ha; /* hardware address */ - int arp_flags; /* flags */ -}; -/* arp_flags and at_flags field values */ -#define ATF_INUSE 0x01 /* entry in use */ -#define ATF_COM 0x02 /* completed entry (enaddr valid) */ -#define ATF_PERM 0x04 /* permanent entry */ -#define ATF_PUBL 0x08 /* publish entry (respond for other host) */ -#define ATF_USETRAILERS 0x10 /* has requested trailers */ #endif /* _NET_IF_ARP_H_ */