/Zephyr-Core-2.7.6/tests/net/iface/src/ |
D | main.c | 661 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/ |
D | main.c | 47 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/ |
D | arp.c | 240 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/ |
D | main.c | 46 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/ |
D | main.c | 46 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/ |
D | ipv6cp.c | 301 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/ |
D | main.c | 114 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/ |
D | main.c | 56 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/ |
D | main.c | 39 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/ |
D | main.c | 64 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/ |
D | coap-server.c | 69 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/ |
D | net_if.c | 1017 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()
|