Lines Matching refs:ip
36 static void test_add_local_ip_address(sa_family_t family, const char *ip) in test_add_local_ip_address() argument
42 zsock_inet_pton(AF_INET, ip, &addr.sin_addr); in test_add_local_ip_address()
49 "Cannot add IPv4 address %s", ip); in test_add_local_ip_address()
53 zsock_inet_pton(AF_INET6, ip, &addr.sin6_addr); in test_add_local_ip_address()
59 "Cannot add IPv6 address %s", ip); in test_add_local_ip_address()
74 static inline void prepare_sock_tcp(sa_family_t family, const char *ip, uint16_t port, in prepare_sock_tcp() argument
78 prepare_sock_tcp_v4(ip, in prepare_sock_tcp()
83 prepare_sock_tcp_v6(ip, in prepare_sock_tcp()
90 static inline void prepare_sock_udp(sa_family_t family, const char *ip, uint16_t port, in prepare_sock_udp() argument
94 prepare_sock_udp_v4(ip, in prepare_sock_udp()
99 prepare_sock_udp_v6(ip, in prepare_sock_udp()
752 char const *ip, in test_reuseport_udp_server_client_common() argument
769 prepare_sock_udp(family, ip, LOCAL_PORT, &server_sock, &server_addr); in test_reuseport_udp_server_client_common()
770 prepare_sock_udp(family, ip, 0, &client_sock, &client_addr); in test_reuseport_udp_server_client_common()