| 5485 | } |
| 5486 | |
| 5487 | void |
| 5488 | show_rx_pkt_offsets(void) |
| 5489 | { |
| 5490 | uint32_t i, n; |
| 5491 | |
| 5492 | n = rx_pkt_nb_offs; |
| 5493 | printf("Number of offsets: %u\n", n); |
| 5494 | if (n) { |
| 5495 | printf("Segment offsets: "); |
| 5496 | for (i = 0; i != n - 1; i++) |
| 5497 | printf("%hu,", rx_pkt_seg_offsets[i]); |
| 5498 | printf("%hu\n", rx_pkt_seg_lengths[i]); |
| 5499 | } |
| 5500 | } |
| 5501 | |
| 5502 | void |
| 5503 | set_rx_pkt_offsets(unsigned int *seg_offsets, unsigned int nb_offs) |
no test coverage detected