Changeset View
Changeset View
Standalone View
Standalone View
sys/net/altq/altq_hfsc.h
Show First 20 Lines • Show All 208 Lines • ▼ Show 20 Lines | struct runtime_sc { | ||||
u_int64_t dx; /* the x-projection of the 1st segment */ | u_int64_t dx; /* the x-projection of the 1st segment */ | ||||
u_int64_t dy; /* the y-projection of the 1st segment */ | u_int64_t dy; /* the y-projection of the 1st segment */ | ||||
u_int64_t sm2; /* scaled slope of the 2nd segment */ | u_int64_t sm2; /* scaled slope of the 2nd segment */ | ||||
u_int64_t ism2; /* scaled inverse-slope of the 2nd segment */ | u_int64_t ism2; /* scaled inverse-slope of the 2nd segment */ | ||||
}; | }; | ||||
struct hfsc_class { | struct hfsc_class { | ||||
u_int cl_id; /* class id (just for debug) */ | u_int cl_id; /* class id (just for debug) */ | ||||
u_int cl_slot; /* slot in hif class table */ | |||||
u_int32_t cl_handle; /* class handle */ | u_int32_t cl_handle; /* class handle */ | ||||
struct hfsc_if *cl_hif; /* back pointer to struct hfsc_if */ | struct hfsc_if *cl_hif; /* back pointer to struct hfsc_if */ | ||||
int cl_flags; /* misc flags */ | int cl_flags; /* misc flags */ | ||||
struct hfsc_class *cl_parent; /* parent class */ | struct hfsc_class *cl_parent; /* parent class */ | ||||
struct hfsc_class *cl_siblings; /* sibling classes */ | struct hfsc_class *cl_siblings; /* sibling classes */ | ||||
struct hfsc_class *cl_children; /* child classes */ | struct hfsc_class *cl_children; /* child classes */ | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |