Changeset View
Changeset View
Standalone View
Standalone View
sys/netpfil/ipfw/ip_dn_glue.c
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Lines | struct dn_flow_queue7 { | ||||
int64_t S,F ; /* start time, finish time */ | int64_t S,F ; /* start time, finish time */ | ||||
}; | }; | ||||
struct dn_pipe7 { /* a pipe */ | struct dn_pipe7 { /* a pipe */ | ||||
SLIST_ENTRY(dn_pipe7) next; /* linked list in a hash slot */ | SLIST_ENTRY(dn_pipe7) next; /* linked list in a hash slot */ | ||||
int pipe_nr ; /* number */ | int pipe_nr ; /* number */ | ||||
int bandwidth; /* really, bytes/tick. */ | uint32_t bandwidth; /* really, bytes/tick. */ | ||||
int delay ; /* really, ticks */ | int delay ; /* really, ticks */ | ||||
struct mbuf *head, *tail ; /* packets in delay line */ | struct mbuf *head, *tail ; /* packets in delay line */ | ||||
/* WF2Q+ */ | /* WF2Q+ */ | ||||
struct dn_heap7 scheduler_heap ; /* top extract - key Finish time*/ | struct dn_heap7 scheduler_heap ; /* top extract - key Finish time*/ | ||||
struct dn_heap7 not_eligible_heap; /* top extract- key Start time */ | struct dn_heap7 not_eligible_heap; /* top extract- key Start time */ | ||||
struct dn_heap7 idle_heap ; /* random extract - key Start=Finish time */ | struct dn_heap7 idle_heap ; /* random extract - key Start=Finish time */ | ||||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | struct dn_flow_queue8 { | ||||
int64_t S,F ; /* start time, finish time */ | int64_t S,F ; /* start time, finish time */ | ||||
}; | }; | ||||
struct dn_pipe8 { /* a pipe */ | struct dn_pipe8 { /* a pipe */ | ||||
SLIST_ENTRY(dn_pipe8) next; /* linked list in a hash slot */ | SLIST_ENTRY(dn_pipe8) next; /* linked list in a hash slot */ | ||||
int pipe_nr ; /* number */ | int pipe_nr ; /* number */ | ||||
int bandwidth; /* really, bytes/tick. */ | uint32_t bandwidth; /* really, bytes/tick. */ | ||||
int delay ; /* really, ticks */ | int delay ; /* really, ticks */ | ||||
struct mbuf *head, *tail ; /* packets in delay line */ | struct mbuf *head, *tail ; /* packets in delay line */ | ||||
/* WF2Q+ */ | /* WF2Q+ */ | ||||
struct dn_heap7 scheduler_heap ; /* top extract - key Finish time*/ | struct dn_heap7 scheduler_heap ; /* top extract - key Finish time*/ | ||||
struct dn_heap7 not_eligible_heap; /* top extract- key Start time */ | struct dn_heap7 not_eligible_heap; /* top extract- key Start time */ | ||||
struct dn_heap7 idle_heap ; /* random extract - key Start=Finish time */ | struct dn_heap7 idle_heap ; /* random extract - key Start=Finish time */ | ||||
▲ Show 20 Lines • Show All 608 Lines • Show Last 20 Lines |