Home
last modified time | relevance | path

Searched refs:net_ipaddr_copy (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-Core-3.6.0/tests/net/shell/src/
Dmain.c172 net_ipaddr_copy(&any_addr6.sin6_addr, &in6addr_anyaddr); in test_setup()
175 net_ipaddr_copy(&my_addr6.sin6_addr, &in6addr_my); in test_setup()
178 net_ipaddr_copy(&peer_addr6.sin6_addr, &in6addr_peer); in test_setup()
181 net_ipaddr_copy(&any_addr4.sin_addr, &in4addr_any); in test_setup()
184 net_ipaddr_copy(&my_addr4.sin_addr, &in4addr_my); in test_setup()
187 net_ipaddr_copy(&peer_addr4.sin_addr, &in4addr_peer); in test_setup()
/Zephyr-Core-3.6.0/subsys/net/lib/zperf/
Dzperf_session.c77 net_ipaddr_copy(&active->ip.in_addr, &addr4->sin_addr); in get_session()
82 net_ipaddr_copy(&active->ip.in6_addr, &addr6->sin6_addr); in get_session()
/Zephyr-Core-3.6.0/samples/net/sockets/echo_server/src/
Dtunnel.c109 net_ipaddr_copy(&params.peer6addr, in init_tunnel()
120 net_ipaddr_copy(&params.peer4addr, in init_tunnel()
/Zephyr-Core-3.6.0/tests/net/udp/src/
Dmain.c462 net_ipaddr_copy(&any_addr6.sin6_addr, &in6addr_anyaddr); in ZTEST()
465 net_ipaddr_copy(&my_addr6.sin6_addr, &in6addr_my); in ZTEST()
468 net_ipaddr_copy(&peer_addr6.sin6_addr, &in6addr_peer); in ZTEST()
471 net_ipaddr_copy(&any_addr4.sin_addr, &in4addr_any); in ZTEST()
474 net_ipaddr_copy(&my_addr4.sin_addr, &in4addr_my); in ZTEST()
477 net_ipaddr_copy(&peer_addr4.sin_addr, &in4addr_peer); in ZTEST()
/Zephyr-Core-3.6.0/subsys/net/l2/virtual/ipip/
Dipip.c427 net_ipaddr_copy(&ctx->peer.in_addr, &config->peer4addr); in interface_set_config()
458 net_ipaddr_copy(&ctx->peer.in6_addr, in interface_set_config()
510 net_ipaddr_copy(&config->peer6addr, in interface_get_config()
515 net_ipaddr_copy(&config->peer4addr, in interface_get_config()
/Zephyr-Core-3.6.0/subsys/logging/backends/
Dlog_backend_net.c117 net_ipaddr_copy(&local_addr6.sin6_addr, src); in do_net_init()
133 net_ipaddr_copy(&local_addr4.sin_addr, src); in do_net_init()
/Zephyr-Core-3.6.0/subsys/net/ip/
Droute.c211 net_ipaddr_copy(&net_route_data(nbr)->addr, addr); in nbr_new()
467 net_ipaddr_copy(&info.addr, addr); in net_route_add()
468 net_ipaddr_copy(&info.nexthop, nexthop); in net_route_add()
574 net_ipaddr_copy(&info.addr, &route->addr); in net_route_del()
576 net_ipaddr_copy(&info.nexthop, in net_route_del()
890 net_ipaddr_copy(&route->group, group); in net_route_mcast_add()
Digmp.c74 net_ipaddr_copy(&igmp->address, addr); in igmp_v2_create()
160 net_ipaddr_copy(&group_record->address, &mcast[i].address.in_addr); in igmp_v3_create()
618 net_ipaddr_copy(&maddr->sources[i].in_addr.s_addr, in net_ipv4_igmp_join()
Dipv4_fragment.c63 net_ipaddr_copy(&reassembly[avail].src, src); in reassembly_get()
64 net_ipaddr_copy(&reassembly[avail].dst, dst); in reassembly_get()
Dipv6_fragment.c152 net_ipaddr_copy(&reassembly[avail].src, src); in reassembly_get()
153 net_ipaddr_copy(&reassembly[avail].dst, dst); in reassembly_get()
Dipv4_autoconf.c170 net_ipaddr_copy(&ipv4auto->current_ip, in ipv4_autoconf_addr_set()
Dtcp.c2362 net_ipaddr_copy(&net_sin6(&local_addr)->sin6_addr, in tcp_conn_new()
2366 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, in tcp_conn_new()
2902 net_ipaddr_copy(&conn->context->remote, &conn->dst.sa); in tcp_in()
2916 net_ipaddr_copy(&net_sin6(&conn->context->remote)->sin6_addr, in tcp_in()
3777 net_ipaddr_copy(&conn->src.sin.sin_addr, ip4); in net_tcp_connect()
3779 net_ipaddr_copy(&conn->src.sin.sin_addr, in net_tcp_connect()
3782 net_ipaddr_copy(&conn->dst.sin.sin_addr, in net_tcp_connect()
3806 net_ipaddr_copy(&conn->src.sin6.sin6_addr, ip6); in net_tcp_connect()
3808 net_ipaddr_copy(&conn->src.sin6.sin6_addr, in net_tcp_connect()
3811 net_ipaddr_copy(&conn->dst.sin6.sin6_addr, in net_tcp_connect()
[all …]
Dnet_context.c1248 net_ipaddr_copy(&net_sin6(&local_addr)->sin6_addr, in net_context_connect()
1290 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, in net_context_connect()
1967 net_ipaddr_copy(&mapped.sin_addr, in context_sendto()
2417 net_ipaddr_copy(&net_sin6(&local_addr)->sin6_addr, in recv_udp()
2429 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, in recv_udp()
Dnet_if.c1715 net_ipaddr_copy(&ifaddr->address.in6_addr, addr); in net_if_addr_init()
2220 net_ipaddr_copy(&info.addr, &ifprefix->prefix); in prefix_lifetime_expired()
2348 net_ipaddr_copy(&ifprefix->prefix, addr); in net_if_ipv6_prefix_init()
2395 net_ipaddr_copy(&info.addr, prefix); in net_if_ipv6_prefix_add()
2452 net_ipaddr_copy(&info.addr, addr); in net_if_ipv6_prefix_rm()
3658 net_ipaddr_copy(&iface->config.ip.ipv4->netmask, netmask); in net_if_ipv4_set_netmask()
3711 net_ipaddr_copy(&iface->config.ip.ipv4->gw, gw); in net_if_ipv4_set_gw()
Dipv6_nbr.c339 net_ipaddr_copy(&info.addr, addr); in net_ipv6_nbr_rm()
428 net_ipaddr_copy(&net_ipv6_nbr_data(nbr)->addr, addr); in nbr_init()
655 net_ipaddr_copy(&info.addr, addr); in net_ipv6_nbr_add()
1358 net_ipaddr_copy((struct in6_addr *)ip_hdr->src, in handle_ns_input()
/Zephyr-Core-3.6.0/subsys/mgmt/mcumgr/transport/src/
Dsmp_udp.c165 net_ipaddr_copy(dst_ud, src_ud); in smp_udp_ud_copy()
267 net_ipaddr_copy(ud, &addr); in smp_udp_receive_thread()
/Zephyr-Core-3.6.0/samples/net/virtual/src/
Dmain.c263 net_ipaddr_copy(&params.peer6addr, &addr6); in setup_iface()
323 net_ipaddr_copy(&params.peer4addr, &addr4); in setup_iface()
/Zephyr-Core-3.6.0/tests/net/ipv4_fragment/src/
Dmain.c535 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, laddr); in setup_udp_handler()
538 net_ipaddr_copy(&net_sin(&remote_addr)->sin_addr, raddr); in setup_udp_handler()
555 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, laddr); in setup_tcp_handler()
558 net_ipaddr_copy(&net_sin(&remote_addr)->sin_addr, raddr); in setup_tcp_handler()
/Zephyr-Core-3.6.0/tests/net/virtual/src/
Dmain.c702 net_ipaddr_copy(&params.peer4addr, in ZTEST()
705 net_ipaddr_copy(&params.peer6addr, in ZTEST()
800 net_ipaddr_copy(&params.peer4addr, in ZTEST()
809 net_ipaddr_copy(&params.peer6addr, in ZTEST()
/Zephyr-Core-3.6.0/subsys/net/lib/capture/
Dcapture.c312 net_ipaddr_copy(&params.peer6addr, in net_capture_setup()
321 net_ipaddr_copy(&params.peer4addr, in net_capture_setup()
/Zephyr-Core-3.6.0/drivers/modem/
Dwncm14a2a.c1504 net_ipaddr_copy(&net_sin6(&sock->src)->sin6_addr, in offload_bind()
1511 net_ipaddr_copy(&net_sin(&sock->src)->sin_addr, in offload_bind()
1565 net_ipaddr_copy(&net_sin6(&sock->dst)->sin6_addr, in offload_connect()
1573 net_ipaddr_copy(&net_sin(&sock->dst)->sin_addr, in offload_connect()
/Zephyr-Core-3.6.0/subsys/net/l2/ethernet/
Darp.c290 net_ipaddr_copy(&entry->ip, next_addr); in arp_prepare()
500 net_ipaddr_copy(&arp_ent->ip, src); in net_arp_update()
/Zephyr-Core-3.6.0/samples/net/cloud/mqtt_azure/src/
Dmain.c128 net_ipaddr_copy(&broker4->sin_addr, in broker_init()
/Zephyr-Core-3.6.0/include/zephyr/net/
Dnet_ip.h747 #define net_ipaddr_copy(dest, src) \ macro
759 net_ipaddr_copy((struct in_addr *)dest, (const struct in_addr *)src); in net_ipv4_addr_copy_raw()
/Zephyr-Core-3.6.0/tests/net/iface/src/
Dmain.c708 net_ipaddr_copy(&ipv4.sin_addr, &dst_addr_2); in ZTEST()
716 net_ipaddr_copy(&ipv6.sin6_addr, &dst_addr1); in ZTEST()

12