Lines Matching defs:addressfamily
56 ifconfig_ioctlwrap(ifconfig_handle_t *h, const int addressfamily,
61 if (ifconfig_socket(h, addressfamily, &s) != 0) {
80 ifconfig_socket(ifconfig_handle_t *h, const int addressfamily, int *s)
83 if (addressfamily > AF_MAX) {
89 if (h->sockets[addressfamily] != -1) {
90 *s = h->sockets[addressfamily];
95 h->sockets[addressfamily] = socket(addressfamily, SOCK_DGRAM, 0);
96 if (h->sockets[addressfamily] == -1) {
102 *s = h->sockets[addressfamily];