| /f-stack/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
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_table_action.c | 313 uint16_t total_length) in pkt_work_mtr() argument 330 total_length, in pkt_work_mtr() 974 uint16_t total_length) in encap_vxlan_ipv4_checksum_update() argument 982 cksum1 += total_length; in encap_vxlan_ipv4_checksum_update() 1113 uint16_t total_length, in pkt_work_encap() argument 1606 uint16_t total_length) in pkt_work_stats() argument 1609 data->n_bytes += total_length; in pkt_work_stats() 2893 uint16_t total_length; in pkt_work() local 2899 total_length = rte_ntohs(hdr->total_length); in pkt_work() 2926 total_length); in pkt_work() [all …]
|
| /f-stack/dpdk/lib/librte_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() 119 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 | 33 dst->total_length = rte_cpu_to_be_16(len); in __fill_ipv4hdr_frag()
|
| /f-stack/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 | 173 if (rte_cpu_to_be_16(pkt->total_length) < sizeof(struct rte_ipv4_hdr)) in is_valid_ipv4_pkt()
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-qlm.c | 360 int total_length = qlm_jtag_length * num_lanes; in cvmx_qlm_jtag_set() local 391 while (bits < total_length) in cvmx_qlm_jtag_set() 394 int width = total_length - bits; in cvmx_qlm_jtag_set()
|
| /f-stack/dpdk/lib/librte_net/ |
| H A D | rte_ip.h | 36 rte_be16_t total_length; /**< length of packet */ member 332 l3_len = rte_be_to_cpu_16(ipv4_hdr->total_length); in rte_ipv4_phdr_cksum() 360 l3_len = rte_be_to_cpu_16(ipv4_hdr->total_length); in rte_ipv4_udptcp_cksum()
|
| /f-stack/dpdk/lib/librte_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()
|
| /f-stack/dpdk/lib/librte_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 | 105 ipv4_hdr->total_length = rte_cpu_to_be_16(pkt->pkt_len - l3_offset); in update_ipv4_header()
|
| /f-stack/dpdk/lib/librte_gro/ |
| H A D | gro_udp4.c | 185 ipv4_hdr->total_length = rte_cpu_to_be_16(pkt->pkt_len - in update_header() 231 ip_dl = rte_be_to_cpu_16(ipv4_hdr->total_length); in gro_udp4_reassemble()
|
| H A D | gro_vxlan_tcp4.c | 275 ipv4_hdr->total_length = rte_cpu_to_be_16(len); in update_vxlan_header() 285 ipv4_hdr->total_length = rte_cpu_to_be_16(len); in update_vxlan_header()
|
| H A D | gro_vxlan_udp4.c | 265 ipv4_hdr->total_length = rte_cpu_to_be_16(len); in update_vxlan_header() 275 ipv4_hdr->total_length = rte_cpu_to_be_16(len); in update_vxlan_header()
|
| H A D | gro_tcp4.c | 188 ipv4_hdr->total_length = rte_cpu_to_be_16(pkt->pkt_len - in update_header()
|
| /f-stack/dpdk/app/test/ |
| H A D | packet_burst_generator.c | 174 ip_hdr->total_length = rte_cpu_to_be_16(pkt_len); in initialize_ipv4_header() 222 ip_hdr->total_length = rte_cpu_to_be_16(pkt_len); in initialize_ipv4_header_proto()
|
| H A D | test_ipfrag.c | 107 hdr->total_length = rte_cpu_to_be_16(b->pkt_len); in v4_allocate_packet_of()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | txonly.c | 131 ip_hdr->total_length = RTE_CPU_TO_BE_16(pkt_len); in setup_pkt_udp_ip_headers() 183 ip_hdr->total_length = RTE_CPU_TO_BE_16(pkt_len); in update_pkt_header()
|
| H A D | flowgen.c | 151 ip_hdr->total_length = RTE_CPU_TO_BE_16(pkt_size - in pkt_burst_flow_gen()
|
| /f-stack/dpdk/drivers/net/avp/ |
| H A D | avp_ethdev.c | 1295 unsigned int total_length = 0; in avp_dev_copy_from_buffers() local 1309 total_length = pkt_buf->pkt_len; in avp_dev_copy_from_buffers() 1369 rte_pktmbuf_pkt_len(m) = total_length; in avp_dev_copy_from_buffers() 1609 size_t total_length; in avp_dev_copy_to_buffers() local 1620 total_length = rte_pktmbuf_pkt_len(m); in avp_dev_copy_to_buffers() 1675 first_buf->pkt_len = total_length; in avp_dev_copy_to_buffers() 1684 return total_length; in avp_dev_copy_to_buffers()
|
| /f-stack/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()
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_protocol_type.h | 230 __be16 total_length; member
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 929 size = sizeof(ipv4_spec->hdr.total_length); in ulp_rte_ipv4_hdr_handler() 931 &ipv4_spec->hdr.total_length, in ulp_rte_ipv4_hdr_handler() 978 &ipv4_mask->hdr.total_length, in ulp_rte_ipv4_hdr_handler() 979 sizeof(ipv4_mask->hdr.total_length)); in ulp_rte_ipv4_hdr_handler()
|
| /f-stack/dpdk/lib/librte_flow_classify/ |
| H A D | rte_flow_classify_parse.c | 287 ipv4_mask->hdr.total_length || in classify_parse_ntuple_filter()
|