From: henning Date: Sat, 19 Apr 2014 15:57:25 +0000 (+0000) Subject: ifnet's if_snd becomes a regular ifqueue instead of ifaltq, the need to X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=165b11d92901a79df08826f63736cbece3491141;p=openbsd ifnet's if_snd becomes a regular ifqueue instead of ifaltq, the need to keep ifqueue and ifaltq in sync is gone and thus the comment obsolete, and finally there is no more need to include if_altq.h either --- diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 36a317b63e1..a63e0a94be6 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_var.h,v 1.7 2014/04/19 11:26:10 henning Exp $ */ +/* $OpenBSD: if_var.h,v 1.8 2014/04/19 15:57:25 henning Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -37,7 +37,6 @@ #define _NET_IF_VAR_H_ #include -#include #ifdef _KERNEL #include #endif @@ -96,7 +95,6 @@ struct if_clone { /* * Structure defining a queue for a network interface. - * XXX keep in sync with struct ifaltq. */ struct ifqueue { struct { @@ -168,7 +166,7 @@ struct ifnet { /* and the entries */ void (*if_watchdog)(struct ifnet *); int (*if_wol)(struct ifnet *, int); struct ifaddr *if_lladdr; /* pointer to link-level address */ - struct ifaltq if_snd; /* output queue (includes altq) */ + struct ifqueue if_snd; /* output queue */ struct sockaddr_dl *if_sadl; /* pointer to our sockaddr_dl */ void *if_afdata[AF_MAX];