example/ipsec_crypto/odp_ipsec_misc.h
static inline
void ipv4_adjust_len(odph_ipv4hdr_t *ip, int adj)
{
	ip->tot_len = odp_cpu_to_be_16(odp_be_to_cpu_16(ip->tot_len) + adj);
}
/**
 * Adjust IPv4 length
 *
 * @param ip   Pointer to IPv4 header
 * @param adj  Signed adjustment value
 */
Adjust IPv4 length
@param ip   Pointer to IPv4 header
@param adj  Signed adjustment value
Adjust IPv4 length @param ip Pointer to IPv4 header @param adj Signed adjustment value
static inline
void ipv4_adjust_len(odph_ipv4hdr_t *ip, int adj)
{
	ip->tot_len = odp_cpu_to_be_16(odp_be_to_cpu_16(ip->tot_len) + adj);
}
static inline void ipv4_adjust_len ( odph_ipv4hdr_t * ip , int adj ) { ip -> tot_len = odp_cpu_to_be_16 ( odp_be_to_cpu_16 ( ip -> tot_len ) + adj ) ; }
Adjust IPv4 length
 @param ip   Pointer to IPv4 header
 @param adj  Signed adjustment value
Adjust IPv4 length @param ip Pointer to IPv4 header @param adj Signed adjustment value