Home
last modified time | relevance | path

Searched refs:addr_v6 (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/samples/net/sockets/net_mgmt/src/
Dmain.c31 struct in6_addr addr_v6; in trigger_events() local
36 net_ipv6_addr_create(&addr_v6, 0x2001, 0x0db8, 0, 0, 0, 0, 0, 0x0003); in trigger_events()
41 ifaddr_v6 = net_if_ipv6_addr_add(iface, &addr_v6, in trigger_events()
50 ret = net_if_ipv6_addr_rm(iface, &addr_v6); in trigger_events()
/Zephyr-latest/tests/net/socket/getaddrinfo/src/
Dmain.c36 static struct sockaddr_in6 addr_v6; variable
121 ntohs(addr_v6.sin6_port)); in process_dns()
143 addr_len = sizeof(addr_v6); in process_dns()
144 addr = (struct sockaddr *)&addr_v6; in process_dns()
189 memcpy(&addr_v6, net_sin6(&addr), sizeof(struct sockaddr_in6)); in test_getaddrinfo_setup()
200 memcpy(&addr_v6, net_sin6(&addr), sizeof(struct sockaddr_in6)); in test_getaddrinfo_setup()
209 addr_str = zsock_inet_ntop(AF_INET6, &addr_v6.sin6_addr, str, sizeof(str)); in test_getaddrinfo_setup()
210 NET_DBG("v6: [%s]:%d", addr_str, ntohs(addr_v6.sin6_port)); in test_getaddrinfo_setup()
212 sock_v6 = prepare_listen_sock_udp_v6(&addr_v6); in test_getaddrinfo_setup()
/Zephyr-latest/tests/net/socket/net_mgmt/src/
Dmain.c26 static ZTEST_BMEM struct in6_addr addr_v6; variable
281 net_ipv6_addr_create(&addr_v6, 0x2001, 0x0db8, 0, 0, 0, 0, 0, 0x0003); in trigger_events()
286 ifaddr_v6 = net_if_ipv6_addr_add(iface, &addr_v6, in trigger_events()
304 ret = net_if_ipv6_addr_rm(iface, &addr_v6); in trigger_events()
/Zephyr-latest/subsys/net/ip/
Dnet_if.c1876 struct in6_addr addr_v6; in z_vrfy_net_if_ipv6_addr_lookup_by_index() local
1878 K_OOPS(k_usermode_from_copy(&addr_v6, (void *)addr, sizeof(addr_v6))); in z_vrfy_net_if_ipv6_addr_lookup_by_index()
1880 return z_impl_net_if_ipv6_addr_lookup_by_index(&addr_v6); in z_vrfy_net_if_ipv6_addr_lookup_by_index()
2077 struct in6_addr addr_v6; in z_vrfy_net_if_ipv6_addr_add_by_index() local
2085 K_OOPS(k_usermode_from_copy(&addr_v6, (void *)addr, sizeof(addr_v6))); in z_vrfy_net_if_ipv6_addr_add_by_index()
2088 &addr_v6, in z_vrfy_net_if_ipv6_addr_add_by_index()
2113 struct in6_addr addr_v6; in z_vrfy_net_if_ipv6_addr_rm_by_index() local
2121 K_OOPS(k_usermode_from_copy(&addr_v6, (void *)addr, sizeof(addr_v6))); in z_vrfy_net_if_ipv6_addr_rm_by_index()
2123 return z_impl_net_if_ipv6_addr_rm_by_index(index, &addr_v6); in z_vrfy_net_if_ipv6_addr_rm_by_index()