| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_nvram.c | 646 size_t total_length; in ef10_nvram_buffer_validate() local 671 total_length = __LE_TO_CPU_32(header->total_length); in ef10_nvram_buffer_validate() 672 if (total_length > partn_size) { in ef10_nvram_buffer_validate() 1229 size_t total_length; in ef10_nvram_read_tlv_segment() local 1261 total_length = __LE_TO_CPU_32(header->total_length); in ef10_nvram_read_tlv_segment() 1262 if (total_length > max_seg_size) { in ef10_nvram_read_tlv_segment() 1268 if (total_length > EF10_NVRAM_CHUNK) { in ef10_nvram_read_tlv_segment() 1272 total_length - EF10_NVRAM_CHUNK, in ef10_nvram_read_tlv_segment() 1844 size_t total_length = 0; in ef10_nvram_partn_write_segment_tlv() local 1896 if (total_length > partn_size) { in ef10_nvram_partn_write_segment_tlv() [all …]
|
| H A D | ef10_tlv_layout.h | 132 uint32_t total_length; member
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 311 uint16_t total_length) in pkt_work_mtr() argument 328 total_length, in pkt_work_mtr() 972 uint16_t total_length) in encap_vxlan_ipv4_checksum_update() argument 980 cksum1 += total_length; in encap_vxlan_ipv4_checksum_update() 1111 uint16_t total_length, in pkt_work_encap() argument 1604 uint16_t total_length) in pkt_work_stats() argument 1607 data->n_bytes += total_length; in pkt_work_stats() 2891 uint16_t total_length; in pkt_work() local 2897 total_length = rte_ntohs(hdr->total_length); in pkt_work() 2924 total_length); in pkt_work() [all …]
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_common.h | 42 ((uint8_t)ipv4_hdr->total_length == 0 && in rfc1812_process() 43 ipv4_hdr->total_length < IPV4_MIN_LEN_BE)) in rfc1812_process()
|
| H A D | l3fwd.h | 186 if (rte_cpu_to_be_16(pkt->total_length) < sizeof(struct rte_ipv4_hdr)) in is_valid_ipv4_pkt()
|
| /dpdk/lib/ip_frag/ |
| H A D | rte_ipv4_reassembly.c | 72 ip_hdr->total_length = rte_cpu_to_be_16((uint16_t)(fp->total_size + in ipv4_frag_reassemble() 120 ip_len = rte_be_to_cpu_16(ip_hdr->total_length) - mb->l3_len; in rte_ipv4_frag_reassemble_packet()
|
| H A D | rte_ipv4_fragmentation.c | 31 dst->total_length = rte_cpu_to_be_16(len); in __fill_ipv4hdr_frag()
|
| /dpdk/lib/net/ |
| H A D | rte_ip.h | 56 rte_be16_t total_length; /**< length of packet */ member 341 l3_len = rte_be_to_cpu_16(ipv4_hdr->total_length); in rte_ipv4_phdr_cksum() 359 l3_len = rte_be_to_cpu_16(ipv4_hdr->total_length); in __rte_ipv4_udptcp_cksum()
|
| /dpdk/lib/ipsec/ |
| H A D | iph.h | 54 v4h->total_length = rte_cpu_to_be_16(plen - l2len); in update_trs_l3hdr() 254 v4h->total_length = rte_cpu_to_be_16(plen - l2len); in update_tun_outb_l3hdr()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_tso.h | 63 field_ofst = offsetof(struct rte_ipv4_hdr, total_length); in sfc_tso_innermost_ip_fix_len()
|
| /dpdk/lib/gso/ |
| H A D | gso_udp4.c | 28 ipv4_hdr->total_length = rte_cpu_to_be_16(length); in update_ipv4_udp_headers()
|
| H A D | gso_common.h | 110 ipv4_hdr->total_length = rte_cpu_to_be_16(pkt->pkt_len - l3_offset); in update_ipv4_header()
|
| /dpdk/lib/gro/ |
| H A D | gro_udp4.c | 184 ipv4_hdr->total_length = rte_cpu_to_be_16(pkt->pkt_len - in update_header() 230 ip_dl = rte_be_to_cpu_16(ipv4_hdr->total_length); in gro_udp4_reassemble()
|
| H A D | gro_vxlan_tcp4.c | 274 ipv4_hdr->total_length = rte_cpu_to_be_16(len); in update_vxlan_header() 284 ipv4_hdr->total_length = rte_cpu_to_be_16(len); in update_vxlan_header()
|
| H A D | gro_vxlan_udp4.c | 264 ipv4_hdr->total_length = rte_cpu_to_be_16(len); in update_vxlan_header() 274 ipv4_hdr->total_length = rte_cpu_to_be_16(len); in update_vxlan_header()
|
| H A D | gro_tcp4.c | 187 ipv4_hdr->total_length = rte_cpu_to_be_16(pkt->pkt_len - in update_header()
|
| /dpdk/app/test/ |
| H A D | packet_burst_generator.c | 176 ip_hdr->total_length = rte_cpu_to_be_16(pkt_len); in initialize_ipv4_header() 224 ip_hdr->total_length = rte_cpu_to_be_16(pkt_len); in initialize_ipv4_header_proto()
|
| H A D | test_pcapng.c | 71 .total_length = rte_cpu_to_be_16(plen), in mbuf1_prepare()
|
| H A D | test_ipfrag.c | 120 hdr->total_length = rte_cpu_to_be_16(b->pkt_len); in v4_allocate_packet_of()
|
| H A D | test_bpf.c | 1057 dn->ip_hdr.total_length = rte_cpu_to_be_16(60); in test_jump2_prepare() 2557 .imm = offsetof(struct rte_ipv4_hdr, total_length), 2626 .total_length = rte_cpu_to_be_16(plen), in test_ld_mbuf1_prepare() 2687 offsetof(struct rte_ipv4_hdr, total_length), sizeof(*p16), in test_ld_mbuf1() 2819 .imm = offsetof(struct rte_ipv4_hdr, total_length), 3354 .total_length = rte_cpu_to_be_16(plen), in test_bpf_filter_sanity()
|
| /dpdk/drivers/net/avp/ |
| H A D | avp_ethdev.c | 1296 unsigned int total_length = 0; in avp_dev_copy_from_buffers() local 1310 total_length = pkt_buf->pkt_len; in avp_dev_copy_from_buffers() 1370 rte_pktmbuf_pkt_len(m) = total_length; in avp_dev_copy_from_buffers() 1610 size_t total_length; in avp_dev_copy_to_buffers() local 1621 total_length = rte_pktmbuf_pkt_len(m); in avp_dev_copy_to_buffers() 1676 first_buf->pkt_len = total_length; in avp_dev_copy_to_buffers() 1685 return total_length; in avp_dev_copy_to_buffers()
|
| /dpdk/app/test-pmd/ |
| H A D | txonly.c | 133 ip_hdr->total_length = RTE_CPU_TO_BE_16(pkt_len); in setup_pkt_udp_ip_headers() 185 ip_hdr->total_length = RTE_CPU_TO_BE_16(pkt_len); in update_pkt_header()
|
| H A D | flowgen.c | 140 ip_hdr->total_length = RTE_CPU_TO_BE_16(pkt_size - in pkt_burst_flow_gen()
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_filter.c | 355 ip->total_length = sizeof(struct rte_ipv4_hdr); in qede_arfs_construct_pkt() 372 ip->total_length += sizeof(struct rte_udp_hdr); in qede_arfs_construct_pkt() 381 ip->total_length += sizeof(struct rte_tcp_hdr); in qede_arfs_construct_pkt()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_protocol_type.h | 258 __be16 total_length; member
|