Home
last modified time | relevance | path

Searched refs:RTE_ETHER_TYPE_IPV4 (Results 1 – 25 of 65) sorted by relevance

123

/dpdk/app/test-pmd/
H A Dcsumonly.c102 if (ethertype == _htons(RTE_ETHER_TYPE_IPV4)) in get_udptcp_checksum()
172 case _htons(RTE_ETHER_TYPE_IPV4): in parse_ethernet()
239 info->ethertype = _htons(RTE_ETHER_TYPE_IPV4); in parse_gtp()
307 info->ethertype = _htons(RTE_ETHER_TYPE_IPV4); in parse_vxlan_gpe()
352 _htons(RTE_ETHER_TYPE_IPV4)) { in parse_geneve()
357 info->ethertype = _htons(RTE_ETHER_TYPE_IPV4); in parse_geneve()
398 if (gre_hdr->proto == _htons(RTE_ETHER_TYPE_IPV4)) { in parse_gre()
404 info->ethertype = _htons(RTE_ETHER_TYPE_IPV4); in parse_gre()
449 info->ethertype = _htons(RTE_ETHER_TYPE_IPV4); in parse_encap_ip()
485 if (info->ethertype == _htons(RTE_ETHER_TYPE_IPV4)) { in process_inner_cksums()
[all …]
H A Dicmpecho.c354 (arp_pro != RTE_ETHER_TYPE_IPV4) || in reply_to_icmp_echo_rqsts()
408 if (eth_type != RTE_ETHER_TYPE_IPV4) { in reply_to_icmp_echo_rqsts()
H A Dflowgen.c126 eth_hdr->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in pkt_burst_flow_gen()
H A D5tswap.c142 if (proto == RTE_BE16(RTE_ETHER_TYPE_IPV4)) { in pkt_burst_5tuple_swap()
H A Dtxonly.c362 eth_hdr.ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in pkt_burst_transmit()
/dpdk/lib/net/
H A Drte_net.c165 *proto = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in ptype_tunnel()
246 if (proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4)) in rte_net_get_ptype()
296 if (proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4)) { in rte_net_get_ptype()
428 if (proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4)) { in rte_net_get_ptype()
H A Drte_arp.c38 rarp->arp_protocol = RTE_BE16(RTE_ETHER_TYPE_IPV4); in rte_net_make_rarp_packet()
H A Drte_ether.h292 #define RTE_ETHER_TYPE_IPV4 0x0800 /**< IPv4 Protocol. */ macro
/dpdk/app/test/
H A Dpacket_burst_generator.c84 arp_hdr->arp_protocol = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in initialize_arp_header()
327 pkt->vlan_tci = RTE_ETHER_TYPE_IPV4; in generate_packet_burst()
448 pkt->vlan_tci = RTE_ETHER_TYPE_IPV4; in generate_packet_burst_proto()
H A Dtest_flow_classify.c492 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_ipv4_udp_traffic()
529 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_ipv4_tcp_traffic()
566 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_ipv4_sctp_traffic()
H A Dtest_sched.c122 eth_hdr->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in prepare_pkt()
H A Dtest_pcapng.c67 .ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4), in mbuf1_prepare()
H A Dtest_link_bonding.c1337 ether_type = RTE_ETHER_TYPE_IPV4; in generate_test_burst()
2134 RTE_ETHER_TYPE_IPV4, 0, 0); in test_activebackup_tx_burst()
2708 RTE_ETHER_TYPE_IPV4, 0, 0); in test_balance_l2_tx_burst()
2724 RTE_ETHER_TYPE_IPV4, 0, 0); in test_balance_l2_tx_burst()
3587 RTE_ETHER_TYPE_IPV4, 0, 0); in test_broadcast_tx_burst()
4198 RTE_ETHER_TYPE_IPV4, 0, 0); in test_tlb_tx_burst()
4203 RTE_ETHER_TYPE_IPV4, 0, 0); in test_tlb_tx_burst()
/dpdk/lib/node/
H A Dethdev_rx.c58 if (etype == rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4)) in l3_ptype()
/dpdk/examples/bond/
H A Dmain.c437 } else if (ether_type == rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4)) { in lcore_main()
529 arp_hdr->arp_protocol = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in cmd_obj_send_parsed()
/dpdk/drivers/net/igc/
H A Digc_filter.c94 if (filter->ether_type == RTE_ETHER_TYPE_IPV4 || in igc_add_ethertype_filter()
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_alb.c236 arp_h->arp_protocol = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in bond_mode_alb_arp_upd()
/dpdk/drivers/net/qede/
H A Dqede_filter.c352 case RTE_ETHER_TYPE_IPV4: in qede_arfs_construct_pkt()
813 RTE_ETHER_TYPE_IPV4; in qede_flow_parse_pattern()
/dpdk/app/test-flow-perf/
H A Dactions_gen.c542 eth_hdr.ether_type = RTE_BE16(RTE_ETHER_TYPE_IPV4); in add_ether_header()
565 vlan_hdr.eth_proto = RTE_BE16(RTE_ETHER_TYPE_IPV4); in add_vlan_header()
/dpdk/drivers/net/dpaa/
H A Ddpaa_rxtx.c262 if (eth_hdr->ether_type == htons(RTE_ETHER_TYPE_IPV4)) in dpaa_checksum()
273 if (eth_hdr->ether_type == htons(RTE_ETHER_TYPE_IPV4)) in dpaa_checksum()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.c797 if (eth_type == RTE_ETHER_TYPE_IPV4) { in hinic_analyze_tx_info()
824 if (eth_type == RTE_ETHER_TYPE_IPV4) { in hinic_analyze_outer_ip_vxlan()
/dpdk/examples/ipv4_multicast/
H A Dmain.c287 ethdr->ether_type = rte_be_to_cpu_16(RTE_ETHER_TYPE_IPV4); in mcast_send_pkt()
/dpdk/lib/pipeline/
H A Drte_table_action.c612 RTE_ETHER_TYPE_IPV4 : in encap_ether_apply()
630 RTE_ETHER_TYPE_IPV4 : in encap_vlan_apply()
654 RTE_ETHER_TYPE_IPV4 : in encap_qinq_apply()
787 d->vlan.eth_proto = rte_htons(RTE_ETHER_TYPE_IPV4); in encap_vxlan_apply()
822 d->ether.ether_type = rte_htons(RTE_ETHER_TYPE_IPV4); in encap_vxlan_apply()
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_flow.c67 case RTE_ETHER_TYPE_IPV4: in cxgbe_tweak_filter_spec()
416 (fs->val.ethtype != RTE_ETHER_TYPE_IPV4)) in ch_rte_parsetype_ipv4()
/dpdk/examples/l3fwd/
H A Dl3fwd_lpm.c692 if (ether_type == rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4)) in lpm_parse_ptype()

123