Home
last modified time | relevance | path

Searched refs:rte_udp_hdr (Results 1 – 25 of 53) sorted by relevance

123

/f-stack/dpdk/app/test-pmd/
H A Dcsumonly.c200 parse_gtp(struct rte_udp_hdr *udp_hdr, in parse_gtp()
219 sizeof(struct rte_udp_hdr)); in parse_gtp()
227 sizeof(struct rte_udp_hdr) + in parse_gtp()
271 sizeof(struct rte_udp_hdr) + in parse_vxlan()
294 sizeof(struct rte_udp_hdr)); in parse_vxlan_gpe()
346 sizeof(struct rte_udp_hdr)); in parse_geneve()
461 struct rte_udp_hdr *udp_hdr; in process_inner_cksums()
554 struct rte_udp_hdr *udp_hdr; in process_outer_cksums()
571 udp_hdr = (struct rte_udp_hdr *) in process_outer_cksums()
880 struct rte_udp_hdr *udp_hdr; in pkt_burst_checksum_forward()
[all …]
H A Dtxonly.c55 static struct rte_udp_hdr pkt_udp_hdr; /**< UDP header of tx packets. */
105 struct rte_udp_hdr *udp_hdr, in setup_pkt_udp_ip_headers()
115 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_udp_hdr)); in setup_pkt_udp_ip_headers()
163 struct rte_udp_hdr *udp_hdr; in update_pkt_header()
170 sizeof(struct rte_udp_hdr))); in update_pkt_header()
172 udp_hdr = rte_pktmbuf_mtod_offset(pkt, struct rte_udp_hdr *, in update_pkt_header()
175 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_udp_hdr)); in update_pkt_header()
435 sizeof(struct rte_udp_hdr))); in tx_only_begin()
H A D5tswap.c69 swap_udp(struct rte_udp_hdr *udp_hdr) in swap_udp()
104 struct rte_udp_hdr *udp; in pkt_burst_5tuple_swap()
158 mb->l4_len = sizeof(struct rte_udp_hdr); in pkt_burst_5tuple_swap()
H A Dflowgen.c91 struct rte_udp_hdr *udp_hdr; in pkt_burst_flow_gen()
157 udp_hdr = (struct rte_udp_hdr *)(ip_hdr + 1); in pkt_burst_flow_gen()
H A Dutil.c188 struct rte_udp_hdr *udp_hdr; in dump_pkt_burst()
213 struct rte_udp_hdr *, in dump_pkt_burst()
215 l4_len = sizeof(struct rte_udp_hdr); in dump_pkt_burst()
/f-stack/dpdk/lib/librte_net/
H A Drte_vxlan.h39 (sizeof(struct rte_udp_hdr) + sizeof(struct rte_vxlan_hdr))
55 #define RTE_ETHER_VXLAN_GPE_HLEN (sizeof(struct rte_udp_hdr) + \
H A Drte_net.h120 struct rte_udp_hdr *udp_hdr; in rte_net_intel_cksum_flags_prepare()
153 udp_hdr = (struct rte_udp_hdr *)((char *)ipv4_hdr + in rte_net_intel_cksum_flags_prepare()
162 struct rte_udp_hdr *, in rte_net_intel_cksum_flags_prepare()
H A Drte_udp.h28 struct rte_udp_hdr { struct
H A Drte_gtp.h39 (sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))
H A Drte_net.c353 hdr_lens->l4_len = sizeof(struct rte_udp_hdr); in rte_net_get_ptype()
489 hdr_lens->inner_l4_len = sizeof(struct rte_udp_hdr); in rte_net_get_ptype()
/f-stack/dpdk/app/test/
H A Dpacket_burst_generator.c94 initialize_udp_header(struct rte_udp_hdr *udp_hdr, uint16_t src_port, in initialize_udp_header()
99 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_udp_hdr)); in initialize_udp_header()
130 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_udp_hdr)); in initialize_sctp_header()
261 void *ip_hdr, uint8_t ipv4, struct rte_udp_hdr *udp_hdr, in generate_packet_burst()
391 sizeof(struct rte_udp_hdr), pkt, in generate_packet_burst_proto()
416 sizeof(struct rte_udp_hdr), pkt, in generate_packet_burst_proto()
H A Dpacket_burst_generator.h38 initialize_udp_header(struct rte_udp_hdr *udp_hdr, uint16_t src_port,
64 void *ip_hdr, uint8_t ipv4, struct rte_udp_hdr *udp_hdr,
/f-stack/dpdk/lib/librte_gso/
H A Dgso_common.h49 struct rte_udp_hdr *udp_hdr; in update_udp_header()
51 udp_hdr = (struct rte_udp_hdr *)(rte_pktmbuf_mtod(pkt, char *) + in update_udp_header()
H A Drte_gso.h26 sizeof(struct rte_ipv4_hdr) + sizeof(struct rte_udp_hdr) + 1)
/f-stack/dpdk/drivers/net/enic/
H A Denic_flow.c430 struct rte_udp_hdr supported_mask = { in enic_copy_item_udp_v1()
620 arg->item->spec, mask, sizeof(struct rte_udp_hdr), in enic_copy_item_inner_udp_v2()
812 sizeof(struct rte_udp_hdr)); in enic_copy_item_udp_v2()
814 sizeof(struct rte_udp_hdr)); in enic_copy_item_udp_v2()
906 struct rte_udp_hdr *udp; in enic_copy_item_vxlan_v2()
916 udp = (struct rte_udp_hdr *)gp->layer[FILTER_GENERIC_1_L4].mask; in enic_copy_item_vxlan_v2()
918 udp = (struct rte_udp_hdr *)gp->layer[FILTER_GENERIC_1_L4].val; in enic_copy_item_vxlan_v2()
977 memcpy(gp->layer[FILTER_GENERIC_1_L4].mask + sizeof(struct rte_udp_hdr), in enic_copy_item_raw_v2()
979 memcpy(gp->layer[FILTER_GENERIC_1_L4].val + sizeof(struct rte_udp_hdr), in enic_copy_item_raw_v2()
1033 memcpy(gp->layer[FILTER_GENERIC_1_L4].mask + sizeof(struct rte_udp_hdr), in fixup_l5_layer()
[all …]
H A Denic_clsf.c112 struct rte_udp_hdr udp_mask, udp_val; in copy_fltr_v2()
126 &udp_mask, &udp_val, sizeof(struct rte_udp_hdr)); in copy_fltr_v2()
208 struct rte_udp_hdr udp_mask, udp_val; in copy_fltr_v2()
221 &udp_mask, &udp_val, sizeof(struct rte_udp_hdr)); in copy_fltr_v2()
/f-stack/dpdk/lib/librte_gro/
H A Dgro_vxlan_tcp4.c267 struct rte_udp_hdr *udp_hdr; in update_vxlan_header()
279 udp_hdr = (struct rte_udp_hdr *)((char *)ipv4_hdr + pkt->outer_l3_len); in update_vxlan_header()
296 struct rte_udp_hdr *udp_hdr; in gro_vxlan_tcp4_reassemble()
320 udp_hdr = (struct rte_udp_hdr *)((char *)outer_ipv4_hdr + in gro_vxlan_tcp4_reassemble()
323 sizeof(struct rte_udp_hdr)); in gro_vxlan_tcp4_reassemble()
H A Dgro_vxlan_udp4.c256 struct rte_udp_hdr *udp_hdr; in update_vxlan_header()
269 udp_hdr = (struct rte_udp_hdr *)((char *)ipv4_hdr + pkt->outer_l3_len); in update_vxlan_header()
292 struct rte_udp_hdr *udp_hdr; in gro_vxlan_udp4_reassemble()
310 udp_hdr = (struct rte_udp_hdr *)((char *)outer_ipv4_hdr + in gro_vxlan_udp4_reassemble()
313 sizeof(struct rte_udp_hdr)); in gro_vxlan_udp4_reassemble()
/f-stack/dpdk/drivers/net/qede/
H A Dqede_filter.c338 struct rte_udp_hdr *udp; in qede_arfs_construct_pkt()
366 udp = (struct rte_udp_hdr *)(raw_pkt + len); in qede_arfs_construct_pkt()
369 udp->dgram_len = sizeof(struct rte_udp_hdr); in qede_arfs_construct_pkt()
370 len += sizeof(struct rte_udp_hdr); in qede_arfs_construct_pkt()
372 ip->total_length += sizeof(struct rte_udp_hdr); in qede_arfs_construct_pkt()
401 udp = (struct rte_udp_hdr *)(raw_pkt + len); in qede_arfs_construct_pkt()
404 len += sizeof(struct rte_udp_hdr); in qede_arfs_construct_pkt()
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.c813 struct rte_udp_hdr *udp_hdr; in hinic_analyze_outer_ip_vxlan()
830 udp_hdr = (struct rte_udp_hdr *)((char *)ipv4_hdr + in hinic_analyze_outer_ip_vxlan()
836 udp_hdr = rte_pktmbuf_mtod_offset(mbuf, struct rte_udp_hdr *, in hinic_analyze_outer_ip_vxlan()
898 struct rte_udp_hdr *udp_hdr; in hinic_calculate_udp_checksum()
908 udp_hdr = (struct rte_udp_hdr *)((char *)ipv4_hdr + in hinic_calculate_udp_checksum()
916 udp_hdr = rte_pktmbuf_mtod_offset(mbuf, struct rte_udp_hdr *, in hinic_calculate_udp_checksum()
999 sizeof(struct rte_udp_hdr); in hinic_tx_offload_pkt_prepare()
1010 sizeof(struct rte_udp_hdr) - in hinic_tx_offload_pkt_prepare()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_defs.h73 sizeof(struct rte_udp_hdr) + \
H A Dmlx5_txpp.c396 struct rte_udp_hdr *udp_hdr; in mlx5_txpp_fill_wqe_clock_queue()
435 sizeof(struct rte_udp_hdr))) in mlx5_txpp_fill_wqe_clock_queue()
439 udp_hdr = (struct rte_udp_hdr *)dst; in mlx5_txpp_fill_wqe_clock_queue()
447 dst += sizeof(struct rte_udp_hdr); in mlx5_txpp_fill_wqe_clock_queue()
450 sizeof(struct rte_udp_hdr); in mlx5_txpp_fill_wqe_clock_queue()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_fdir.c935 struct rte_udp_hdr *udp; in i40e_flow_fdir_construct_pkt()
967 udp = (struct rte_udp_hdr *)(raw_pkt + len); in i40e_flow_fdir_construct_pkt()
1004 udp = (struct rte_udp_hdr *)(raw_pkt + len); in i40e_flow_fdir_construct_pkt()
1057 udp = (struct rte_udp_hdr *)(raw_pkt + len); in i40e_flow_fdir_construct_pkt()
1063 sizeof(struct rte_udp_hdr)); in i40e_flow_fdir_construct_pkt()
1146 udp = (struct rte_udp_hdr *)esp_ipv4; in i40e_flow_fdir_construct_pkt()
1154 sizeof(struct rte_udp_hdr)); in i40e_flow_fdir_construct_pkt()
1159 len += sizeof(struct rte_udp_hdr) + in i40e_flow_fdir_construct_pkt()
1175 udp = (struct rte_udp_hdr *)esp_ipv6; in i40e_flow_fdir_construct_pkt()
1183 sizeof(struct rte_udp_hdr)); in i40e_flow_fdir_construct_pkt()
[all …]
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.c495 struct rte_udp_hdr udp;
503 struct rte_udp_hdr udp;
510 struct rte_udp_hdr udp;
518 struct rte_udp_hdr udp;
1009 sizeof(struct rte_udp_hdr) + in pkt_work_encap_vxlan_ipv4()
1015 sizeof(struct rte_udp_hdr)); in pkt_work_encap_vxlan_ipv4()
1039 sizeof(struct rte_udp_hdr) + in pkt_work_encap_vxlan_ipv4_vlan()
1369 struct rte_udp_hdr *udp = (struct rte_udp_hdr *) &ip[1]; in pkt_ipv4_work_nat()
1408 struct rte_udp_hdr *udp = (struct rte_udp_hdr *) &ip[1]; in pkt_ipv4_work_nat()
1450 struct rte_udp_hdr *udp = (struct rte_udp_hdr *) &ip[1]; in pkt_ipv6_work_nat()
[all …]
/f-stack/lib/
H A Dff_dpdk_kni.c274 if (len < sizeof(struct rte_udp_hdr)) in protocol_filter_udp()
277 const struct rte_udp_hdr *hdr; in protocol_filter_udp()
278 hdr = (const struct rte_udp_hdr *)data; in protocol_filter_udp()

123