src/dpdk/lib/librte_ipsec/esp_inb.c
static inline int32_t
tun_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml,
	uint32_t *tofs, struct rte_esp_tail espt, uint32_t hlen, uint32_t tlen,
	uint8_t proto)
{
	return (trs_process_check(mb, ml, tofs, espt, hlen, tlen) ||
		espt.next_proto != proto);
}
/*
 * packet checks for tunnel mode:
 * - same as for trasnport mode
 * - esp tail next proto contains expected for that SA value
 */
packet checks for tunnel mode:
- same as for trasnport mode
- esp tail next proto contains expected for that SA value
packet checks for tunnel mode : - same as for trasnport mode - esp tail next proto contains expected for that SA value
static inline int32_t
tun_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml,
	uint32_t *tofs, struct rte_esp_tail espt, uint32_t hlen, uint32_t tlen,
	uint8_t proto)
{
	return (trs_process_check(mb, ml, tofs, espt, hlen, tlen) ||
		espt.next_proto != proto);
}
static inline int32_t tun_process_check ( struct rte_mbuf * mb , struct rte_mbuf * * ml , uint32_t * tofs , struct rte_esp_tail espt , uint32_t hlen , uint32_t tlen , uint8_t proto ) { return ( trs_process_check ( mb , ml , tofs , espt , hlen , tlen ) || espt . next_proto != proto ) ; }
packet checks for tunnel mode:
 - same as for trasnport mode
 - esp tail next proto contains expected for that SA value
packet checks for tunnel mode : - same as for trasnport mode - esp tail next proto contains expected for that SA value