Searched refs:ip_len (Results 1 – 9 of 9) sorted by relevance
| /dpdk/lib/ip_frag/ |
| H A D | rte_ipv4_reassembly.c | 106 int32_t ip_len; in rte_ipv4_frag_reassemble_packet() local 120 ip_len = rte_be_to_cpu_16(ip_hdr->total_length) - mb->l3_len; in rte_ipv4_frag_reassemble_packet() 121 trim = mb->pkt_len - (ip_len + mb->l3_len + mb->l2_len); in rte_ipv4_frag_reassemble_packet() 129 mb, tms, key.src_dst[0], key.id, ip_ofs, ip_len, trim, ip_flag, in rte_ipv4_frag_reassemble_packet() 134 if (ip_len <= 0) { in rte_ipv4_frag_reassemble_packet() 159 mb = ip_frag_process(fp, dr, mb, ip_ofs, ip_len, ip_flag); in rte_ipv4_frag_reassemble_packet()
|
| H A D | rte_ipv6_reassembly.c | 144 int32_t ip_len; in rte_ipv6_frag_reassemble_packet() local 161 ip_len = rte_be_to_cpu_16(ip_hdr->payload_len) - sizeof(*frag_hdr); in rte_ipv6_frag_reassemble_packet() 162 trim = mb->pkt_len - (ip_len + mb->l3_len + mb->l2_len); in rte_ipv6_frag_reassemble_packet() 171 mb, tms, IPv6_KEY_BYTES(key.src_dst), key.id, ip_ofs, ip_len, in rte_ipv6_frag_reassemble_packet() 177 if (ip_len <= 0) { in rte_ipv6_frag_reassemble_packet() 203 mb = ip_frag_process(fp, dr, mb, ip_ofs, ip_len, in rte_ipv6_frag_reassemble_packet()
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipip.h | 71 outip4->ip_len = htons(rte_pktmbuf_data_len(m)); in ipip_outbound() 128 uint32_t ip_len, set_ecn; in ipip_inbound() local 135 ip_len = sizeof(struct ip); in ipip_inbound() 139 ip_len = sizeof(struct ip6_hdr); in ipip_inbound() 144 inip4 = (struct ip *)rte_pktmbuf_adj(m, offset + ip_len); in ipip_inbound() 148 RTE_ASSERT(rte_pktmbuf_pkt_len(m) > ip_len); in ipip_inbound()
|
| H A D | esp.c | 206 ip4->ip_len = htons(rte_pktmbuf_data_len(m)); in esp_inbound_post() 319 ip4->ip_len = htons(rte_pktmbuf_data_len(m)); in esp_outbound()
|
| /dpdk/lib/gro/ |
| H A D | gro_udp4.h | 202 uint32_t ip_len; in merge_two_udp4_packets() local 215 ip_len = pkt_head->pkt_len - l2_len in merge_two_udp4_packets() 217 if (unlikely(ip_len > MAX_IPV4_PKT_LENGTH)) in merge_two_udp4_packets()
|
| /dpdk/drivers/crypto/caam_jr/ |
| H A D | caam_jr.c | 637 rte_be_to_cpu_16(ip4_hdr->ip_len); in hw_poll_job_ring() 639 rte_be_to_cpu_16(ip4_hdr->ip_len); in hw_poll_job_ring() 644 rte_be_to_cpu_16(ip4_hdr->ip_len); in hw_poll_job_ring() 646 rte_be_to_cpu_16(ip4_hdr->ip_len); in hw_poll_job_ring() 1871 session->ip4_hdr.ip_len = rte_cpu_to_be_16( in caam_jr_set_ipsec_session()
|
| /dpdk/drivers/net/virtio/ |
| H A D | virtio_rxtx.c | 409 uint16_t prev_cksum, new_cksum, ip_len, ip_paylen; in virtio_tso_fix_cksum() local 418 ip_len = iph->total_length; in virtio_tso_fix_cksum() 419 ip_paylen = rte_cpu_to_be_16(rte_be_to_cpu_16(ip_len) - in virtio_tso_fix_cksum()
|
| /dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec.c | 3010 session->ip4_hdr.ip_len = rte_cpu_to_be_16( in dpaa_sec_set_ipsec_session()
|
| /dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_dpseci.c | 3255 ip4_hdr.ip_len = rte_cpu_to_be_16(sizeof(ip4_hdr)); in dpaa2_sec_set_ipsec_session()
|