Lines Matching refs:local_addr
179 const struct sockaddr *local_addr, in check_used_port() argument
208 local_addr->sa_family == AF_INET6) { in check_used_port()
217 &net_sin6(local_addr)->sin6_addr))) { in check_used_port()
229 &net_sin6(local_addr)->sin6_addr))) { in check_used_port()
246 local_addr)->sin6_addr)) { in check_used_port()
264 local_addr->sa_family == AF_INET) { in check_used_port()
279 &net_sin(local_addr)->sin_addr))) { in check_used_port()
291 &net_sin(local_addr)->sin_addr))) { in check_used_port()
308 local_addr)->sin_addr)) { in check_used_port()
411 const struct sockaddr *local_addr) in net_context_port_in_use() argument
414 local_addr, false, false, false) != 0; in net_context_port_in_use()
1323 struct sockaddr local_addr __unused; in net_context_connect()
1404 net_sin6(&local_addr)->sin6_family = AF_INET6; in net_context_connect()
1405 net_sin6(&local_addr)->sin6_port = lport = in net_context_connect()
1409 net_ipaddr_copy(&net_sin6(&local_addr)->sin6_addr, in net_context_connect()
1412 laddr = &local_addr; in net_context_connect()
1452 net_sin(&local_addr)->sin_family = AF_INET; in net_context_connect()
1453 net_sin(&local_addr)->sin_port = lport = in net_context_connect()
1457 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, in net_context_connect()
1460 laddr = &local_addr; in net_context_connect()
2753 struct sockaddr local_addr = { in recv_udp() local
2790 net_ipaddr_copy(&net_sin6(&local_addr)->sin6_addr, in recv_udp()
2793 laddr = &local_addr; in recv_udp()
2796 net_sin6(&local_addr)->sin6_port = in recv_udp()
2802 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, in recv_udp()
2805 laddr = &local_addr; in recv_udp()
2866 struct sockaddr *local_addr, in recv_raw() argument
2900 NULL, local_addr, 0, 0, in recv_raw()
2958 struct sockaddr_can local_addr = { in net_context_recv() local
2963 (struct sockaddr *)&local_addr, in net_context_recv()