Searched refs:mps_macs (Results 1 – 2 of 2) sorted by relevance
84 const uint8_t *tlvs, uint8_t mps_macs,465 const uint8_t *tlvs, uint8_t mps_macs, in copy_macs() argument469 num_macs = (mps_macs > 1) ? mps_macs : 1; in copy_macs()473 kfree(mpc->mps_macs); in copy_macs()475 mpc->mps_macs = kmalloc(num_macs * ETH_ALEN, GFP_KERNEL); in copy_macs()476 if (mpc->mps_macs == NULL) { in copy_macs()481 ether_addr_copy(mpc->mps_macs, router_mac); in copy_macs()483 if (mps_macs > 0) in copy_macs()484 memcpy(mpc->mps_macs, tlvs, mps_macs*ETH_ALEN); in copy_macs()485 tlvs += mps_macs*ETH_ALEN; in copy_macs()[all …]
31 uint8_t *mps_macs; /* array of MPS MAC addresses, >=1 */ member