Searched refs:mps_macs (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/atm/ |
H A D | mpc.c | 85 const uint8_t *tlvs, uint8_t mps_macs, 461 * plus the possible MAC address(es) to mpc->mps_macs. 462 * For a freshly allocated MPOA client mpc->mps_macs == 0. 466 const uint8_t *tlvs, uint8_t mps_macs, in copy_macs() 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_ma in copy_macs() 464 copy_macs(struct mpoa_client *mpc, const uint8_t *router_mac, const uint8_t *tlvs, uint8_t mps_macs, uint8_t device_type) copy_macs() argument [all...] |
H A D | mpc.h | 32 uint8_t *mps_macs; /* array of MPS MAC addresses, >=1 */ member
|
/kernel/linux/linux-6.6/net/atm/ |
H A D | mpc.c | 85 const uint8_t *tlvs, uint8_t mps_macs, 461 * plus the possible MAC address(es) to mpc->mps_macs. 462 * For a freshly allocated MPOA client mpc->mps_macs == 0. 466 const uint8_t *tlvs, uint8_t mps_macs, in copy_macs() 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_ma in copy_macs() 464 copy_macs(struct mpoa_client *mpc, const uint8_t *router_mac, const uint8_t *tlvs, uint8_t mps_macs, uint8_t device_type) copy_macs() argument [all...] |
H A D | mpc.h | 32 uint8_t *mps_macs; /* array of MPS MAC addresses, >=1 */ member
|
Completed in 3 milliseconds