Searched refs:old_mac (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_sriov.h | 63 u8 old_mac[ETH_ALEN]; member
|
| H A D | hinic_sriov.c | 535 static int hinic_update_mac(struct hinic_hwdev *hwdev, u8 *old_mac, in hinic_update_mac() argument 542 if (!hwdev || !old_mac || !new_mac) in hinic_update_mac() 553 memcpy(mac_info.old_mac, old_mac, ETH_ALEN); in hinic_update_mac()
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | octeon-platform.c | 567 const u8 *old_mac; in octeon_fdt_set_mac_addr() local 573 old_mac = fdt_getprop(initial_boot_params, n, "local-mac-address", in octeon_fdt_set_mac_addr() 575 if (!old_mac || old_len != 6 || is_valid_ether_addr(old_mac)) in octeon_fdt_set_mac_addr()
|
| /linux/net/xfrm/ |
| H A D | xfrm_iptfs.c | 959 const unsigned char *old_mac; in __input_process_payload() local 977 old_mac = skb_mac_header_was_set(skb) ? skb_mac_header(skb) : NULL; in __input_process_payload() 1149 if (old_mac) { in __input_process_payload() 1152 memcpy(skb_mac_header(skb), old_mac, first_skb->mac_len); in __input_process_payload()
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 2133 u8 old_mac[ETH_ALEN]; in mlx5_vdpa_change_mac() local 2155 ether_addr_copy(old_mac, ndev->config.mac); in mlx5_vdpa_change_mac() 2161 mac_vlan_del(ndev, old_mac, 0, false); in mlx5_vdpa_change_mac() 2167 if (is_zero_ether_addr(old_mac)) { in mlx5_vdpa_change_mac() 2180 if (mlx5_mpfs_add_mac(pfmdev, old_mac)) { in mlx5_vdpa_change_mac() 2182 old_mac); in mlx5_vdpa_change_mac() 2185 ether_addr_copy(ndev->config.mac, old_mac); in mlx5_vdpa_change_mac()
|
| /linux/include/linux/ |
| H A D | skbuff.h | 3216 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild() local 3219 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild() 3230 const unsigned char *old_mac = skb_mac_header(skb); in skb_mac_header_rebuild_full() local 3233 memmove(skb_mac_header(skb), old_mac, full_mac_len); in skb_mac_header_rebuild_full()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_main.c | 5947 u8 old_mac[ETH_ALEN]; in ice_set_mac_address() local 5971 ether_addr_copy(old_mac, netdev->dev_addr); in ice_set_mac_address() 5977 err = ice_fltr_remove_mac(vsi, old_mac, ICE_FWD_TO_VSI); in ice_set_mac_address() 6004 eth_hw_addr_set(netdev, old_mac); in ice_set_mac_address()
|