Home
last modified time | relevance | path

Searched refs:dn_cfg (Results 1 – 12 of 12) sorted by relevance

/f-stack/freebsd/netpfil/ipfw/
H A Dip_dn_io.c80 struct dn_parms dn_cfg; variable
121 value = dn_cfg.hash_size; in sysctl_hash_size()
127 dn_cfg.hash_size = value; in sysctl_hash_size()
138 value = dn_cfg.slot_limit; in sysctl_limits()
172 #define DC(x) (&(dn_cfg.x))
687 dn_cfg.prev_t = t; in dummynet_task()
696 dn_cfg.curr_time++; in dummynet_task()
705 dn_cfg.curr_time--; in dummynet_task()
716 DN_KEY_LT(dn_cfg.curr_time, HEAP_TOP(&dn_cfg.evheap)->key)) in dummynet_task()
727 if (dn_cfg.expire && ++dn_cfg.expire_cycle >= dn_cfg.expire) { in dummynet_task()
[all …]
H A Dip_dn_private.h63 mtx_destroy(&dn_cfg.uh_mtx); \
64 mtx_destroy(&dn_cfg.bh_mtx); \
67 #define DN_UH_RLOCK() mtx_lock(&dn_cfg.uh_mtx)
68 #define DN_UH_RUNLOCK() mtx_unlock(&dn_cfg.uh_mtx)
69 #define DN_UH_WLOCK() mtx_lock(&dn_cfg.uh_mtx)
70 #define DN_UH_WUNLOCK() mtx_unlock(&dn_cfg.uh_mtx)
74 #define DN_BH_RLOCK() mtx_lock(&dn_cfg.uh_mtx)
75 #define DN_BH_RUNLOCK() mtx_unlock(&dn_cfg.uh_mtx)
76 #define DN_BH_WLOCK() mtx_lock(&dn_cfg.uh_mtx)
77 #define DN_BH_WUNLOCK() mtx_unlock(&dn_cfg.uh_mtx)
[all …]
H A Dip_dummynet.c530 dn_cfg.si_count++; in si_new()
577 dn_cfg.si_count--; in si_destroy()
1582 dn_cfg.id++; in config_link()
1666 dn_cfg.id++; in config_fs()
1751 dn_cfg.id++; in config_sched()
1921 dn_cfg.id++; in config_profile()
2398 dn_ht_scan_bucket(dn_cfg.schedhash, &dn_cfg.drain_sch, in dn_drain_scheduler()
2445 dn_ht_scan_bucket(dn_cfg.fshash, &dn_cfg.drain_fs, in dn_drain_queue()
2447 dn_cfg.drain_fs++; in dn_drain_queue()
2534 dn_cfg.schedhash = dn_ht_init(NULL, dn_cfg.hash_size, in ip_dn_init()
[all …]
H A Ddn_aqm.h40 #define NOW ((dn_cfg.curr_time * tick) / 1000)
42 #define AQM_UNOW (dn_cfg.curr_time * tick)
H A Ddn_sched.h190 q->q_time = dn_cfg.curr_time; in dn_dequeue()
H A Ddn_sched_fq_codel.h150 si->main_q.q_time = dn_cfg.curr_time; in fq_codel_extract_head()
H A Dip_dn_glue.c570 need += dn_cfg.schk_count * sizeof(struct dn_pipe8) / 2; in dn_compat_calc_size()
571 need += dn_cfg.fsk_count * sizeof(struct dn_flow_set); in dn_compat_calc_size()
572 need += dn_cfg.si_count * sizeof(struct dn_flow_queue8); in dn_compat_calc_size()
573 need += dn_cfg.queue_count * sizeof(struct dn_flow_queue8); in dn_compat_calc_size()
H A Ddn_aqm_codel.c205 q->q_time = dn_cfg.curr_time; in codel_extract_head()
H A Ddn_sched_fq_pie.c350 si->main_q.q_time = dn_cfg.curr_time; in fq_pie_extract_head()
771 si->main_q.q_time = dn_cfg.curr_time; in pie_drop_head()
H A Ddn_sched_fq_codel.c168 si->main_q.q_time = dn_cfg.curr_time; in codel_drop_head()
H A Ddn_aqm_pie.c341 q->q_time = dn_cfg.curr_time; in pie_extract_head()
/f-stack/freebsd/netpfil/ipfw/test/
H A Dmain.c104 struct dn_parms dn_cfg; variable