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

Function trs_process_step3

dpdk/lib/ipsec/esp_inb.c:543–551  ·  view source on GitHub ↗

* step three for transport mode: * update mbuf metadata: * - packet_type * - ol_flags */

Source from the content-addressed store, hash-verified

541 * - ol_flags
542 */
543static inline void
544trs_process_step3(struct rte_mbuf *mb)
545{
546 /* reset mbuf packet type */
547 mb->packet_type &= (RTE_PTYPE_L2_MASK | RTE_PTYPE_L3_MASK);
548
549 /* clear the RTE_MBUF_F_RX_SEC_OFFLOAD flag if set */
550 mb->ol_flags &= ~RTE_MBUF_F_RX_SEC_OFFLOAD;
551}
552
553/*
554 * step three for tunnel mode:

Callers 1

trs_processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected