Home
last modified time | relevance | path

Searched refs:in_addr (Results 51 – 75 of 121) sorted by relevance

12345

/Zephyr-latest/tests/net/pmtu/src/
Dmain.c68 static struct in_addr dest_ipv4_addr1 = { { { 198, 51, 100, 1 } } };
69 static struct in_addr dest_ipv4_addr2 = { { { 198, 51, 100, 2 } } };
70 static struct in_addr dest_ipv4_addr3 = { { { 198, 51, 100, 3 } } };
71 static struct in_addr dest_ipv4_addr4 = { { { 198, 51, 100, 4 } } };
72 static struct in_addr dest_ipv4_addr_not_found = { { { 1, 2, 3, 4 } } };
636 struct in_addr *dest4; in create_icmpv4_dest_unreach()
637 struct in_addr *src4; in create_icmpv4_dest_unreach()
/Zephyr-latest/include/zephyr/net/
Dnet_context.h1026 const struct in_addr *src,
1027 const struct in_addr *dst);
1031 const struct in_addr *src, in net_context_create_ipv4_new()
1032 const struct in_addr *dst) in net_context_create_ipv4_new()
/Zephyr-latest/subsys/net/lib/shell/
Dpmtu.c50 net_sprint_addr(entry->dst.family, (void *)&entry->dst.in_addr), in pmtu_cb()
Dtcp.c54 &iface->config.ip.ipv4->unicast[0].ipv4.address.in_addr, in get_my_ipv4_addr()
55 sizeof(struct in_addr)); in get_my_ipv4_addr()
/Zephyr-latest/drivers/wifi/esp_at/
Desp.h226 struct in_addr ip;
227 struct in_addr gw;
228 struct in_addr nm;
/Zephyr-latest/subsys/net/lib/ptp/
Dtransport.c19 static struct in_addr mcast_addr = {{{224, 0, 1, 129}}};
86 memcpy(&mreqn.imr_multiaddr, &mcast_addr, sizeof(struct in_addr)); in transport_join_multicast()
326 struct in_addr *ip = net_if_ipv4_get_global_addr(port->iface, NET_ADDR_PREFERRED); in ptp_transport_protocol_addr()
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dvlan.c46 struct in_addr addr4; in setup_iface()
/Zephyr-latest/samples/net/dhcpv4_client/src/
Dmain.c60 &iface->config.ip.ipv4->unicast[i].ipv4.address.in_addr, in handler()
/Zephyr-latest/tests/net/ipv4_fragment/src/
Dmain.c38 static struct in_addr my_addr1 = { { { 0xc0, 0xa8, 0x08, 0x01 } } };
39 static struct in_addr my_addr2 = { { { 0xc0, 0xa8, 0x08, 0x02 } } };
527 static void setup_udp_handler(const struct in_addr *raddr, const struct in_addr *laddr, in setup_udp_handler()
547 static void setup_tcp_handler(const struct in_addr *raddr, const struct in_addr *laddr, in setup_tcp_handler()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dvlan.c46 struct in_addr addr4; in setup_iface()
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_internal.h101 int zperf_get_ipv4_addr(char *host, struct in_addr *addr);
Dzperf_udp_receiver.c234 static void zperf_udp_join_mcast_ipv4(char *if_name, struct in_addr *addr) in zperf_udp_join_mcast_ipv4()
389 const struct in_addr *in4_addr = NULL; in zperf_udp_receiver_init()
405 sizeof(struct in_addr)); in zperf_udp_receiver_init()
Dzperf_tcp_receiver.c289 const struct in_addr *addr = NULL; in zperf_tcp_receiver_init()
303 sizeof(struct in_addr)); in zperf_tcp_receiver_init()
/Zephyr-latest/tests/posix/headers/src/
Dnetinet_in_h.c27 zexpect_not_equal(-1, offsetof(struct in_addr, s_addr)); in ZTEST()
/Zephyr-latest/tests/net/virtual/src/
Dmain.c36 bool arp_add(struct net_if *iface, struct in_addr *src,
56 static struct in_addr my_addr = { { { 192, 0, 2, 1 } } };
383 struct in_addr netmask = {{{ 255, 255, 255, 0 }}}; in test_address_setup()
532 static bool add_to_arp(struct net_if *iface, struct in_addr *addr) in add_to_arp()
767 sizeof(struct in_addr), in ZTEST()
945 struct in_addr *outerv4, *innerv4; in test_virtual_recv_data_from_tunnel()
/Zephyr-latest/subsys/net/lib/dns/
Dllmnr_responder.c268 static const uint8_t *get_ipv4_src(struct net_if *iface, struct in_addr *dst) in get_ipv4_src()
270 const struct in_addr *addr; in get_ipv4_src()
322 addr_len = sizeof(struct in_addr); in create_ipv4_answer()
603 struct in_addr *addr = user_data; in iface_ipv4_cb()
Dmdns_responder.c299 const struct in_addr *addr; in send_response()
311 ret = create_answer(sock, query, qtype, sizeof(struct in_addr), (uint8_t *)addr); in send_response()
363 const struct in_addr *addr4 = NULL; in send_sd_response()
630 struct in_addr *addr = user_data; in iface_ipv4_cb()
/Zephyr-latest/tests/net/socket/af_packet_ipproto_raw/src/
Dmain.c100 struct in_addr in4addr_my = { { { 192, 168, 0, 2 } } }; in test_setup()
/Zephyr-latest/subsys/net/ip/
Dicmp.c122 struct in_addr *dst, in send_icmpv4_echo_request()
131 const struct in_addr *src; in send_icmpv4_echo_request()
228 struct in_addr *dst, in send_icmpv4_echo_request()
/Zephyr-latest/tests/net/lib/dns_dispatcher/src/
Dmain.c58 static struct in_addr my_addr2 = { { { 192, 0, 2, 1 } } };
/Zephyr-latest/samples/net/virtual/src/
Dmain.c233 struct in_addr addr4; in setup_iface()
305 struct in_addr nm; in setup_iface()
/Zephyr-latest/tests/net/dhcpv4/client/src/
Dmain.c213 static const struct in_addr server_addr = { { { 192, 0, 2, 1 } } };
214 static const struct in_addr client_addr = { { { 255, 255, 255, 255 } } };
/Zephyr-latest/samples/net/lldp/src/
Dmain.c67 struct in_addr addr4; in setup_iface()
/Zephyr-latest/tests/net/pm/src/
Dmain.c107 struct in_addr in4addr_my = { { { 192, 168, 0, 2 } } }; in test_setup()
/Zephyr-latest/subsys/net/lib/config/
Dinit.c81 net_addr_ntop(AF_INET, &if_addr->address.in_addr, in print_dhcpv4_info()
147 struct in_addr addr, netmask; in setup_ipv4()

12345