Home
last modified time | relevance | path

Searched refs:laddr (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/tests/net/udp/src/
Dmain.c398 struct sockaddr *laddr, uint16_t rport, in set_port() argument
406 if (laddr) { in set_port()
407 ((struct sockaddr_in6 *)laddr)-> in set_port()
415 if (laddr) { in set_port()
416 ((struct sockaddr_in *)laddr)-> in set_port()
496 #define REGISTER(family, raddr, laddr, rport, lport) \ in ZTEST() argument
501 user_data.local_addr = (struct sockaddr *)laddr; \ in ZTEST()
504 user_data.test = "DST="#raddr"-SRC="#laddr"-RP="#rport \ in ZTEST()
508 (struct sockaddr *)laddr, rport, lport); \ in ZTEST()
512 (struct sockaddr *)laddr, \ in ZTEST()
[all …]
/Zephyr-latest/subsys/net/lib/config/
Dinit.c244 static struct in6_addr laddr; variable
260 memcpy(&laddr, in ipv6_event_handler()
262 sizeof(laddr)); in ipv6_event_handler()
274 ifaddr = net_if_ipv6_addr_lookup(&laddr, &iface); in ipv6_event_handler()
276 !(net_ipv6_addr_cmp(&ifaddr->address.in6_addr, &laddr) && in ipv6_event_handler()
284 net_addr_ntop(AF_INET6, &laddr, hr_addr, NET_IPV6_ADDR_LEN)); in ipv6_event_handler()
320 if (net_addr_pton(AF_INET6, CONFIG_NET_CONFIG_MY_IPV6_ADDR, &laddr)) { in setup_ipv6()
341 ifaddr = net_if_ipv6_addr_add(iface, &laddr, in setup_ipv6()
/Zephyr-latest/subsys/net/ip/
Dtcp_internal.h130 struct sockaddr *laddr,
139 struct sockaddr *laddr, in net_tcp_connect() argument
146 ARG_UNUSED(laddr); in net_tcp_connect()
Dnet_context.c1322 struct sockaddr *laddr = NULL; in net_context_connect() local
1412 laddr = &local_addr; in net_context_connect()
1460 laddr = &local_addr; in net_context_connect()
1489 NET_ASSERT(laddr != NULL); in net_context_connect()
1491 ret = net_tcp_connect(context, addr, laddr, rport, lport, in net_context_connect()
2756 struct sockaddr *laddr = NULL; in recv_udp() local
2793 laddr = &local_addr; in recv_udp()
2805 laddr = &local_addr; in recv_udp()
2817 laddr, in recv_udp()
/Zephyr-latest/tests/net/ipv4_fragment/src/
Dmain.c527 static void setup_udp_handler(const struct in_addr *raddr, const struct in_addr *laddr, in setup_udp_handler() argument
535 net_ipaddr_copy(&net_sin(&local_addr)->sin_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() argument
555 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, laddr); in setup_tcp_handler()
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c1611 const struct in6_addr *laddr, in setup_udp_handler() argument
1620 net_ipaddr_copy(&net_sin6(&local_addr)->sin6_addr, laddr); in setup_udp_handler()