* Get pointer to mbuf field for device-specific metadata. * * For performance reason, no check is done, * the dynamic field may not be registered. * @see rte_security_dynfield_is_registered * * @param mbuf packet to access * @return pointer to mbuf field */
| 934 | * @return pointer to mbuf field |
| 935 | */ |
| 936 | static inline rte_security_dynfield_t * |
| 937 | rte_security_dynfield(struct rte_mbuf *mbuf) |
| 938 | { |
| 939 | return RTE_MBUF_DYNFIELD(mbuf, |
| 940 | rte_security_dynfield_offset, |
| 941 | rte_security_dynfield_t *); |
| 942 | } |
| 943 | |
| 944 | /** |
| 945 | * @warning |
no outgoing calls