Lines Matching refs:address
302 const char *if_name, void *address) in find_address() argument
322 memcpy(address, &in4->sin_addr, in find_address()
338 memcpy(address, &in6->sin6_addr, in find_address()
353 memcpy(address, &ll->sin6_addr, sizeof(struct in6_addr)); in find_address()
360 static int get_address(const char *if_name, int family, void *address) in get_address() argument
373 err = find_address(family, if_address, if_name, address); in get_address()
407 void *address = NULL; in main() local
482 address = &addr4_recv.sin_addr; in main()
497 address = &addr6_recv.sin6_addr; in main()
529 ret = get_address(interface, family, address); in main()
536 printf("Binding to %s\n", inet_ntop(family, address, in main()