Lines Matching refs:net_sin

196 		      net_sin((struct sockaddr *)&  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()
808 net_sin(addr)->sin_port, in recheck_port()
818 ntohs(net_sin(addr)->sin_port)); in recheck_port()
827 net_sin(addr)->sin_port = re_port; in recheck_port()
829 NET_ERR("Port %d is in use!", ntohs(net_sin(addr)->sin_port)); in recheck_port()
835 net_sin_ptr(&context->local)->sin_port = net_sin(addr)->sin_port; in recheck_port()
1006 &net_sin(&context->remote)->sin_addr); in net_context_bind()
1432 memcpy(&addr4->sin_addr, &net_sin(addr)->sin_addr, in net_context_connect()
1435 addr4->sin_port = net_sin(addr)->sin_port; 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()
1454 net_sin((struct sockaddr *)&context->local)->sin_port; in net_context_connect()
1457 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, in net_context_connect()
1940 &net_sin(&context->remote)->sin_addr); in get_context_mtu()
2106 net_sin((struct sockaddr *) in context_setup_udp_packet()
2309 addr4 = net_sin(&context->remote); in context_sendto()
2358 if (net_sin(&context->remote)->sin_addr.s_addr == 0U && in context_sendto()
2630 !net_sin(&context->remote)->sin_port) { in net_context_send()
2778 ntohs(net_sin(&context->remote)->sin_port)); in recv_udp()
2802 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, in recv_udp()
2808 lport = net_sin((struct sockaddr *)&context->local)->sin_port; in recv_udp()
2818 ntohs(net_sin(&context->remote)->sin_port), in recv_udp()
3740 net_sin(addr)->sin_family = AF_INET; in net_context_get_local_addr()
3741 net_sin(addr)->sin_port = net_sin_ptr(&ctx->local)->sin_port; in net_context_get_local_addr()
3742 memcpy(&net_sin(addr)->sin_addr, in net_context_get_local_addr()