Home
last modified time | relevance | path

Searched refs:dst_mac (Results 1 – 25 of 52) sorted by relevance

123

/Linux-v5.4/tools/testing/selftests/tc-testing/
Dtdc_batch.py73 def format_add_filter(device, prio, handle, skip, src_mac, dst_mac, argument
77 device, prio, handle, skip, src_mac, dst_mac, share_action))
80 def format_rep_filter(device, prio, handle, skip, src_mac, dst_mac, argument
84 device, prio, handle, skip, src_mac, dst_mac, share_action))
87 def format_del_filter(device, prio, handle, skip, src_mac, dst_mac, argument
105 dst_mac = "e4:12:00:" + mac variable
107 dst_mac, share_action)
/Linux-v5.4/tools/testing/selftests/net/forwarding/
Dtc_chains.sh39 flower $tcflags dst_mac $h2mac action drop
58 flower $tcflags dst_mac $h2mac action drop
60 $tcflags dst_mac $h2mac action drop
62 $tcflags dst_mac $h2mac action goto chain 1
129 flower dst_mac 00:00:00:00:00:00/FF:FF:FF:FF:FF:FF &> /dev/null
134 flower dst_mac $h2mac action drop
146 flower dst_mac $h2mac action drop &> /dev/null
Dtc_flower.sh42 $tcflags dst_mac $dummy_mac action drop
44 $tcflags dst_mac $h2mac action drop
230 flower vlan_prio 6 $tcflags dst_mac $h2mac action drop
232 flower vlan_prio 7 $tcflags dst_mac $h2mac action drop
318 $tcflags indev $h1 dst_mac $h2mac action drop
320 $tcflags indev $h2 dst_mac $h2mac action drop
Dtc_shblocks.sh78 $tcflags indev $swp1 dst_mac $swmac action drop
80 $tcflags indev $swp2 dst_mac $swmac action drop
Dbridge_igmp.sh95 flower dst_mac $mac action drop
Dmirror_gre.sh76 flower ip_proto 0x2f src_mac $swp3mac dst_mac $h3mac \
Dlib.sh899 flower dst_mac $mac action drop
965 flower dst_mac $mac action drop
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l2_drops.sh170 flower dst_mac $dmac action drop
231 flower dst_mac $dmac action drop
275 flower dst_mac $dmac action drop
346 flower dst_mac $dmac action drop
392 flower dst_mac $dmac action drop
439 flower dst_mac $dmac action drop
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c403 struct sockaddr_in *dst_in, u8 *dst_mac) in qedr_addr4_resolve() argument
422 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr4_resolve()
423 DP_DEBUG(dev, QEDR_MSG_QP, "mac_addr=[%pM]\n", dst_mac); in qedr_addr4_resolve()
439 struct sockaddr_in6 *dst_in, u8 *dst_mac) in qedr_addr6_resolve() argument
465 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr6_resolve()
466 DP_DEBUG(dev, QEDR_MSG_QP, "mac_addr=[%pM]\n", dst_mac); in qedr_addr6_resolve()
/Linux-v5.4/net/atm/
Dlec.h46 int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force,
Dlec.c74 static int lane2_resolve(struct net_device *dev, const u8 *dst_mac, int force,
1082 static int lane2_resolve(struct net_device *dev, const u8 *dst_mac, int force, in lane2_resolve() argument
1093 table = lec_arp_find(priv, dst_mac); in lane2_resolve()
1108 retval = send_to_lecd(priv, l_arp_xmt, dst_mac, NULL, NULL); in lane2_resolve()
1116 retval = send_to_lecd(priv, l_arp_xmt, dst_mac, NULL, skb); in lane2_resolve()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h237 u8 dst_mac[6]; member
508 u8 dst_mac[6]; member
527 u8 dst_mac[6]; member
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dwmi.h398 u8 dst_mac[WMI_MAC_LEN]; member
404 u8 dst_mac[WMI_MAC_LEN]; member
593 u8 dst_mac[WMI_MAC_LEN]; member
861 u8 dst_mac[WMI_MAC_LEN]; member
868 u8 dst_mac[WMI_MAC_LEN]; member
1528 u8 dst_mac[WMI_MAC_LEN]; member
1534 u8 dst_mac[WMI_MAC_LEN]; member
1573 u8 dst_mac[WMI_MAC_LEN]; member
3240 u8 dst_mac[WMI_MAC_LEN]; member
3592 u8 dst_mac[WMI_MAC_LEN]; member
[all …]
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c960 con->dst_mac_addr_hi = (conn_info->dst_mac[5] << 8) | in qed_fcoe_offload_conn()
961 conn_info->dst_mac[4]; in qed_fcoe_offload_conn()
962 con->dst_mac_addr_mid = (conn_info->dst_mac[3] << 8) | in qed_fcoe_offload_conn()
963 conn_info->dst_mac[2]; in qed_fcoe_offload_conn()
964 con->dst_mac_addr_lo = (conn_info->dst_mac[1] << 8) | in qed_fcoe_offload_conn()
965 conn_info->dst_mac[0]; in qed_fcoe_offload_conn()
/Linux-v5.4/include/linux/qed/
Dqed_fcoe_if.h41 u8 dst_mac[ETH_ALEN]; member
/Linux-v5.4/drivers/scsi/qedi/
Dqedi_iscsi.h73 u8 dst_mac[ETH_ALEN]; member
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3147 if (mask.dst_mac[0] && !mask.dst_ip[0]) { in i40e_validate_cloud_filter()
3149 f = i40e_find_mac(vsi, data.dst_mac); in i40e_validate_cloud_filter()
3154 data.dst_mac, vf->vf_id); in i40e_validate_cloud_filter()
3183 if (mask.dst_mac[0] & data.dst_mac[0]) { in i40e_validate_cloud_filter()
3184 if (is_broadcast_ether_addr(data.dst_mac) || in i40e_validate_cloud_filter()
3185 is_zero_ether_addr(data.dst_mac)) { in i40e_validate_cloud_filter()
3187 vf->vf_id, data.dst_mac); in i40e_validate_cloud_filter()
3341 cfilter.dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_del_cloud_filter()
3403 if (mask.dst_mac[0]) in i40e_vc_del_cloud_filter()
3475 cfilter->dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_add_cloud_filter()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c106 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in setup_l2e_send_pending()
Dt3_cpl.h546 __u8 dst_mac[6]; member
1213 __u8 dst_mac[6]; member
1254 __u8 dst_mac[6]; member
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmain.c1350 memcpy(mlx4_spec->eth.dst_mac, ib_spec->eth.val.dst_mac, in parse_flow_attr()
1352 memcpy(mlx4_spec->eth.dst_mac_msk, ib_spec->eth.mask.dst_mac, in parse_flow_attr()
1635 err = mlx4_tunnel_steer_add(to_mdev(qp->device)->dev, ib_spec->eth.val.dst_mac, in mlx4_ib_tunnel_steer_add()
1665 if (is_zero_ether_addr(ib_spec->eth.mask.dst_mac)) { in mlx4_ib_add_dont_trap_rule()
1669 u8 mac[ETH_ALEN] = {ib_spec->eth.mask.dst_mac[0] ^ 0x01, in mlx4_ib_add_dont_trap_rule()
1670 ib_spec->eth.mask.dst_mac[1], in mlx4_ib_add_dont_trap_rule()
1671 ib_spec->eth.mask.dst_mac[2], in mlx4_ib_add_dont_trap_rule()
1672 ib_spec->eth.mask.dst_mac[3], in mlx4_ib_add_dont_trap_rule()
1673 ib_spec->eth.mask.dst_mac[4], in mlx4_ib_add_dont_trap_rule()
1674 ib_spec->eth.mask.dst_mac[5]}; in mlx4_ib_add_dont_trap_rule()
[all …]
/Linux-v5.4/net/core/
Dpktgen.c362 unsigned char dst_mac[ETH_ALEN]; member
599 seq_printf(seq, "%pM\n", pkt_dev->dst_mac); in pktgen_if_show()
1430 if (!mac_pton(valstr, pkt_dev->dst_mac)) in pktgen_if_write()
1433 ether_addr_copy(&pkt_dev->hh[0], pkt_dev->dst_mac); in pktgen_if_write()
1435 sprintf(pg_result, "OK: dstmac %pM", pkt_dev->dst_mac); in pktgen_if_write()
2057 ether_addr_copy(&(pkt_dev->hh[0]), pkt_dev->dst_mac); in pktgen_setup_inject()
2343 tmp = pkt_dev->dst_mac[5] + (mc & 0xFF); in mod_cur_headers()
2345 tmp = (pkt_dev->dst_mac[4] + ((mc >> 8) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2347 tmp = (pkt_dev->dst_mac[3] + ((mc >> 16) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2349 tmp = (pkt_dev->dst_mac[2] + ((mc >> 24) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c847 memcpy(rule_hw->eth.dst_mac, spec->eth.dst_mac, ETH_ALEN); in parse_trans_rule()
917 "dmac = %pM ", &cur->eth.dst_mac); in mlx4_err_rule()
1072 memcpy(spec_eth_outer.eth.dst_mac, addr, ETH_ALEN); in mlx4_tunnel_steer_add()
1390 memcpy(spec.eth.dst_mac, &gid[10], ETH_ALEN); in mlx4_trans_to_dmfs_attach()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c160 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in write_l2e()
/Linux-v5.4/include/linux/avf/
Dvirtchnl.h538 u8 dst_mac[ETH_ALEN]; member
/Linux-v5.4/Documentation/networking/
Dpktgen.txt96 src_mac: 90:e2:ba:0a:56:b4 dst_mac: 00:1b:21:3c:9d:f8
361 dst_mac

123