Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 32) sorted by relevance

12

/include/scsi/fc/
Dfc_fcoe.h86 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/
Dmpfs.h11 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/
Ddriver.h97 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()
Dcmd.h311 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u8 *mac);
Ddevice.h802 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);
Dqp.h360 u8 mac[ETH_ALEN]; member
/include/rdma/
Dib_addr.h206 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/
Dof_net.h16 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
Dfec.h18 unsigned char mac[ETH_ALEN]; member
Dsmsc911x.h22 unsigned char mac[ETH_ALEN]; member
Dif_link.h22 __u8 mac[32]; member
Dnetfilter_bridge.h9 char mac[ETH_HLEN]; member
Dkernel.h284 bool mac_pton(const char *s, u8 *mac);
/include/uapi/linux/netfilter_bridge/
Debt_arpreply.h8 unsigned char mac[ETH_ALEN]; member
Debt_nat.h9 unsigned char mac[ETH_ALEN]; member
/include/net/
Dllc.h31 unsigned char mac[IFHWADDRLEN]; member
83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn()
Dbonding.h690 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()
Dvxlan.h440 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/
Dqed_iov_if.h16 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid);
Dqed_eth_if.h139 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);
Dqed_iscsi_if.h49 u8 mac[ETH_ALEN]; member
229 int (*change_mac)(struct qed_dev *cdev, u32 handle, const u8 *mac);
Dqed_nvmetcp_if.h33 u8 mac[ETH_ALEN]; member
/include/scsi/
Dfcoe_sysfs.h95 u8 mac[ETH_ALEN]; member
Dlibfcoe.h252 u64 fcoe_wwn_from_mac(unsigned char mac[ETH_ALEN], unsigned int scheme,
/include/uapi/linux/
Dvirtio_net.h88 __u8 mac[ETH_ALEN]; member

12