summaryrefslogtreecommitdiff
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-09-08 10:22:08 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-09-08 10:22:08 +0000
commitfae7b82c435ab26e6a5ae158943c81f3fb25a86a (patch)
tree6c7257f491c1be38c4a0dc409fb14d959d1a712b /sys/net/if_var.h
parent8250e2cc1a067efb0f8df6265fbb03eefb97f05f (diff)
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
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 443a71eb7eb..28514a0bfcd 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_var.h,v 1.116 2022/08/30 18:23:58 kn Exp $ */
+/* $OpenBSD: if_var.h,v 1.117 2022/09/08 10:22:06 kn Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -314,7 +314,7 @@ int niq_enlist(struct niqueue *, struct mbuf_list *);
#define sysctl_niq(_n, _l, _op, _olp, _np, _nl, _niq) \
sysctl_mq((_n), (_l), (_op), (_olp), (_np), (_nl), &(_niq)->ni_q)
-extern struct ifnet_head ifnet;
+extern struct ifnet_head ifnetlist;
void if_start(struct ifnet *);
int if_enqueue(struct ifnet *, struct mbuf *);