grep and CVS agree that this is a switch(4) left-over.
OK?
Index: if_var.h
===================================================================
RCS file: /cvs/src/sys/net/if_var.h,v
retrieving revision 1.114
diff -u -p -r1.114 if_var.h
--- if_var.h 20 Feb 2021 04:55:52 -0000 1.114
+++ if_var.h 26 Aug 2022 09:47:37 -0000
@@ -133,7 +133,6 @@ struct ifnet { /* and the
entries */
int if_pcount; /* [N] # of promiscuous listeners */
unsigned int if_bridgeidx; /* [K] used by bridge ports */
caddr_t if_bpf; /* packet filter structure */
- caddr_t if_switchport; /* used by switch ports */
caddr_t if_mcast; /* used by multicast code */
caddr_t if_mcast6; /* used by IPv6 multicast code */
caddr_t if_pf_kif; /* pf interface abstraction */