summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-15 00:41:41 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-15 00:41:41 +0000
commitced201e9ba7b75de3083ae69fcf53574f3971b63 (patch)
treef6c1e0a51edd103e6bc9abfcf8e1090896749b65 /sys/net
parent5226915195242c10d1b0b3a535816bb5528f1cca (diff)
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
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_arp.h17
1 files changed, 1 insertions, 16 deletions
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_ */