Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/shell/
Dtcp.c34 struct sockaddr *myaddr) in get_my_ipv6_addr() argument
40 &net_sin6(myaddr)->sin6_addr); in get_my_ipv6_addr()
42 memcpy(&net_sin6(myaddr)->sin6_addr, my6addr, sizeof(struct in6_addr)); in get_my_ipv6_addr()
44 net_sin6(myaddr)->sin6_port = 0U; /* let the IP stack to select */ in get_my_ipv6_addr()
49 struct sockaddr *myaddr) in get_my_ipv4_addr() argument
53 memcpy(&net_sin(myaddr)->sin_addr, in get_my_ipv4_addr()
57 net_sin(myaddr)->sin_port = 0U; /* let the IP stack to select */ in get_my_ipv4_addr()
63 struct sockaddr *myaddr, in print_connect_info() argument
70 net_sprint_ipv4_addr(&net_sin(myaddr)->sin_addr), in print_connect_info()
71 ntohs(net_sin(myaddr)->sin_port)); in print_connect_info()
[all …]