Home
last modified time | relevance | path

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

12

/include/scsi/fc/
A 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/
A 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/
A Dof_net.h16 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 Dfec.h18 unsigned char mac[ETH_ALEN]; member
A Dsmsc911x.h22 unsigned char mac[ETH_ALEN]; member
A Dif_link.h22 __u8 mac[32]; member
A Dhex.h33 bool mac_pton(const char *s, u8 *mac);
A Dnetfilter_bridge.h9 char mac[ETH_HLEN]; member
/include/rdma/
A 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/uapi/linux/netfilter_bridge/
A Debt_arpreply.h8 unsigned char mac[ETH_ALEN]; member
A Debt_nat.h9 unsigned char mac[ETH_ALEN]; member
/include/net/
A Dllc.h31 unsigned char mac[IFHWADDRLEN]; member
83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn()
A Damt.h251 u64 mac:48, member
365 u64 mac:48, member
A Dbonding.h739 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 Dvxlan.h505 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 Dqed_iov_if.h16 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid);
A 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);
A Dqed_iscsi_if.h49 u8 mac[ETH_ALEN]; member
229 int (*change_mac)(struct qed_dev *cdev, u32 handle, const u8 *mac);
A Dqed_nvmetcp_if.h33 u8 mac[ETH_ALEN]; member
/include/scsi/
A Dfcoe_sysfs.h93 u8 mac[ETH_ALEN]; member
A Dlibfcoe.h256 u64 fcoe_wwn_from_mac(unsigned char mac[ETH_ALEN], unsigned int scheme,
/include/linux/mlx4/
A Dcmd.h311 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u8 *mac);
A Ddevice.h803 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 Dqp.h360 u8 mac[ETH_ALEN]; member
/include/uapi/linux/
A Dvirtio_net.h116 __u8 mac[ETH_ALEN]; member

Completed in 38 milliseconds

12