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

Function ttl_apply

dpdk/lib/pipeline/rte_table_action.c:1525–1534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1523 ((data)->n_packets & 1)))
1524
1525static int
1526ttl_apply(void *data,
1527 struct rte_table_action_ttl_params *p)
1528{
1529 struct ttl_data *d = data;
1530
1531 TTL_INIT(d, p->decrement);
1532
1533 return 0;
1534}
1535
1536static __rte_always_inline uint64_t
1537pkt_ipv4_work_ttl(struct rte_ipv4_hdr *ip,

Callers 1

rte_table_action_applyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected