Home
last modified time | relevance | path

Searched refs:ipv6_addr (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/samples/boards/nxp/s32/netc/src/
Dmain.c20 static int setup_iface(struct net_if *iface, const char *ipv6_addr, in setup_iface() argument
30 if (net_addr_pton(AF_INET6, ipv6_addr, &addr6)) { in setup_iface()
31 LOG_ERR("Invalid address: %s", ipv6_addr); in setup_iface()
37 LOG_ERR("Cannot add %s to interface %p", ipv6_addr, iface); in setup_iface()
40 LOG_INF("IPv6 address: %s", ipv6_addr); in setup_iface()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dvlan.c41 const char *ipv6_addr, in setup_iface() argument
61 if (net_addr_pton(AF_INET6, ipv6_addr, &addr6)) { in setup_iface()
62 LOG_ERR("Invalid address: %s", ipv6_addr); in setup_iface()
70 ipv6_addr, iface); in setup_iface()
77 LOG_ERR("Invalid address: %s", ipv6_addr); in setup_iface()
/Zephyr-latest/samples/net/vlan/src/
Dmain.c40 const char *ipv6_addr, const char *ipv4_addr, in setup_iface() argument
54 if (net_addr_pton(AF_INET6, ipv6_addr, &addr6)) { in setup_iface()
55 LOG_ERR("Invalid address: %s", ipv6_addr); in setup_iface()
63 ipv6_addr, vlan); in setup_iface()
75 ipv6_addr, in setup_iface()
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dvlan.c41 const char *ipv6_addr, in setup_iface() argument
55 if (net_addr_pton(AF_INET6, ipv6_addr, &addr6)) { in setup_iface()
56 LOG_ERR("Invalid address: %s", ipv6_addr); in setup_iface()
62 LOG_ERR("Cannot add %s to interface %p", ipv6_addr, iface); in setup_iface()
/Zephyr-latest/samples/net/mdns_responder/src/
Dvlan.c41 const char *ipv6_addr, in setup_iface() argument
57 if (net_addr_pton(AF_INET6, ipv6_addr, &addr6)) { in setup_iface()
58 LOG_ERR("Invalid address: %s", ipv6_addr); in setup_iface()
66 ipv6_addr, iface); in setup_iface()
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dvlan.c46 const char *ipv6_addr, const char *ipv4_addr, in setup_iface() argument
60 if (net_addr_pton(AF_INET6, ipv6_addr, &addr6)) { in setup_iface()
61 LOG_ERR("Invalid address: %s", ipv6_addr); in setup_iface()
69 ipv6_addr, vlan); in setup_iface()
/Zephyr-latest/samples/net/lldp/src/
Dmain.c62 const char *ipv6_addr, in setup_iface() argument
76 if (net_addr_pton(AF_INET6, ipv6_addr, &addr6)) { in setup_iface()
77 LOG_ERR("Invalid address: %s", ipv6_addr); in setup_iface()
83 LOG_ERR("Cannot add %s to interface %p", ipv6_addr, iface); in setup_iface()
/Zephyr-latest/subsys/net/lib/socks/
Dsocks_internal.h72 struct socks5_ipv6_addr ipv6_addr; member
87 struct socks5_ipv6_addr ipv6_addr; member
Dsocks.c145 memcpy(&cmd_req.ipv6_addr.addr, in socks5_tcp_connect()
147 sizeof(cmd_req.ipv6_addr.addr)); in socks5_tcp_connect()
149 cmd_req.ipv6_addr.port = d6->sin6_port; in socks5_tcp_connect()
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_support.c421 sl_conn.ipv6_addr[i] = in SimpleLinkNetAppEventHandler()
428 ((sl_conn.ipv6_addr[0] >> 16) & 0xffff), in SimpleLinkNetAppEventHandler()
429 sl_conn.ipv6_addr[0] & 0xffff, in SimpleLinkNetAppEventHandler()
430 ((sl_conn.ipv6_addr[1] >> 16) & 0xffff), in SimpleLinkNetAppEventHandler()
431 sl_conn.ipv6_addr[1] & 0xffff, in SimpleLinkNetAppEventHandler()
432 ((sl_conn.ipv6_addr[2] >> 16) & 0xffff), in SimpleLinkNetAppEventHandler()
433 sl_conn.ipv6_addr[2] & 0xffff, in SimpleLinkNetAppEventHandler()
434 ((sl_conn.ipv6_addr[3] >> 16) & 0xffff), in SimpleLinkNetAppEventHandler()
435 sl_conn.ipv6_addr[3] & 0xffff); in SimpleLinkNetAppEventHandler()
Dsimplelink_support.h32 uint32_t ipv6_addr[4]; member
/Zephyr-latest/tests/net/offloaded_netdev/src/
Dmain.c343 struct net_if_addr *ipv6_addr; in test_addr_add_common() local
353 ipv6_addr = net_if_ipv6_addr_add(test_iface, &test_addr_ipv6, in test_addr_add_common()
355 zassert_not_null(ipv6_addr, in test_addr_add_common()
367 ipv6_addr, in test_addr_add_common()
/Zephyr-latest/samples/net/virtual/src/
Dmain.c225 const char *ipv6_addr, in setup_iface() argument
240 if (net_addr_pton(AF_INET6, ipv6_addr, &addr6)) { in setup_iface()
241 LOG_ERR("Invalid address: %s", ipv6_addr); in setup_iface()
249 ipv6_addr, iface); in setup_iface()
/Zephyr-latest/subsys/net/ip/
Dipv6.h397 void net_ipv6_nbr_reachability_hint(struct net_if *iface, const struct in6_addr *ipv6_addr);
400 const struct in6_addr *ipv6_addr) in net_ipv6_nbr_reachability_hint() argument
403 ARG_UNUSED(ipv6_addr); in net_ipv6_nbr_reachability_hint()
Dipv6_nbr.c1626 const struct in6_addr *ipv6_addr) in net_ipv6_nbr_reachability_hint() argument
1632 nbr = nbr_lookup(&net_neighbor.table, iface, ipv6_addr); in net_ipv6_nbr_reachability_hint()
Dnet_if.c1589 void net_if_nbr_reachability_hint(struct net_if *iface, const struct in6_addr *ipv6_addr) in net_if_nbr_reachability_hint() argument
1601 net_ipv6_nbr_reachability_hint(iface, ipv6_addr); in net_if_nbr_reachability_hint()
/Zephyr-latest/tests/net/socket/misc/src/
Dmain.c75 struct in6_addr *ipv6_addr; member
81 .ipv6_addr = &my_ipv6_addr1,
86 .ipv6_addr = &my_ipv6_addr2,
131 ifaddr = net_if_ipv6_addr_add(net_if_lookup_by_dev(dev), ctx->ipv6_addr, in dummy_iface_init()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h1177 void net_if_nbr_reachability_hint(struct net_if *iface, const struct in6_addr *ipv6_addr);
1180 const struct in6_addr *ipv6_addr) in net_if_nbr_reachability_hint() argument
1183 ARG_UNUSED(ipv6_addr); in net_if_nbr_reachability_hint()
Dethernet.h929 void net_eth_ipv6_mcast_to_mac_addr(const struct in6_addr *ipv6_addr,
/Zephyr-latest/subsys/net/l2/ethernet/
Dethernet.c68 void net_eth_ipv6_mcast_to_mac_addr(const struct in6_addr *ipv6_addr, in net_eth_ipv6_mcast_to_mac_addr() argument
79 memcpy(mac_addr->addr + 2, &ipv6_addr->s6_addr[12], 4); in net_eth_ipv6_mcast_to_mac_addr()