- body_len_declared = cp[0];
- if (body_len_declared == 0)
- return cp + header_len; /* skip to next frame */
- ND_PRINT((ndo, " frame flags+body (8-bit) length %u", cp[0]));
- ND_TCHECK2(*cp, header_len + 1); /* length, flags */
- flags = cp[1];
+ body_len_declared = EXTRACT_U_1(cp);
+ ND_PRINT((ndo, " frame flags+body (8-bit) length %" PRIu64, body_len_declared));