Rename global ifnet TAILQ
authorkn <kn@openbsd.org>
Thu, 8 Sep 2022 10:22:05 +0000 (10:22 +0000)
committerkn <kn@openbsd.org>
Thu, 8 Sep 2022 10:22:05 +0000 (10:22 +0000)
commitccb45f8ea0f19383d0e961f23e9320ae7c3aa76b
treea9418a8c2c48d4c99610161b438134444b8dbb55
parent238cd070b25ce41320ce8657c79c0cd2f3cf7734
Rename global ifnet TAILQ

Naming the list like the struct itself makes for awful grepping.
Call the global variable "ifnetlist" from now on.

There used to be kvm(3) consumers in base picking up this symbol, but those
have long been converted to other interfaces.

A few potential ports users remain, same deal as sys/net/if_var.h r1.116
"Remove struct ifnet's unused if_switchport member":  they get bumped.

Previous users pointed out by deraadt
OK bluhm
21 files changed:
sys/arch/amd64/amd64/autoconf.c
sys/arch/arm64/arm64/autoconf.c
sys/arch/armv7/armv7/autoconf.c
sys/arch/i386/i386/autoconf.c
sys/arch/powerpc64/powerpc64/autoconf.c
sys/arch/riscv64/riscv64/autoconf.c
sys/dev/pv/hypervic.c
sys/dev/pv/vmt.c
sys/net/if.c
sys/net/if_loop.c
sys/net/if_var.h
sys/net/rtsock.c
sys/netinet/igmp.c
sys/netinet/in.c
sys/netinet/ip_carp.c
sys/netinet/ip_mroute.c
sys/netinet6/in6.c
sys/netinet6/in6_ifattach.c
sys/netinet6/ip6_mroute.c
sys/netinet6/mld6.c
sys/netinet6/nd6.c