length of option including padding */
| 116 | |
| 117 | /* length of option including padding */ |
| 118 | static uint16_t pcapng_optlen(uint16_t len) |
| 119 | { |
| 120 | return RTE_ALIGN(sizeof(struct pcapng_option) + len, |
| 121 | sizeof(uint32_t)); |
| 122 | } |
| 123 | |
| 124 | /* build TLV option and return location of next */ |
| 125 | static struct pcapng_option * |
no outgoing calls
no test coverage detected