| 332 | #endif |
| 333 | |
| 334 | static void |
| 335 | convert_ipv4_5tuple(struct ipv4_5tuple *key1, |
| 336 | union ipv4_5tuple_host *key2) |
| 337 | { |
| 338 | key2->ip_dst = rte_cpu_to_be_32(key1->ip_dst); |
| 339 | key2->ip_src = rte_cpu_to_be_32(key1->ip_src); |
| 340 | key2->port_dst = rte_cpu_to_be_16(key1->port_dst); |
| 341 | key2->port_src = rte_cpu_to_be_16(key1->port_src); |
| 342 | key2->proto = key1->proto; |
| 343 | key2->pad0 = 0; |
| 344 | key2->pad1 = 0; |
| 345 | } |
| 346 | |
| 347 | static void |
| 348 | convert_ipv6_5tuple(struct ipv6_5tuple *key1, |
no outgoing calls
no test coverage detected