| 44 | int nb_flow_rule; |
| 45 | |
| 46 | static void |
| 47 | ipv4_hdr_print(struct rte_ipv4_hdr *hdr) |
| 48 | { |
| 49 | char a, b, c, d; |
| 50 | |
| 51 | uint32_t_to_char(rte_bswap32(hdr->src_addr), &a, &b, &c, &d); |
| 52 | printf("src: %3hhu.%3hhu.%3hhu.%3hhu \t", a, b, c, d); |
| 53 | |
| 54 | uint32_t_to_char(rte_bswap32(hdr->dst_addr), &a, &b, &c, &d); |
| 55 | printf("dst: %3hhu.%3hhu.%3hhu.%3hhu", a, b, c, d); |
| 56 | } |
| 57 | |
| 58 | static int |
| 59 | ipv4_addr_cpy(rte_be32_t *spec, rte_be32_t *mask, char *token, |
no test coverage detected