Home
last modified time | relevance | path

Searched refs:in_addr (Results 76 – 100 of 121) sorted by relevance

12345

/Zephyr-latest/include/zephyr/net/
Dvirtual.h75 struct in_addr peer4addr;
Dnet_event.h463 struct in_addr dst;
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_common.c88 int zperf_get_ipv4_addr(char *host, struct in_addr *addr) in zperf_get_ipv4_addr()
/Zephyr-latest/tests/net/lib/dns_sd/src/
Dmain.c520 struct in_addr addr = { in ZTEST()
588 struct in_addr addr = { in ZTEST()
681 struct in_addr addr_v4_expect = { { { 224, 0, 0, 251 } } }; in ZTEST()
/Zephyr-latest/subsys/net/lib/shell/
Ddhcpv4.c20 struct in_addr base_addr; in cmd_net_dhcpv4_server_start()
Diface.c505 net_sprint_ipv4_addr(&unicast->address.in_addr), in iface_cb()
529 PR("\t%s%s\n", net_sprint_ipv4_addr(&mcast->address.in_addr), in iface_cb()
/Zephyr-latest/subsys/net/lib/dns/
Ddns_sd.c671 const struct in_addr *addr4, in port_in_use()
706 static inline bool port_in_use(uint16_t proto, uint16_t port, const struct in_addr *addr4, in port_in_use()
717 int dns_sd_handle_ptr_query(const struct dns_sd_rec *inst, const struct in_addr *addr4, in dns_sd_handle_ptr_query()
831 const struct in_addr *addr4, const struct in6_addr *addr6, in dns_sd_handle_service_type_enum()
/Zephyr-latest/subsys/net/ip/
Dconnection.c562 (struct in_addr *)ip_hdr->ipv4->src); in conn_are_endpoints_valid()
700 if (net_ipv4_is_addr_mcast((struct in_addr *)ip_hdr->ipv4->dst)) { in net_conn_input()
703 (struct in_addr *)ip_hdr->ipv4->dst)) { in net_conn_input()
Dtcp.c262 sizeof(struct in_addr)); in net_tcp_endpoint_copy()
1443 (struct in_addr *)NET_IPV4_HDR(pkt)->dst) || in is_destination_local()
1445 (struct in_addr *)NET_IPV4_HDR(pkt)->dst)) { in is_destination_local()
1484 (struct in_addr *)NET_IPV4_HDR(pkt)->dst, in net_tcp_reply_rst()
1485 (struct in_addr *)NET_IPV4_HDR(pkt)->src); in net_tcp_reply_rst()
2324 static uint32_t tcpv4_init_isn(struct in_addr *saddr, in tcpv4_init_isn()
2325 struct in_addr *daddr, in tcpv4_init_isn()
2331 struct in_addr saddr; in tcpv4_init_isn()
2332 struct in_addr daddr; in tcpv4_init_isn()
2336 .saddr = *(struct in_addr *)saddr, in tcpv4_init_isn()
[all …]
Dnet_context.c971 struct in_addr *ptr; in net_context_bind()
1001 ptr = &maddr->address.in_addr; in net_context_bind()
1009 ptr = (struct in_addr *)net_ipv4_unspecified_address(); in net_context_bind()
1018 ptr = &ifaddr->address.in_addr; in net_context_bind()
1231 const struct in_addr *src, in net_context_create_ipv4_new()
1232 const struct in_addr *dst) in net_context_create_ipv4_new()
1244 (struct in_addr *)dst); in net_context_create_ipv4_new()
1433 sizeof(struct in_addr)); in net_context_connect()
2327 (struct in_addr *)(&addr6->sin6_addr.s6_addr32[3])); in context_sendto()
3744 sizeof(struct in_addr)); in net_context_get_local_addr()
Dtp.c374 struct in_addr src; in ip_header_add()
375 struct in_addr dst; in ip_header_add()
/Zephyr-latest/tests/net/offloaded_netdev/src/
Dmain.c22 static struct in_addr test_addr_ipv4 = { { { 192, 0, 2, 1 } } };
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_net.c152 const struct in_addr *src; in do_net_init()
/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c277 struct in_addr gw_addr_4; in ZTEST()
/Zephyr-latest/tests/net/hostname/src/
Dmain.c42 static struct in_addr my_ipv4_addr1 = { { { 192, 0, 2, 1 } } };
/Zephyr-latest/tests/net/icmpv4/src/
Dmain.c116 static struct in_addr my_addr = { { { 192, 0, 2, 1 } } };
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_core.c260 struct in_addr addr; in eswifi_connect()
702 net_sprint_ipv4_addr(&unicast->address.in_addr)); in eswifi_mgmt_ap_enable()
Deswifi_socket.c199 struct in_addr *sin_addr = &net_sin(addr)->sin_addr; in __eswifi_off_start_client()
/Zephyr-latest/tests/net/utils/src/
Dmain.c40 struct in_addr addr;
41 struct in_addr verify;
/Zephyr-latest/lib/posix/options/
Dnet.c77 char *inet_ntoa(struct in_addr in) in inet_ntoa()
/Zephyr-latest/drivers/bluetooth/hci/
Duserchan.c452 struct in_addr addr; in DT_INST_FOREACH_STATUS_OKAY()
/Zephyr-latest/tests/net/socket/misc/src/
Dmain.c63 static struct in_addr my_ipv4_addr1 = { { { 192, 0, 1, 1 } } };
67 static struct in_addr my_ipv4_addr2 = { { { 192, 0, 2, 2 } } };
76 struct in_addr *ipv4_addr;
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c947 static struct in_addr my_addr2 = { { { 192, 0, 2, 2 } } };
952 static struct in_addr my_mcast_addr2 = { { { 224, 0, 0, 2 } } };
2689 struct in_addr addr = { 0 }; in ZTEST()
2852 mreqn.imr_address.s_addr = ifaddr->address.in_addr.s_addr; in ZTEST()
2859 optlen = sizeof(struct in_addr); in ZTEST()
2864 zexpect_equal(optlen, sizeof(struct in_addr), "setsockopt optlen (%d)", optlen); in ZTEST()
2869 zexpect_equal(ifaddr->address.in_addr.s_addr, in ZTEST()
2872 net_sprint_ipv4_addr(&ifaddr->address.in_addr), in ZTEST()
2896 mreq.imr_interface.s_addr = ifaddr->address.in_addr.s_addr; in ZTEST()
/Zephyr-latest/tests/net/lib/dns_addremove/src/
Dmain.c57 static struct in_addr my_addr2 = { { { 192, 0, 2, 1 } } };
/Zephyr-latest/tests/net/context/src/
Dmain.c54 static struct in_addr in4addr_my = { { { 192, 0, 2, 1 } } };
1032 struct in_addr addr; in tester_send()

12345