MCPcopy Create free account
hub / github.com/F-Stack/f-stack / parse_table_action_time

Function parse_table_action_time

dpdk/examples/ip_pipeline/cli.c:3662–3674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3660}
3661
3662static uint32_t
3663parse_table_action_time(char **tokens,
3664 uint32_t n_tokens,
3665 struct table_rule_action *a)
3666{
3667 if ((n_tokens < 1) ||
3668 strcmp(tokens[0], "time"))
3669 return 0;
3670
3671 a->time.time = rte_rdtsc();
3672 a->action_mask |= 1 << RTE_TABLE_ACTION_TIME;
3673 return 1;
3674}
3675
3676static void
3677parse_free_sym_crypto_param_data(struct rte_table_action_sym_crypto_params *p)

Callers 1

parse_table_actionFunction · 0.85

Calls 2

strcmpFunction · 0.85
rte_rdtscFunction · 0.50

Tested by

no test coverage detected