/include/scsi/fc/ |
D | fc_fcoe.h | 86 static inline void fc_fcoe_set_mac(u8 *mac, u8 *did) in fc_fcoe_set_mac() argument 88 mac[0] = (u8) (FC_FCOE_OUI >> 16); in fc_fcoe_set_mac() 89 mac[1] = (u8) (FC_FCOE_OUI >> 8); in fc_fcoe_set_mac() 90 mac[2] = (u8) FC_FCOE_OUI; in fc_fcoe_set_mac() 91 mac[3] = did[0]; in fc_fcoe_set_mac() 92 mac[4] = did[1]; in fc_fcoe_set_mac() 93 mac[5] = did[2]; in fc_fcoe_set_mac()
|
/include/linux/mlx5/ |
D | mpfs.h | 11 int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac); 12 int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac); 14 static inline int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_add_mac() argument 15 static inline int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_del_mac() argument
|
/include/linux/mlx4/ |
D | driver.h | 97 u64 mac = 0; in mlx4_mac_to_u64() local 101 mac <<= 8; in mlx4_mac_to_u64() 102 mac |= addr[i]; in mlx4_mac_to_u64() 104 return mac; in mlx4_mac_to_u64() 107 static inline void mlx4_u64_to_mac(u8 *addr, u64 mac) in mlx4_u64_to_mac() argument 112 addr[i - 1] = mac & 0xFF; in mlx4_u64_to_mac() 113 mac >>= 8; in mlx4_u64_to_mac()
|
D | cmd.h | 311 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u8 *mac);
|
D | device.h | 802 u8 mac[ETH_ALEN]; member 940 __be64 mac; member 1376 int mlx4_SET_MCAST_FLTR(struct mlx4_dev *dev, u8 port, u64 mac, u64 clear, u8 mode); 1378 int mlx4_register_mac(struct mlx4_dev *dev, u8 port, u64 mac); 1379 void mlx4_unregister_mac(struct mlx4_dev *dev, u8 port, u64 mac); 1398 int mlx4_find_cached_mac(struct mlx4_dev *dev, u8 port, u64 mac, int *idx);
|
D | qp.h | 360 u8 mac[ETH_ALEN]; member
|
/include/rdma/ |
D | ib_addr.h | 206 static inline void rdma_get_ll_mac(struct in6_addr *addr, u8 *mac) in rdma_get_ll_mac() argument 208 memcpy(mac, &addr->s6_addr[8], 3); in rdma_get_ll_mac() 209 memcpy(mac + 3, &addr->s6_addr[13], 3); in rdma_get_ll_mac() 210 mac[0] ^= 2; in rdma_get_ll_mac() 224 static inline void rdma_get_mcast_mac(struct in6_addr *addr, u8 *mac) in rdma_get_mcast_mac() argument 228 mac[0] = 0x33; in rdma_get_mcast_mac() 229 mac[1] = 0x33; in rdma_get_mcast_mac() 231 mac[i] = addr->s6_addr[i + 10]; in rdma_get_mcast_mac()
|
/include/linux/ |
D | of_net.h | 16 extern int of_get_mac_address(struct device_node *np, u8 *mac); 26 static inline int of_get_mac_address(struct device_node *np, u8 *mac) in of_get_mac_address() argument
|
D | fec.h | 18 unsigned char mac[ETH_ALEN]; member
|
D | smsc911x.h | 22 unsigned char mac[ETH_ALEN]; member
|
D | if_link.h | 22 __u8 mac[32]; member
|
D | netfilter_bridge.h | 9 char mac[ETH_HLEN]; member
|
D | kernel.h | 284 bool mac_pton(const char *s, u8 *mac);
|
/include/uapi/linux/netfilter_bridge/ |
D | ebt_arpreply.h | 8 unsigned char mac[ETH_ALEN]; member
|
D | ebt_nat.h | 9 unsigned char mac[ETH_ALEN]; member
|
/include/net/ |
D | llc.h | 31 unsigned char mac[IFHWADDRLEN]; member 83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn()
|
D | bonding.h | 690 const u8 *mac) in bond_slave_has_mac() argument 696 if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr)) in bond_slave_has_mac() 703 static inline bool bond_slave_has_mac_rcu(struct bonding *bond, const u8 *mac) in bond_slave_has_mac_rcu() argument 709 if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr)) in bond_slave_has_mac_rcu()
|
D | vxlan.h | 440 int vxlan_fdb_find_uc(struct net_device *dev, const u8 *mac, __be32 vni, 449 vxlan_fdb_find_uc(struct net_device *dev, const u8 *mac, __be32 vni, in vxlan_fdb_find_uc() argument
|
/include/linux/qed/ |
D | qed_iov_if.h | 16 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid);
|
D | qed_eth_if.h | 139 unsigned char mac[ETH_ALEN]; member 145 unsigned char mac[64][ETH_ALEN]; member 164 void (*force_mac) (void *dev, u8 *mac, bool forced); 275 bool(*check_mac) (struct qed_dev *cdev, u8 *mac); 334 int (*req_bulletin_update_mac)(struct qed_dev *cdev, const u8 *mac);
|
D | qed_iscsi_if.h | 49 u8 mac[ETH_ALEN]; member 229 int (*change_mac)(struct qed_dev *cdev, u32 handle, const u8 *mac);
|
D | qed_nvmetcp_if.h | 33 u8 mac[ETH_ALEN]; member
|
/include/scsi/ |
D | fcoe_sysfs.h | 95 u8 mac[ETH_ALEN]; member
|
D | libfcoe.h | 252 u64 fcoe_wwn_from_mac(unsigned char mac[ETH_ALEN], unsigned int scheme,
|
/include/uapi/linux/ |
D | virtio_net.h | 88 __u8 mac[ETH_ALEN]; member
|