Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/altq/altq_priq.h
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | struct priq_classstats { | ||||
struct pktcntr dropcnt; /* dropped packet counter */ | struct pktcntr dropcnt; /* dropped packet counter */ | ||||
/* codel, red and rio related info */ | /* codel, red and rio related info */ | ||||
int qtype; | int qtype; | ||||
struct redstats red[3]; /* rio has 3 red stats */ | struct redstats red[3]; /* rio has 3 red stats */ | ||||
struct codel_stats codel; | struct codel_stats codel; | ||||
}; | }; | ||||
/* | |||||
* PRIQ_STATS_VERSION is defined in altq.h to work around issues stemming | |||||
* from mixing of public-API and internal bits in each scheduler-specific | |||||
* header. | |||||
*/ | |||||
#ifdef ALTQ3_COMPAT | #ifdef ALTQ3_COMPAT | ||||
struct priq_class_stats { | struct priq_class_stats { | ||||
struct priq_interface iface; | struct priq_interface iface; | ||||
int maxpri; /* in/out */ | int maxpri; /* in/out */ | ||||
struct priq_classstats *stats; /* pointer to stats array */ | struct priq_classstats *stats; /* pointer to stats array */ | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |