/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 73 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/tools/testing/selftests/net/forwarding/ |
H A D | tc_chains.sh | 39 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
|
H A D | mirror_gre.sh | 69 ingress) local src_mac=$(mac_get $h1); local dst_mac=$(mac_get $h2) 71 egress) local src_mac=$(mac_get $h2); local dst_mac=$(mac_get $h1) 78 icmp_capture_install h3-${tundev} "src_mac $src_mac dst_mac $dst_mac"
|
H A D | tc_flower_l2_miss.sh | 81 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \ 85 flower indev $swp1 l2_miss 0 dst_mac $dmac src_ip $sip \ 255 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \ 306 flower l2_miss 1 dst_mac $dmac src_mac $smac \ 309 flower l2_miss 0 dst_mac $dmac src_mac $smac \
|
H A D | tc_shblocks.sh | 78 $tcflags indev $swp1 dst_mac $swmac action drop 80 $tcflags indev $swp2 dst_mac $swmac action drop
|
H A D | tc_mpls_l2vpn.sh | 85 action vlan push_eth dst_mac $mpls2mac src_mac $mpls1mac \ 114 action vlan push_eth dst_mac $mpls1mac src_mac $mpls2mac \
|
H A D | tc_flower.sh | 45 $tcflags dst_mac $dummy_mac action drop 47 $tcflags dst_mac $h2mac action drop 233 flower vlan_prio 6 $tcflags dst_mac $h2mac action drop 235 flower vlan_prio 7 $tcflags dst_mac $h2mac action drop 357 $tcflags indev $h1 dst_mac $h2mac action drop 359 $tcflags indev $h2 dst_mac $h2mac action drop
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz9477_tc_flower.c | 37 u8 *dst_mac = NULL; in ksz9477_flower_parse_key_l2() local 70 dst_mac = ematch.key->dst; in ksz9477_flower_parse_key_l2() 76 required_entries = src_mac && dst_mac ? 2 : 1; in ksz9477_flower_parse_key_l2() 84 ksz9477_acl_match_process_l2(dev, port, ethtype, src_mac, dst_mac, in ksz9477_flower_parse_key_l2()
|
H A D | ksz9477_acl.c | 1401 u16 ethtype, u8 *src_mac, u8 *dst_mac, in ksz9477_acl_match_process_l2() argument 1411 if (src_mac && dst_mac) { in ksz9477_acl_match_process_l2() 1423 ksz9477_acl_matching_rule_cfg_l2(entry->entry, 0, dst_mac, in ksz9477_acl_match_process_l2() 1427 u8 *mac = src_mac ? src_mac : dst_mac; in ksz9477_acl_match_process_l2()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_peer.c | 17 static const __u8 dst_mac[] = {0x00, 0x22, 0x33, 0x44, 0x55, 0x66}; variable 54 if (bpf_skb_store_bytes(skb, ETH_ALEN, &dst_mac, ETH_ALEN, 0) != 0) in tc_src_l3()
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sharedbuffer.sh | 119 src_mac $h1mac dst_mac $h2mac \ 141 src_mac $h1mac dst_mac $h2mac \ 152 src_mac $h1mac dst_mac $h2mac \ 174 src_mac $h1mac dst_mac $h2mac \
|
H A D | devlink_trap_l2_drops.sh | 129 flower dst_mac $dmac action drop 189 flower dst_mac $dmac action drop 232 flower dst_mac $dmac action drop 302 flower dst_mac $dmac action drop 347 flower dst_mac $dmac action drop 393 flower dst_mac $dmac action drop
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fdir.c | 950 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt() 965 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt() 980 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt() 991 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt() 1071 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt() 1084 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt() 1097 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt() 1108 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
|
H A D | ice_tc_lib.c | 225 hdr->l2_key.dst_mac); in ice_tc_fill_tunnel_outer() 227 hdr->l2_mask.dst_mac); in ice_tc_fill_tunnel_outer() 423 l2_key->dst_mac); in ice_tc_fill_rules() 425 l2_mask->dst_mac); in ice_tc_fill_rules() 1565 ether_addr_copy(headers->l2_key.dst_mac, in ice_parse_cls_flower() 1567 ether_addr_copy(headers->l2_mask.dst_mac, in ice_parse_cls_flower() 1791 ether_addr_copy(fltr->outer_headers.l2_key.dst_mac, in ice_prep_adq_filter() 1793 eth_broadcast_addr(fltr->outer_headers.l2_mask.dst_mac); in ice_prep_adq_filter()
|
/linux/drivers/infiniband/hw/qedr/ |
H A D | qedr_iw_cm.c | 442 struct sockaddr_in *dst_in, u8 *dst_mac) in qedr_addr4_resolve() argument 462 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr4_resolve() 463 DP_DEBUG(dev, QEDR_MSG_QP, "mac_addr=[%pM]\n", dst_mac); in qedr_addr4_resolve() 479 struct sockaddr_in6 *dst_in, u8 *dst_mac) in qedr_addr6_resolve() argument 505 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr6_resolve() 506 DP_DEBUG(dev, QEDR_MSG_QP, "mac_addr=[%pM]\n", dst_mac); in qedr_addr6_resolve()
|
/linux/drivers/scsi/fnic/ |
H A D | fnic_fcs.c | 55 uint8_t *dst_mac) in fnic_fdls_set_fcoe_dstmac() argument 59 dst_mac[0], dst_mac[1], dst_mac[2], dst_mac[3], in fnic_fdls_set_fcoe_dstmac() 60 dst_mac[4], dst_mac[5]); in fnic_fdls_set_fcoe_dstmac() 62 memcpy(fnic->iport.fcfmac, dst_mac, 6); in fnic_fdls_set_fcoe_dstmac()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cpl5_cmd.h | 228 u8 dst_mac[6]; member 499 u8 dst_mac[6]; member 518 u8 dst_mac[6]; member
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wmi.h | 388 u8 dst_mac[WMI_MAC_LEN]; member 394 u8 dst_mac[WMI_MAC_LEN]; member 583 u8 dst_mac[WMI_MAC_LEN]; member 851 u8 dst_mac[WMI_MAC_LEN]; member 858 u8 dst_mac[WMI_MAC_LEN]; member 1518 u8 dst_mac[WMI_MAC_LEN]; member 1524 u8 dst_mac[WMI_MAC_LEN]; member 1563 u8 dst_mac[WMI_MAC_LEN]; member 3232 u8 dst_mac[WMI_MAC_LEN]; member 3614 u8 dst_mac[WMI_MAC_LEN]; member [all …]
|
/linux/net/atm/ |
H A D | lec.h | 46 int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force,
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_fcoe.c | 938 con->dst_mac_addr_hi = (conn_info->dst_mac[5] << 8) | in qed_fcoe_offload_conn() 939 conn_info->dst_mac[4]; in qed_fcoe_offload_conn() 940 con->dst_mac_addr_mid = (conn_info->dst_mac[3] << 8) | in qed_fcoe_offload_conn() 941 conn_info->dst_mac[2]; in qed_fcoe_offload_conn() 942 con->dst_mac_addr_lo = (conn_info->dst_mac[1] << 8) | in qed_fcoe_offload_conn() 943 conn_info->dst_mac[0]; in qed_fcoe_offload_conn()
|
/linux/include/linux/qed/ |
H A D | qed_fcoe_if.h | 43 u8 dst_mac[ETH_ALEN]; member
|
/linux/tools/testing/selftests/bpf/ |
H A D | xskxceiver.h | 96 u8 dst_mac[ETH_ALEN]; member
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.c | 106 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in setup_l2e_send_pending()
|
/linux/drivers/scsi/qedi/ |
H A D | qedi_iscsi.h | 73 u8 dst_mac[ETH_ALEN]; member
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tc.c | 201 if (act->dst_mac) in efx_tc_free_action_set() 202 efx_tc_flower_put_mac(efx, act->dst_mac); in efx_tc_free_action_set() 793 if (act->dst_mac || act->src_mac) in efx_tc_flower_action_order_ok() 1103 unsigned char dst_mac[ETH_ALEN]; member 1126 ped = efx_tc_flower_get_mac(efx, mung->dst_mac, extack); in efx_tc_complete_mac_mangle() 1131 if (act->dst_mac) in efx_tc_complete_mac_mangle() 1132 efx_tc_flower_put_mac(efx, act->dst_mac); in efx_tc_complete_mac_mangle() 1134 act->dst_mac = ped; in efx_tc_complete_mac_mangle() 1268 memcpy(mung->dst_mac, &mac32, sizeof(mac32)); in efx_tc_mangle() 1278 memcpy(mung->dst_mac + 4, &mac16, sizeof(mac16)); in efx_tc_mangle()
|