* Get mbuf_priv1 pointer from rte_mbuf. * * @param * Pointer to the rte_mbuf. * * @return * Pointer to the mbuf_priv1. */
| 65 | * Pointer to the mbuf_priv1. |
| 66 | */ |
| 67 | static __rte_always_inline struct node_mbuf_priv1 * |
| 68 | node_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. |
no outgoing calls
no test coverage detected