Lines Matching refs:addresses
349 ifaddr_t *addresses = NULL;
357 /* Create a socket for removing addresses and detaching the protocol */
382 * addresses attached. We should detach them and then try again.
384 result = ifnet_get_address_list_family(interface, &addresses, protocol);
392 for (i = 0; addresses[i] != 0; i++) {
393 utun_remove_address(interface, protocol, addresses[i], pf_socket);
395 ifnet_free_address_list(addresses);
396 addresses = NULL;
399 * The addresses should be gone, we should try the remove again.
410 if (addresses != NULL)
411 ifnet_free_address_list(addresses);
432 * addresses and detach the protocols. Finally, we can remove and