Lines Matching refs:mac

166 static int qeth_l2_send_setgroupmac(struct qeth_card *card, __u8 *mac)  in qeth_l2_send_setgroupmac()  argument
171 rc = qeth_setdel_makerc(card, qeth_l2_send_setdelmac(card, mac, in qeth_l2_send_setgroupmac()
175 mac, QETH_CARD_IFNAME(card)); in qeth_l2_send_setgroupmac()
178 mac, QETH_CARD_IFNAME(card), rc); in qeth_l2_send_setgroupmac()
182 static int qeth_l2_send_delgroupmac(struct qeth_card *card, __u8 *mac) in qeth_l2_send_delgroupmac() argument
187 rc = qeth_setdel_makerc(card, qeth_l2_send_setdelmac(card, mac, in qeth_l2_send_delgroupmac()
192 mac, QETH_CARD_IFNAME(card), rc); in qeth_l2_send_delgroupmac()
196 static void qeth_l2_add_mc(struct qeth_card *card, __u8 *mac, int vmac) in qeth_l2_add_mc() argument
206 memcpy(mc->mc_addr, mac, OSA_ADDR_LEN); in qeth_l2_add_mc()
212 qeth_l2_send_setdelmac(card, mac, IPA_CMD_SETVMAC)); in qeth_l2_add_mc()
215 qeth_l2_send_setgroupmac(card, mac)); in qeth_l2_add_mc()
561 static int qeth_l2_send_setdelmac(struct qeth_card *card, __u8 *mac, in qeth_l2_send_setdelmac() argument
573 memcpy(&cmd->data.setdelmac.mac, mac, OSA_ADDR_LEN); in qeth_l2_send_setdelmac()
577 static int qeth_l2_send_setmac(struct qeth_card *card, __u8 *mac) in qeth_l2_send_setmac() argument
582 rc = qeth_setdel_makerc(card, qeth_l2_send_setdelmac(card, mac, in qeth_l2_send_setmac()
586 memcpy(card->dev->dev_addr, mac, OSA_ADDR_LEN); in qeth_l2_send_setmac()
595 "MAC address %pM already exists\n", mac); in qeth_l2_send_setmac()
599 "MAC address %pM is not authorized\n", mac); in qeth_l2_send_setmac()
606 static int qeth_l2_send_delmac(struct qeth_card *card, __u8 *mac) in qeth_l2_send_delmac() argument
613 rc = qeth_setdel_makerc(card, qeth_l2_send_setdelmac(card, mac, in qeth_l2_send_delmac()
1424 &addr_lnid->mac); in qeth_bridge_emit_host_event()