Home
last modified time | relevance | path

Searched refs:d_addr (Results 1 – 25 of 57) sorted by relevance

123

/f-stack/dpdk/app/test-pmd/
H A Dmacswap.h32 rte_ether_addr_copy(&eth_hdr->d_addr, &addr); in do_macswap()
33 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in do_macswap()
H A Dicmpecho.c323 ether_addr_dump(" dst=", &eth_h->d_addr); in reply_to_icmp_echo_rqsts()
388 rte_ether_addr_copy(&eth_h->s_addr, &eth_h->d_addr); in reply_to_icmp_echo_rqsts()
457 rte_ether_addr_copy(&eth_h->d_addr, &eth_h->s_addr); in reply_to_icmp_echo_rqsts()
458 rte_ether_addr_copy(&eth_addr, &eth_h->d_addr); in reply_to_icmp_echo_rqsts()
H A Dieee1588fwd.c181 rte_ether_addr_copy(&eth_hdr->d_addr, &addr); in ieee1588_packet_fwd()
182 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in ieee1588_packet_fwd()
H A D5tswap.c30 rte_ether_addr_copy(&eth_hdr->d_addr, &addr); in swap_mac()
31 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in swap_mac()
H A Dmacfwd.c88 &eth_hdr->d_addr); in pkt_burst_mac_forward()
H A Dflowgen.c135 rte_ether_addr_copy(&cfg_ether_dst, &eth_hdr->d_addr); in pkt_burst_flow_gen()
/f-stack/dpdk/examples/l3fwd/
H A Dl3fwd_lpm.h43 *(uint64_t *)&eth_hdr->d_addr = dest_eth_addr[dst_port]; in l3fwd_lpm_simple_forward()
65 *(uint64_t *)&eth_hdr->d_addr = dest_eth_addr[dst_port]; in l3fwd_lpm_simple_forward()
H A Dl3fwd_em.h39 *(uint64_t *)&eth_hdr->d_addr = dest_eth_addr[dst_port]; in l3fwd_em_handle_ipv4()
67 *(uint64_t *)&eth_hdr->d_addr = dest_eth_addr[dst_port]; in l3fwd_em_handle_ipv6()
/f-stack/dpdk/examples/eventdev_pipeline/
H A Dpipeline_common.h107 rte_ether_addr_copy(&eth->d_addr, &addr); in exchange_mac()
108 rte_ether_addr_copy(&addr, &eth->d_addr); in exchange_mac()
/f-stack/dpdk/examples/bond/
H A Dmain.c362 struct rte_ether_addr d_addr; in lcore_main() local
426 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in lcore_main()
431 rte_ether_addr_copy(&bond_mac_addr, &d_addr); in lcore_main()
432 rte_ether_addr_copy(&d_addr, &arp_hdr->arp_data.arp_sha); in lcore_main()
447 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in lcore_main()
524 memset(&eth_hdr->d_addr, 0xFF, RTE_ETHER_ADDR_LEN); in cmd_obj_send_parsed()
/f-stack/dpdk/lib/librte_net/
H A Drte_arp.c32 memset(eth_hdr->d_addr.addr_bytes, 0xff, RTE_ETHER_ADDR_LEN); in rte_net_make_rarp_packet()
H A Drte_ether.h265 struct rte_ether_addr d_addr; /**< Destination address. */ member
/f-stack/dpdk/examples/l2fwd-event/
H A Dl2fwd_common.h95 tmp = &eth->d_addr.addr_bytes[0]; in l2fwd_mac_updating()
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dmain.c1071 *(uint64_t *)&eth_hdr[0]->d_addr = dest_eth_addr[dst_port[0]]; in simple_ipv4_fwd_8pkts()
1072 *(uint64_t *)&eth_hdr[1]->d_addr = dest_eth_addr[dst_port[1]]; in simple_ipv4_fwd_8pkts()
1073 *(uint64_t *)&eth_hdr[2]->d_addr = dest_eth_addr[dst_port[2]]; in simple_ipv4_fwd_8pkts()
1074 *(uint64_t *)&eth_hdr[3]->d_addr = dest_eth_addr[dst_port[3]]; in simple_ipv4_fwd_8pkts()
1075 *(uint64_t *)&eth_hdr[4]->d_addr = dest_eth_addr[dst_port[4]]; in simple_ipv4_fwd_8pkts()
1076 *(uint64_t *)&eth_hdr[5]->d_addr = dest_eth_addr[dst_port[5]]; in simple_ipv4_fwd_8pkts()
1077 *(uint64_t *)&eth_hdr[6]->d_addr = dest_eth_addr[dst_port[6]]; in simple_ipv4_fwd_8pkts()
1078 *(uint64_t *)&eth_hdr[7]->d_addr = dest_eth_addr[dst_port[7]]; in simple_ipv4_fwd_8pkts()
1206 *(uint64_t *)&eth_hdr[0]->d_addr = dest_eth_addr[dst_port[0]]; in simple_ipv6_fwd_8pkts()
1271 *(uint64_t *)&eth_hdr->d_addr = dest_eth_addr[dst_port]; in l3fwd_simple_forward()
[all …]
/f-stack/dpdk/examples/flow_filtering/
H A Dmain.c79 &eth_hdr->d_addr); in main_loop()
/f-stack/dpdk/lib/librte_gro/
H A Dgro_vxlan_tcp4.c362 rte_ether_addr_copy(&(eth_hdr->d_addr), &(key.inner_key.eth_daddr)); in gro_vxlan_tcp4_reassemble()
372 rte_ether_addr_copy(&(outer_eth_hdr->d_addr), &(key.outer_eth_daddr)); in gro_vxlan_tcp4_reassemble()
H A Dgro_vxlan_udp4.c342 rte_ether_addr_copy(&(eth_hdr->d_addr), &(key.inner_key.eth_daddr)); in gro_vxlan_udp4_reassemble()
350 rte_ether_addr_copy(&(outer_eth_hdr->d_addr), &(key.outer_eth_daddr)); in gro_vxlan_udp4_reassemble()
H A Dgro_tcp4.c247 rte_ether_addr_copy(&(eth_hdr->d_addr), &(key.eth_daddr)); in gro_tcp4_reassemble()
/f-stack/dpdk/examples/ethtool/ethtool-app/
H A Dmain.c175 rte_ether_addr_copy(&ptr_mac_hdr->s_addr, &ptr_mac_hdr->d_addr); in process_frame()
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.c618 rte_ether_addr_copy(&p->ether.ether.da, &d->ether.d_addr); in encap_ether_apply()
636 rte_ether_addr_copy(&p->vlan.ether.da, &d->ether.d_addr); in encap_vlan_apply()
660 rte_ether_addr_copy(&p->qinq.ether.da, &d->ether.d_addr); in encap_qinq_apply()
686 rte_ether_addr_copy(&p->qinq.ether.da, &d->ether.d_addr); in encap_qinq_pppoe_apply()
722 rte_ether_addr_copy(&p->mpls.ether.da, &d->ether.d_addr); in encap_mpls_apply()
749 rte_ether_addr_copy(&p->pppoe.ether.da, &d->ether.d_addr); in encap_pppoe_apply()
780 &d->ether.d_addr); in encap_vxlan_apply()
821 &d->ether.d_addr); in encap_vxlan_apply()
858 &d->ether.d_addr); in encap_vxlan_apply()
899 &d->ether.d_addr); in encap_vxlan_apply()
/f-stack/dpdk/drivers/net/bonding/
H A Drte_eth_bond_pmd.c345 ((rte_is_unicast_ether_addr(&hdr->d_addr) && in rx_burst_8023ad()
347 &hdr->d_addr)) || in rx_burst_8023ad()
349 rte_is_multicast_ether_addr(&hdr->d_addr)))))) { in rx_burst_8023ad()
484 eth_h->d_addr.addr_bytes[0], eth_h->d_addr.addr_bytes[1], \
485 eth_h->d_addr.addr_bytes[2], eth_h->d_addr.addr_bytes[3], \
486 eth_h->d_addr.addr_bytes[4], eth_h->d_addr.addr_bytes[5], \
652 (unaligned_uint16_t *)eth_hdr->d_addr.addr_bytes; in ether_hash()
H A Drte_eth_bond_alb.c217 rte_ether_addr_copy(&client_info->cli_mac, &eth_h->d_addr); in bond_mode_alb_arp_upd()
/f-stack/dpdk/examples/l3fwd-acl/
H A Dmain.c1367 memcpy(eh, &port_l2hdr[port], sizeof(eh->d_addr) + sizeof(eh->s_addr)); in send_single_packet()
1735 if (cmdline_parse_etheraddr(NULL, port_end, &port_l2hdr[portid].d_addr, in parse_eth_dest()
1736 sizeof(port_l2hdr[portid].d_addr)) < 0) in parse_eth_dest()
2004 port_l2hdr[i].d_addr.addr_bytes[0] = RTE_ETHER_LOCAL_ADMIN_ADDR; in set_default_dest_mac()
2005 port_l2hdr[i].d_addr.addr_bytes[5] = i; in set_default_dest_mac()
2117 print_ethaddr("Dst MAC:", &port_l2hdr[portid].d_addr); in main()
/f-stack/dpdk/examples/vhost/
H A Dmain.c852 dst_vdev = find_vhost_dev(&pkt_hdr->d_addr); in virtio_tx_local()
888 dst_vdev = find_vhost_dev(&pkt_hdr->d_addr); in find_local_dest()
977 if (unlikely(rte_is_broadcast_ether_addr(&nh->d_addr))) { in virtio_tx_route()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dflow_filtering.rst315 &eth_hdr->d_addr);
343 print_ether_addr(" - dst=", &eth_hdr->d_addr);

123