| 1632 | } |
| 1633 | |
| 1634 | static const struct rte_acl_ipv4vlan_rule * |
| 1635 | find_u32_range_rule(uint32_t val) |
| 1636 | { |
| 1637 | uint32_t i; |
| 1638 | |
| 1639 | for (i = 0; i != RTE_DIM(acl_u32_range_test_rules); i++) { |
| 1640 | if (val >= acl_u32_range_test_rules[i].src_addr && |
| 1641 | val <= acl_u32_range_test_rules[i].src_mask_len) |
| 1642 | return acl_u32_range_test_rules + i; |
| 1643 | } |
| 1644 | return NULL; |
| 1645 | } |
| 1646 | |
| 1647 | static void |
| 1648 | fill_u32_range_data(struct ipv4_7tuple tdata[], uint32_t start, uint32_t num) |
no outgoing calls
no test coverage detected