Home
last modified time | relevance | path

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

123

/dpdk/app/test-pmd/
H A Dcsumonly.c206 parse_gtp(struct rte_udp_hdr *udp_hdr, in parse_gtp()
225 sizeof(struct rte_udp_hdr)); in parse_gtp()
259 parse_vxlan(struct rte_udp_hdr *udp_hdr, in parse_vxlan()
274 sizeof(struct rte_udp_hdr) + in parse_vxlan()
297 sizeof(struct rte_udp_hdr)); in parse_vxlan_gpe()
349 sizeof(struct rte_udp_hdr)); in parse_geneve()
464 struct rte_udp_hdr *udp_hdr; in process_inner_cksums()
574 struct rte_udp_hdr *udp_hdr; in process_outer_cksums()
591 udp_hdr = (struct rte_udp_hdr *) in process_outer_cksums()
907 struct rte_udp_hdr *udp_hdr; in pkt_burst_checksum_forward()
[all …]
H A Dtxonly.c61 static struct rte_udp_hdr pkt_udp_hdr; /**< UDP header of tx packets. */
107 struct rte_udp_hdr *udp_hdr, in setup_pkt_udp_ip_headers()
117 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_udp_hdr)); in setup_pkt_udp_ip_headers()
165 struct rte_udp_hdr *udp_hdr; in update_pkt_header()
172 sizeof(struct rte_udp_hdr))); in update_pkt_header()
174 udp_hdr = rte_pktmbuf_mtod_offset(pkt, struct rte_udp_hdr *, in update_pkt_header()
177 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_udp_hdr)); in update_pkt_header()
441 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.c71 struct rte_udp_hdr *udp_hdr; in pkt_burst_flow_gen()
145 udp_hdr = (struct rte_udp_hdr *)(ip_hdr + 1); in pkt_burst_flow_gen()
H A Dutil.c237 struct rte_udp_hdr *udp_hdr; in dump_pkt_burst()
262 struct rte_udp_hdr *, in dump_pkt_burst()
264 l4_len = sizeof(struct rte_udp_hdr); in dump_pkt_burst()
/dpdk/lib/net/
H A Drte_net.h116 struct rte_udp_hdr *udp_hdr; in rte_net_intel_cksum_flags_prepare()
160 udp_hdr = (struct rte_udp_hdr *)((char *)ipv4_hdr + in rte_net_intel_cksum_flags_prepare()
169 struct rte_udp_hdr *, in rte_net_intel_cksum_flags_prepare()
H A Drte_vxlan.h40 (sizeof(struct rte_udp_hdr) + sizeof(struct rte_vxlan_hdr))
56 #define RTE_ETHER_VXLAN_GPE_HLEN (sizeof(struct rte_udp_hdr) + \
H A Drte_udp.h28 struct rte_udp_hdr { struct
H A Drte_gtp.h144 (sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))
/dpdk/app/test/
H A Dpacket_burst_generator.c95 initialize_udp_header(struct rte_udp_hdr *udp_hdr, uint16_t src_port, in initialize_udp_header()
100 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_udp_hdr)); in initialize_udp_header()
132 pkt_len = (uint16_t) (pkt_data_len + sizeof(struct rte_udp_hdr)); in initialize_sctp_header()
263 void *ip_hdr, uint8_t ipv4, struct rte_udp_hdr *udp_hdr, in generate_packet_burst()
393 sizeof(struct rte_udp_hdr), pkt, in generate_packet_burst_proto()
418 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,
H A Dtest_cksum.c161 struct rte_udp_hdr *udp = l4_hdr; in test_l4_cksum()
198 struct rte_udp_hdr *udp = l4_hdr; in test_l4_cksum()
H A Dtest_cryptodev_security_ipsec.c336 struct rte_udp_hdr *udp; in test_ipsec_csum_init()
359 udp = (struct rte_udp_hdr *)RTE_PTR_ADD(ip, size); in test_ipsec_csum_init()
659 struct rte_udp_hdr *udp; in test_ipsec_l4_csum_verify()
676 udp = (struct rte_udp_hdr *)l4; in test_ipsec_l4_csum_verify()
696 udp = (struct rte_udp_hdr *)l4; in test_ipsec_l4_csum_verify()
775 len -= sizeof(struct rte_udp_hdr); in test_ipsec_td_verify()
776 output_text += sizeof(struct rte_udp_hdr); in test_ipsec_td_verify()
/dpdk/lib/gso/
H A Dgso_common.h54 struct rte_udp_hdr *udp_hdr; in update_udp_header()
56 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)
/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 …]
/dpdk/lib/gro/
H A Dgro_vxlan_tcp4.c266 struct rte_udp_hdr *udp_hdr; in update_vxlan_header()
278 udp_hdr = (struct rte_udp_hdr *)((char *)ipv4_hdr + pkt->outer_l3_len); in update_vxlan_header()
295 struct rte_udp_hdr *udp_hdr; in gro_vxlan_tcp4_reassemble()
319 udp_hdr = (struct rte_udp_hdr *)((char *)outer_ipv4_hdr + in gro_vxlan_tcp4_reassemble()
322 sizeof(struct rte_udp_hdr)); in gro_vxlan_tcp4_reassemble()
H A Dgro_vxlan_udp4.c255 struct rte_udp_hdr *udp_hdr; in update_vxlan_header()
268 udp_hdr = (struct rte_udp_hdr *)((char *)ipv4_hdr + pkt->outer_l3_len); in update_vxlan_header()
291 struct rte_udp_hdr *udp_hdr; in gro_vxlan_udp4_reassemble()
309 udp_hdr = (struct rte_udp_hdr *)((char *)outer_ipv4_hdr + in gro_vxlan_udp4_reassemble()
312 sizeof(struct rte_udp_hdr)); in gro_vxlan_udp4_reassemble()
/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()
/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()
/dpdk/lib/pipeline/
H A Drte_table_action.c493 struct rte_udp_hdr udp;
501 struct rte_udp_hdr udp;
508 struct rte_udp_hdr udp;
516 struct rte_udp_hdr udp;
1007 sizeof(struct rte_udp_hdr) + in pkt_work_encap_vxlan_ipv4()
1013 sizeof(struct rte_udp_hdr)); in pkt_work_encap_vxlan_ipv4()
1037 sizeof(struct rte_udp_hdr) + in pkt_work_encap_vxlan_ipv4_vlan()
1367 struct rte_udp_hdr *udp = (struct rte_udp_hdr *) &ip[1]; in pkt_ipv4_work_nat()
1406 struct rte_udp_hdr *udp = (struct rte_udp_hdr *) &ip[1]; in pkt_ipv4_work_nat()
1448 struct rte_udp_hdr *udp = (struct rte_udp_hdr *) &ip[1]; in pkt_ipv6_work_nat()
[all …]
/dpdk/drivers/net/i40e/
H A Di40e_fdir.c934 struct rte_udp_hdr *udp; in i40e_flow_fdir_construct_pkt()
966 udp = (struct rte_udp_hdr *)(raw_pkt + len); in i40e_flow_fdir_construct_pkt()
1003 udp = (struct rte_udp_hdr *)(raw_pkt + len); in i40e_flow_fdir_construct_pkt()
1056 udp = (struct rte_udp_hdr *)(raw_pkt + len); in i40e_flow_fdir_construct_pkt()
1062 sizeof(struct rte_udp_hdr)); in i40e_flow_fdir_construct_pkt()
1145 udp = (struct rte_udp_hdr *)esp_ipv4; in i40e_flow_fdir_construct_pkt()
1153 sizeof(struct rte_udp_hdr)); in i40e_flow_fdir_construct_pkt()
1158 len += sizeof(struct rte_udp_hdr) + in i40e_flow_fdir_construct_pkt()
1174 udp = (struct rte_udp_hdr *)esp_ipv6; in i40e_flow_fdir_construct_pkt()
1182 sizeof(struct rte_udp_hdr)); in i40e_flow_fdir_construct_pkt()
[all …]
/dpdk/drivers/net/mlx5/
H A Dmlx5_defs.h64 sizeof(struct rte_udp_hdr) + \
/dpdk/drivers/net/sfc/
H A Dsfc_tso.h50 offsetof(struct rte_udp_hdr, dgram_len), in sfc_tso_outer_udp_fix_len()
/dpdk/lib/ipsec/
H A Dsa.c364 struct rte_udp_hdr *udph = (struct rte_udp_hdr *) in esp_outb_tun_init()
366 sa->hdr_len += sizeof(struct rte_udp_hdr); in esp_outb_tun_init()
580 hlen += sizeof(struct rte_udp_hdr); in rte_ipsec_sa_init()

123