Home
last modified time | relevance | path

Searched refs:my_addr (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-2.7.6/tests/net/iface/src/
Dmain.c661 struct in_addr my_addr = MY_ADDR_V4_USER; in test_v4_addr_add_user() local
664 ret = net_if_ipv4_addr_add_by_index(1, &my_addr, NET_ADDR_MANUAL, 0); in test_v4_addr_add_user()
677 struct in_addr my_addr = MY_ADDR_V4_USER; in test_v4_addr_lookup_user() local
681 ret = net_if_ipv4_addr_lookup_by_index(&my_addr); in test_v4_addr_lookup_user()
690 struct in_addr my_addr = MY_ADDR_V4_USER; in test_v4_addr_rm_user() local
693 ret = net_if_ipv4_addr_rm_by_index(1, &my_addr); in test_v4_addr_rm_user()
756 struct in6_addr my_addr = MY_ADDR_V6_USER; in test_v6_addr_add_user() local
759 ret = net_if_ipv6_addr_add_by_index(1, &my_addr, NET_ADDR_MANUAL, 0); in test_v6_addr_add_user()
772 struct in6_addr my_addr = MY_ADDR_V6_USER; in test_v6_addr_lookup_user() local
776 ret = net_if_ipv6_addr_lookup_by_index(&my_addr); in test_v6_addr_lookup_user()
[all …]
/Zephyr-Core-2.7.6/tests/net/route/src/
Dmain.c47 static struct in6_addr my_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, variable
253 ifaddr = net_if_ipv6_addr_add(my_iface, &my_addr, in test_init()
306 &my_addr, in net_test_send_ns()
307 &my_addr, in net_test_send_ns()
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/
Darp.c240 struct in_addr *my_addr; in arp_prepare() local
307 my_addr = current_ip; in arp_prepare()
309 my_addr = &NET_IPV4_HDR(pending)->src; in arp_prepare()
311 my_addr = if_get_addr(entry->iface, current_ip); in arp_prepare()
314 if (my_addr) { in arp_prepare()
315 net_ipaddr_copy(&hdr->src_ipaddr, my_addr); in arp_prepare()
/Zephyr-Core-2.7.6/tests/net/igmp/src/
Dmain.c46 static struct in_addr my_addr = { { { 192, 0, 2, 1 } } }; variable
213 ifaddr = net_if_ipv4_addr_add(iface, &my_addr, NET_ADDR_MANUAL, 0); in test_igmp_setup()
/Zephyr-Core-2.7.6/tests/net/mld/src/
Dmain.c46 static struct in6_addr my_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, variable
213 ifaddr = net_if_ipv6_addr_add(iface, &my_addr, in test_mld_setup()
542 net_ipv6_addr_create_solicited_node(&my_addr, &addr); in test_solicit_node()
/Zephyr-Core-2.7.6/subsys/net/l2/ppp/
Dipv6cp.c301 struct in6_addr my_addr; in ipv6cp_down() local
314 setup_iid_address(ctx->ipv6cp.my_options.iid, &my_addr); in ipv6cp_down()
315 net_if_ipv6_addr_rm(ctx->iface, &my_addr); in ipv6cp_down()
/Zephyr-Core-2.7.6/tests/net/icmpv4/src/
Dmain.c114 static struct in_addr my_addr = { { { 192, 0, 2, 1 } } }; variable
426 ifaddr = net_if_ipv4_addr_add(iface, &my_addr, NET_ADDR_MANUAL, 0); in test_icmpv4()
/Zephyr-Core-2.7.6/tests/net/virtual/src/
Dmain.c56 static struct in_addr my_addr = { { { 192, 0, 2, 1 } } }; variable
411 ifaddr = net_if_ipv4_addr_add(eth, &my_addr, NET_ADDR_MANUAL, 0); in test_address_setup()
414 net_sprint_ipv4_addr(&my_addr)); in test_address_setup()
/Zephyr-Core-2.7.6/tests/net/ipv6/src/
Dmain.c39 static struct in6_addr my_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, variable
355 net_ipaddr_copy(&ifaddr->address.in6_addr, &my_addr); in test_init()
359 ifaddr2 = net_if_ipv6_addr_lookup(&my_addr, &iface2); in test_init()
/Zephyr-Core-2.7.6/tests/net/tcp2/src/
Dmain.c64 static struct in_addr my_addr = { { { 192, 0, 2, 1 } } }; variable
243 ret = net_ipv4_create(pkt, &peer_addr, &my_addr); in tester_prepare_tcp_pkt()
446 ifaddr = net_if_ipv4_addr_add(iface, &my_addr, NET_ADDR_MANUAL, 0); in test_presetup()
/Zephyr-Core-2.7.6/samples/net/sockets/coap_server/src/
Dcoap-server.c69 static struct in6_addr my_addr = MY_IP6ADDR; in join_coap_multicast_group() local
87 &my_addr) < 0) { in join_coap_multicast_group()
93 ifaddr = net_if_ipv6_addr_add(iface, &my_addr, NET_ADDR_MANUAL, 0); in join_coap_multicast_group()
/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_if.c1017 struct in6_addr *my_addr) in join_mcast_solicit_node() argument
1023 net_ipv6_addr_create_solicited_node(my_addr, &addr); in join_mcast_solicit_node()