Home
last modified time | relevance | path

Searched refs:addr_v4 (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/tests/net/socket/getaddrinfo/src/
Dmain.c34 static struct sockaddr_in addr_v4; variable
112 ntohs(addr_v4.sin_port)); in process_dns()
133 addr_len = sizeof(addr_v4); in process_dns()
134 addr = (struct sockaddr *)&addr_v4; in process_dns()
180 memcpy(&addr_v4, net_sin(&addr), sizeof(struct sockaddr_in)); in test_getaddrinfo_setup()
191 memcpy(&addr_v4, net_sin(&addr), sizeof(struct sockaddr_in)); in test_getaddrinfo_setup()
196 addr_str = inet_ntop(AF_INET, &addr_v4.sin_addr, str, sizeof(str)); in test_getaddrinfo_setup()
197 NET_DBG("v4: [%s]:%d", addr_str, ntohs(addr_v4.sin_port)); in test_getaddrinfo_setup()
199 sock_v4 = prepare_listen_sock_udp_v4(&addr_v4); in test_getaddrinfo_setup()
/Zephyr-Core-3.5.0/tests/net/socket/net_mgmt/src/
Dmain.c27 static ZTEST_DMEM struct in_addr addr_v4 = { { { 192, 0, 2, 3 } } }; variable
295 ifaddr_v4 = net_if_ipv4_addr_add(iface, &addr_v4, in trigger_events()
312 ret = net_if_ipv4_addr_rm(iface, &addr_v4); in trigger_events()
/Zephyr-Core-3.5.0/subsys/net/ip/
Dnet_if.c3527 struct in_addr addr_v4; in z_vrfy_net_if_ipv4_addr_lookup_by_index() local
3529 Z_OOPS(z_user_from_copy(&addr_v4, (void *)addr, sizeof(addr_v4))); in z_vrfy_net_if_ipv4_addr_lookup_by_index()
3531 return z_impl_net_if_ipv4_addr_lookup_by_index(&addr_v4); in z_vrfy_net_if_ipv4_addr_lookup_by_index()
3800 struct in_addr addr_v4; in z_vrfy_net_if_ipv4_addr_add_by_index() local
3808 Z_OOPS(z_user_from_copy(&addr_v4, (void *)addr, sizeof(addr_v4))); in z_vrfy_net_if_ipv4_addr_add_by_index()
3811 &addr_v4, in z_vrfy_net_if_ipv4_addr_add_by_index()
3836 struct in_addr addr_v4; in z_vrfy_net_if_ipv4_addr_rm_by_index() local
3844 Z_OOPS(z_user_from_copy(&addr_v4, (void *)addr, sizeof(addr_v4))); in z_vrfy_net_if_ipv4_addr_rm_by_index()
3846 return (uint32_t)z_impl_net_if_ipv4_addr_rm_by_index(index, &addr_v4); in z_vrfy_net_if_ipv4_addr_rm_by_index()