Home
last modified time | relevance | path

Searched refs:gact (Results 1 – 5 of 5) sorted by relevance

/linux/net/sched/
A Dact_gate.c25 switch (gact->tk_offset) { in gate_get_time()
42 now = gate_get_time(gact); in gate_get_start_time()
78 next = gact->next_entry; in gate_timer_func()
85 gact->current_close_time = ktime_add_ns(gact->current_close_time, in gate_timer_func()
137 if (gact->current_entry_octets > gact->current_max_octets) { in tcf_gate_act()
381 gact = to_gate(*a); in tcf_gate_init()
390 p = &gact->param; in tcf_gate_init()
452 gate_setup_timer(gact, gact->param.tcfg_basetime, in tcf_gate_init()
453 gact->tk_offset, gact->param.tcfg_clockid, in tcf_gate_init()
464 p = &gact->param; in tcf_gate_cleanup()
[all …]
A Dact_gact.c30 return gact->tcf_action; in gact_net_rand()
31 return gact->tcfg_paction; in gact_net_rand()
39 if (pack % gact->tcfg_pval) in gact_determ()
40 return gact->tcf_action; in gact_determ()
41 return gact->tcfg_paction; in gact_determ()
63 struct tcf_gact *gact; in tcf_gact_init() local
123 gact = to_gact(*a); in tcf_gact_init()
125 spin_lock_bh(&gact->tcf_lock); in tcf_gact_init()
190 .index = gact->tcf_index, in tcf_gact_dump()
201 if (gact->tcfg_ptype) { in tcf_gact_dump()
[all …]
/linux/include/net/tc_act/
A Dtc_gact.h23 struct tcf_gact *gact; in __is_tcf_gact_act() local
28 gact = to_gact(a); in __is_tcf_gact_act()
29 if ((!is_ext && gact->tcf_action == act) || in __is_tcf_gact_act()
30 (is_ext && TC_ACT_EXT_CMP(gact->tcf_action, act))) in __is_tcf_gact_act()
/linux/tools/testing/selftests/tc-testing/creating-testcases/
A DAddingTestCases.txt42 under test is testing. Example: filter, actions, u32, gact, etc.
56 For example: if the command under test creates a gact action,
57 verifyCmd should be "$TC actions show action gact"
99 "$TC actions flush action gact",
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_selftests.c1129 struct tcf_gact *gact = to_gact(&act[i]); in stmmac_test_rxp() local
1132 gact->tcf_action = TC_ACT_SHOT; in stmmac_test_rxp()

Completed in 11 milliseconds