Searched refs:dest_mac (Results 1 - 16 of 16) sorted by relevance

/linux-master/samples/bpf/
H A Dxdp_router_ipv4.bpf.c112 __be64 *dest_mac, *src_mac; local
124 dest_mac = &direct_entry->arp.mac;
146 dest_mac = bpf_map_lookup_elem(&arp_table, &iph->daddr);
147 if (!dest_mac) {
151 dest_mac = bpf_map_lookup_elem(&arp_table,
153 if (!dest_mac) {
165 if (src_mac && dest_mac) {
168 __builtin_memcpy(eth->h_dest, dest_mac, ETH_ALEN);
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_tunnel_vxlan.sh136 dest_mac=$(mac_get $h1)
142 )"$dest_mac:"$( : ETH daddr
192 dest_mac=$(mac_get $h1)
198 )"$dest_mac:"$( : ETH daddr
217 dest_mac=$(mac_get $h1)
223 )"$dest_mac:"$( : ETH daddr
274 dest_mac=$(mac_get $h1)
281 )"$dest_mac:"$( : ETH daddr
H A Ddevlink_trap_tunnel_vxlan_ipv6.sh137 local dest_mac=$(mac_get $h1)
145 )"$dest_mac:"$( : ETH daddr
197 local dest_mac=$(mac_get $h1)
205 )"$dest_mac:"$( : ETH daddr
225 dest_mac=$(mac_get $h1)
231 )"$dest_mac:"$( : ETH daddr
283 local dest_mac=$(mac_get $h1)
292 )"$dest_mac:"$( : ETH daddr
H A Dingress_rif_conf_vxlan.sh198 local dest_mac=$(mac_get vlan4001)
206 )"$dest_mac:"$( : ETH daddr
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.h131 u8 dest_mac[ETH_ALEN]; member in struct:mtk_foe_bridge
377 u8 *dest_mac);
H A Dmtk_ppe.c211 u8 *dest_mac)
241 if (is_multicast_ether_addr(dest_mac))
252 ether_addr_copy(entry->bridge.dest_mac, dest_mac);
263 l2->dest_mac_hi = get_unaligned_be32(dest_mac);
264 l2->dest_mac_lo = get_unaligned_be16(dest_mac + 4);
781 ether_addr_copy(key.dest_mac, eh->h_dest);
209 mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, int type, int l4proto, u8 pse_port, u8 *src_mac, u8 *dest_mac) argument
H A Dmtk_ppe_offload.c188 struct net_device *dev, const u8 *dest_mac,
194 if (mtk_flow_get_wdma_info(dev, dest_mac, &info) == 0) {
187 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, struct net_device *dev, const u8 *dest_mac, int *wed_index) argument
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.c451 req.dest_mac[0] = cpu_to_le16(temp16[0]);
452 req.dest_mac[1] = cpu_to_le16(temp16[1]);
453 req.dest_mac[2] = cpu_to_le16(temp16[2]);
H A Droce_hsi.h632 __le16 dest_mac[3]; member in struct:cmdq_modify_qp
788 __le16 dest_mac[3]; member in struct:creq_query_qp_resp_sb
1837 __le16 dest_mac[3]; member in struct:cmdq_create_ah
H A Dqplib_fp.c1325 memcpy(req.dest_mac, qp->ah.dmac, 6);
1432 memcpy(qp->ah.dmac, sb->dest_mac, 6);
/linux-master/drivers/net/ethernet/via/
H A Dvia-velocity.h1197 u8 dest_mac[ETH_ALEN]; member in struct:arp_packet
1212 u8 dest_mac[6]; member in struct:_magic_packet
/linux-master/tools/testing/selftests/net/forwarding/
H A Dvxlan_bridge_1d.sh558 local dest_mac=$1; shift
569 )"$dest_mac:"$( : ETH daddr
H A Dvxlan_bridge_1d_ipv6.sh679 local dest_mac=$1; shift
692 )"$dest_mac:"$( : ETH daddr
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c515 u8 *dest_mac = NULL; local
531 dest_mac = eth_hdr(skb)->h_dest;
563 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) {
565 dest_mac);
573 if (!ether_addr_equal(port->data_src_addr, dest_mac)) {
/linux-master/drivers/scsi/qedf/
H A Dqedf_main.c2468 u8 *dest_mac = NULL; local
2484 dest_mac = eth_hdr(skb)->h_dest;
2540 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) {
2542 "FC frame d_id mismatch with MAC %pM.\n", dest_mac);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h7479 const char *dest_mac)
7481 mlxsw_reg_ratr_eth_destination_mac_memcpy_to(payload, dest_mac);
7478 mlxsw_reg_ratr_eth_entry_pack(char *payload, const char *dest_mac) argument

Completed in 323 milliseconds