MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_mbuf_sanity_check

Function rte_mbuf_sanity_check

dpdk/lib/mbuf/rte_mbuf.c:367–374  ·  view source on GitHub ↗

do some sanity checks on a mbuf: panic if it fails */

Source from the content-addressed store, hash-verified

365
366/* do some sanity checks on a mbuf: panic if it fails */
367void
368rte_mbuf_sanity_check(const struct rte_mbuf *m, int is_header)
369{
370 const char *reason;
371
372 if (rte_mbuf_check(m, is_header, &reason))
373 rte_panic("%s\n", reason);
374}
375
376int rte_mbuf_check(const struct rte_mbuf *m, int is_header,
377 const char **reason)

Callers 6

test_one_pktmbufFunction · 0.85
test_pktmbuf_readFunction · 0.85
create_packetFunction · 0.85

Calls 1

rte_mbuf_checkFunction · 0.85

Tested by 6

test_one_pktmbufFunction · 0.68
test_pktmbuf_readFunction · 0.68
create_packetFunction · 0.68