Searched refs:randmac (Results 1 – 1 of 1) sorted by relevance
2072 struct qlink_random_mac_addr *randmac; in qtnf_cmd_randmac_tlv_add() local2074 skb_put(cmd_skb, sizeof(*hdr) + sizeof(*randmac)); in qtnf_cmd_randmac_tlv_add()2077 hdr->len = cpu_to_le16(sizeof(*randmac)); in qtnf_cmd_randmac_tlv_add()2078 randmac = (struct qlink_random_mac_addr *)hdr->val; in qtnf_cmd_randmac_tlv_add()2080 memcpy(randmac->mac_addr, mac_addr, ETH_ALEN); in qtnf_cmd_randmac_tlv_add()2081 memcpy(randmac->mac_addr_mask, mac_addr_mask, ETH_ALEN); in qtnf_cmd_randmac_tlv_add()