Searched refs:mps_macs (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/net/atm/ |
H A D | mpc.h | 31 uint8_t *mps_macs; /* array of MPS MAC addresses, >=1 */ member in struct:mpoa_client
|
H A D | mpc.c | 84 const uint8_t *tlvs, uint8_t mps_macs, 460 * plus the possible MAC address(es) to mpc->mps_macs. 461 * For a freshly allocated MPOA client mpc->mps_macs == 0. 465 const uint8_t *tlvs, uint8_t mps_macs, copy_macs() 469 num_macs = (mps_macs > 1) ? mps_macs : 1; copy_macs() 473 kfree(mpc->mps_macs); copy_macs() 475 mpc->mps_macs = kmalloc(num_macs * ETH_ALEN, GFP_KERNEL); copy_macs() 476 if (mpc->mps_macs == NULL) { copy_macs() 481 ether_addr_copy(mpc->mps_macs, router_mac); copy_macs() 483 if (mps_macs > 0) copy_macs() 484 memcpy(mpc->mps_macs, tlvs, mps_macs*ETH_ALEN); copy_macs() 485 tlvs += mps_macs*ETH_ALEN; copy_macs() 595 if (ether_addr_equal(eth->h_dest, mpc->mps_macs + i * ETH_ALEN)) mpc_send_packet() 1376 kfree(client->mps_macs); set_mps_mac_addr_rcvd() 1378 client->mps_macs = kmemdup(msg->MPS_ctrl, ETH_ALEN, GFP_KERNEL); set_mps_mac_addr_rcvd() 1379 if (client->mps_macs == NULL) { set_mps_mac_addr_rcvd() 1513 kfree(mpc->mps_macs); atm_mpoa_cleanup() 463 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
|
Completed in 119 milliseconds