Home
last modified time | relevance | path

Searched refs:mps_macs (Results 1 – 2 of 2) sorted by relevance

/net/atm/
Dmpc.c85 const uint8_t *tlvs, uint8_t mps_macs,
466 const uint8_t *tlvs, uint8_t mps_macs, in copy_macs() argument
470 num_macs = (mps_macs > 1) ? mps_macs : 1; in copy_macs()
474 kfree(mpc->mps_macs); in copy_macs()
476 mpc->mps_macs = kmalloc_array(ETH_ALEN, num_macs, GFP_KERNEL); in copy_macs()
477 if (mpc->mps_macs == NULL) { in copy_macs()
482 ether_addr_copy(mpc->mps_macs, router_mac); in copy_macs()
484 if (mps_macs > 0) in copy_macs()
485 memcpy(mpc->mps_macs, tlvs, mps_macs*ETH_ALEN); in copy_macs()
486 tlvs += mps_macs*ETH_ALEN; in copy_macs()
[all …]
Dmpc.h32 uint8_t *mps_macs; /* array of MPS MAC addresses, >=1 */ member