Searched refs:addresses (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dif_utun.c349 ifaddr_t *addresses = NULL; local
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 !
[all...]
H A Dkpi_interface.c1261 ifnet_get_address_list(ifnet_t interface, ifaddr_t **addresses) argument
1263 return (addresses == NULL ? EINVAL :
1264 ifnet_get_address_list_family(interface, addresses, 0));
1273 ifnet_get_address_list_family(ifnet_t interface, ifaddr_t **addresses, argument
1276 return (ifnet_get_address_list_family_internal(interface, addresses,
1281 ifnet_get_address_list_family_internal(ifnet_t interface, ifaddr_t **addresses, argument
1292 if (addresses == NULL) {
1296 *addresses = NULL;
1354 MALLOC(*addresses, ifaddr_t *, sizeof (ifaddr_t) * (count + 1),
1356 if (*addresses
1376 ifnet_free_address_list(ifaddr_t *addresses) argument
1559 ifnet_get_multicast_list(ifnet_t ifp, ifmultiaddr_t **addresses) argument
1594 ifnet_free_multicast_list(ifmultiaddr_t *addresses) argument
[all...]
H A Dether_inet_pr_module.c343 * Register new IP and MAC addresses with the kernel
379 ifaddr_t *addresses; local
388 if (ifnet_get_address_list_family(ifp, &addresses, AF_INET) == 0) {
391 for (i = 0; addresses[i] != NULL; i++) {
392 inet_arp_init_ifaddr(ifp, addresses[i]);
395 ifnet_free_address_list(addresses);
H A Dkpi_interface.h395 to reject invalid multicast addresses before they are attached
405 EOPNOTSUPP for addresses the interface does not understand.
541 @param protocol_family The protocol family of the addresses
1292 to fill out the first ifaddr in the list of addresses for the
2171 @discussion Get a list of addresses on the interface. Passing NULL
2172 for the interface will return a list of all addresses. The
2173 addresses will have their reference count bumped so they will
2179 @param addresses A pointer to a NULL terminated array of ifaddr_ts.
2182 extern errno_t ifnet_get_address_list(ifnet_t interface, ifaddr_t **addresses);
2186 @discussion Get a list of addresses o
[all...]

Completed in 31 milliseconds