Lines Matching refs:family
145 static int family; variable
412 static int find_address(int family, struct ifaddrs *if_address, in find_address() argument
422 tmp->ifa_addr->sa_family == family) { in find_address()
424 switch (family) { in find_address()
471 static int get_address(const char *if_name, int family, void *address) in get_address() argument
484 err = find_address(family, if_address, if_name, address); in get_address()
733 family == AF_INET6 ? "[" : "", in create_uri()
735 family == AF_INET6 ? "]" : "", in create_uri()
1648 family = AF_INET;
1662 family = AF_INET6;
1667 addr_send->sa_family = family;
1668 addr_recv->sa_family = family;
1670 fd = socket(family, SOCK_DGRAM, IPPROTO_UDP);
1695 ret = get_address(interface, family, address);
1702 printf("Binding to %s\n", inet_ntop(family, address,