From 69f0fecbd627f72e30208a983b77c558a1a80cb6 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Wed, 28 Mar 2018 23:33:26 +0000 Subject: Remove infrastructure for token-ring networks. Reviewed by: cem, imp, jhb, jmallett Relnotes: yes Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14875 --- usr.sbin/arp/arp.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'usr.sbin/arp') diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index 84c6593d661c..e1a2801c30b2 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -62,7 +62,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include @@ -303,7 +302,6 @@ valid_type(int type) case IFT_INFINIBAND: case IFT_ISO88023: case IFT_ISO88024: - case IFT_ISO88025: case IFT_L2VLAN: case IFT_BRIDGE: return (1); @@ -592,9 +590,7 @@ print_entry(struct sockaddr_dl *sdl, { const char *host; struct hostent *hp; - struct iso88025_sockaddr_dl_data *trld; struct if_nameindex *p; - int seg; if (ifnameindex == NULL) if ((ifnameindex = if_nameindex()) == NULL) @@ -659,17 +655,6 @@ print_entry(struct sockaddr_dl *sdl, case IFT_ETHER: xo_emit(" [{:type/ethernet}]"); break; - case IFT_ISO88025: - xo_emit(" [{:type/token-ring}]"); - trld = SDL_ISO88025(sdl); - if (trld->trld_rcf != 0) { - xo_emit(" rt=%x", ntohs(trld->trld_rcf)); - for (seg = 0; - seg < ((TR_RCF_RIFLEN(trld->trld_rcf) - 2 ) / 2); - seg++) - xo_emit(":%x", ntohs(*(trld->trld_route[seg]))); - } - break; case IFT_FDDI: xo_emit(" [{:type/fddi}]"); break; -- cgit v1.2.3