Lines Matching refs:address
252 const char *if_name, void *address) in find_address() argument
272 memcpy(address, &in4->sin_addr, in find_address()
288 memcpy(address, &in6->sin6_addr, in find_address()
303 memcpy(address, &ll->sin6_addr, sizeof(struct in6_addr)); in find_address()
310 static int get_address(const char *if_name, int family, void *address) in get_address() argument
323 err = find_address(family, if_address, if_name, address); in get_address()
354 void *address = NULL; in main() local
412 address = &addr4_recv.sin_addr; in main()
426 address = &addr6_recv.sin6_addr; in main()
457 ret = get_address(interface, family, address); in main()
464 printf("Binding to %s\n", inet_ntop(family, address, in main()