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

Function node_mbuf_priv1

dpdk/lib/node/node_private.h:67–71  ·  view source on GitHub ↗

* Get mbuf_priv1 pointer from rte_mbuf. * * @param * Pointer to the rte_mbuf. * * @return * Pointer to the mbuf_priv1. */

Source from the content-addressed store, hash-verified

65 * Pointer to the mbuf_priv1.
66 */
67static __rte_always_inline struct node_mbuf_priv1 *
68node_mbuf_priv1(struct rte_mbuf *m, const int offset)
69{
70 return RTE_MBUF_DYNFIELD(m, offset, struct node_mbuf_priv1 *);
71}
72
73/**
74 * Get mbuf_priv2 pointer from rte_mbuf.

Calls

no outgoing calls

Tested by

no test coverage detected