| /include/scsi/fc/ |
| A 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/ |
| A 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/ |
| A D | of_net.h | 16 extern int of_get_mac_address(struct device_node *np, u8 *mac); 17 extern int of_get_mac_address_nvmem(struct device_node *np, u8 *mac); 27 static inline int of_get_mac_address(struct device_node *np, u8 *mac) in of_get_mac_address() argument 32 static inline int of_get_mac_address_nvmem(struct device_node *np, u8 *mac) in of_get_mac_address_nvmem() argument
|
| A D | fec.h | 18 unsigned char mac[ETH_ALEN]; member
|
| A D | smsc911x.h | 22 unsigned char mac[ETH_ALEN]; member
|
| A D | if_link.h | 22 __u8 mac[32]; member
|
| A D | hex.h | 33 bool mac_pton(const char *s, u8 *mac);
|
| A D | netfilter_bridge.h | 9 char mac[ETH_HLEN]; member
|
| /include/rdma/ |
| A 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/uapi/linux/netfilter_bridge/ |
| A D | ebt_arpreply.h | 8 unsigned char mac[ETH_ALEN]; member
|
| A D | ebt_nat.h | 9 unsigned char mac[ETH_ALEN]; member
|
| /include/net/ |
| A 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()
|
| A D | amt.h | 251 u64 mac:48, member 365 u64 mac:48, member
|
| A D | bonding.h | 739 const u8 *mac) in bond_slave_has_mac() argument 745 if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr)) in bond_slave_has_mac() 752 static inline bool bond_slave_has_mac_rcu(struct bonding *bond, const u8 *mac) in bond_slave_has_mac_rcu() argument 758 if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr)) in bond_slave_has_mac_rcu()
|
| A D | vxlan.h | 505 int vxlan_fdb_find_uc(struct net_device *dev, const u8 *mac, __be32 vni, 514 vxlan_fdb_find_uc(struct net_device *dev, const u8 *mac, __be32 vni, in vxlan_fdb_find_uc() argument
|
| /include/linux/qed/ |
| A D | qed_iov_if.h | 16 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid);
|
| A 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);
|
| A D | qed_iscsi_if.h | 49 u8 mac[ETH_ALEN]; member 229 int (*change_mac)(struct qed_dev *cdev, u32 handle, const u8 *mac);
|
| A D | qed_nvmetcp_if.h | 33 u8 mac[ETH_ALEN]; member
|
| /include/scsi/ |
| A D | fcoe_sysfs.h | 93 u8 mac[ETH_ALEN]; member
|
| A D | libfcoe.h | 256 u64 fcoe_wwn_from_mac(unsigned char mac[ETH_ALEN], unsigned int scheme,
|
| /include/linux/mlx4/ |
| A D | cmd.h | 311 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u8 *mac);
|
| A D | device.h | 803 u8 mac[ETH_ALEN]; member 947 __be64 mac; member 1396 int mlx4_SET_MCAST_FLTR(struct mlx4_dev *dev, u8 port, u64 mac, u64 clear, u8 mode); 1398 int mlx4_register_mac(struct mlx4_dev *dev, u8 port, u64 mac); 1399 void mlx4_unregister_mac(struct mlx4_dev *dev, u8 port, u64 mac);
|
| A D | qp.h | 360 u8 mac[ETH_ALEN]; member
|
| /include/uapi/linux/ |
| A D | virtio_net.h | 116 __u8 mac[ETH_ALEN]; member
|