Searched refs:old_mac (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.h | 63 u8 old_mac[ETH_ALEN]; member
|
D | hinic_sriov.c | 515 static int hinic_update_mac(struct hinic_hwdev *hwdev, u8 *old_mac, in hinic_update_mac() argument 522 if (!hwdev || !old_mac || !new_mac) in hinic_update_mac() 533 memcpy(mac_info.old_mac, old_mac, ETH_ALEN); in hinic_update_mac()
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 566 const u8 *old_mac; in octeon_fdt_set_mac_addr() local 572 old_mac = fdt_getprop(initial_boot_params, n, "local-mac-address", in octeon_fdt_set_mac_addr() 574 if (!old_mac || old_len != 6 || is_valid_ether_addr(old_mac)) in octeon_fdt_set_mac_addr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_main.c | 4901 u8 old_mac[ETH_ALEN]; in ice_set_mac_address() local 4924 ether_addr_copy(old_mac, netdev->dev_addr); in ice_set_mac_address() 4930 status = ice_fltr_remove_mac(vsi, old_mac, ICE_FWD_TO_VSI); in ice_set_mac_address() 4954 ether_addr_copy(netdev->dev_addr, old_mac); in ice_set_mac_address()
|
/kernel/linux/linux-5.10/include/linux/ |
D | skbuff.h | 2602 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild() local 2605 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 3866 u8 old_mac[ETH_ALEN]; in be_cmd_set_mac() local 3870 status = be_cmd_get_mac_from_list(adapter, old_mac, &active_mac, in be_cmd_set_mac()
|