Equivalent to VPP vec_len()
(stats, vector_offset)
| 67 | |
| 68 | |
| 69 | def get_vec_len(stats, vector_offset): |
| 70 | """Equivalent to VPP vec_len()""" |
| 71 | return VEC_LEN_FMT.unpack_from(stats.statseg, vector_offset - 8)[0] |
| 72 | |
| 73 | |
| 74 | def get_string(stats, ptr): |
no outgoing calls
no test coverage detected