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

Function fill_u32_range_data

dpdk/app/test/test_acl.c:1647–1659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1645}
1646
1647static void
1648fill_u32_range_data(struct ipv4_7tuple tdata[], uint32_t start, uint32_t num)
1649{
1650 uint32_t i;
1651 const struct rte_acl_ipv4vlan_rule *r;
1652
1653 for (i = 0; i != num; i++) {
1654 tdata[i].ip_src = start + i;
1655 r = find_u32_range_rule(start + i);
1656 if (r != NULL)
1657 tdata[i].allow = r->data.userdata;
1658 }
1659}
1660
1661static int
1662test_u32_range(void)

Callers 1

test_u32_rangeFunction · 0.85

Calls 1

find_u32_range_ruleFunction · 0.85

Tested by

no test coverage detected