Searched refs:randmac (Results 1 – 1 of 1) sorted by relevance
1974 struct qlink_random_mac_addr *randmac; in qtnf_cmd_randmac_tlv_add() local1976 skb_put(cmd_skb, sizeof(*hdr) + sizeof(*randmac)); in qtnf_cmd_randmac_tlv_add()1979 hdr->len = cpu_to_le16(sizeof(*randmac)); in qtnf_cmd_randmac_tlv_add()1980 randmac = (struct qlink_random_mac_addr *)hdr->val; in qtnf_cmd_randmac_tlv_add()1982 memcpy(randmac->mac_addr, mac_addr, ETH_ALEN); in qtnf_cmd_randmac_tlv_add()1983 memcpy(randmac->mac_addr_mask, mac_addr_mask, ETH_ALEN); in qtnf_cmd_randmac_tlv_add()