Lines Matching refs:net_sin_ptr
269 if (net_sin_ptr(&contexts[i].local)->sin_addr == NULL || in check_used_port()
272 net_sin_ptr(&contexts[i].local)->sin_family != AF_INET)) { in check_used_port()
277 net_sin_ptr(&contexts[i].local)->sin_addr) || in check_used_port()
289 net_sin_ptr(&contexts[i].local)->sin_addr) && in check_used_port()
305 net_sin_ptr(&contexts[i].local)-> in check_used_port()
738 if (net_sin_ptr(&context->local)->sin_addr) { in bind_default()
826 net_sin_ptr(&context->local)->sin_port = re_port; in recheck_port()
835 net_sin_ptr(&context->local)->sin_port = net_sin(addr)->sin_port; in recheck_port()
1032 net_sin_ptr(&context->local)->sin_family = AF_INET; in net_context_bind()
1033 net_sin_ptr(&context->local)->sin_addr = ptr; in net_context_bind()
1049 net_sin_ptr(&context->local)->sin_port; in net_context_bind()
1451 net_sin_ptr(&context->local)->sin_family = AF_INET; in net_context_connect()
1456 if (net_sin_ptr(&context->local)->sin_addr) { in net_context_connect()
1458 net_sin_ptr(&context->local)->sin_addr); in net_context_connect()
2801 if (net_sin_ptr(&context->local)->sin_addr) { in recv_udp()
2803 net_sin_ptr(&context->local)->sin_addr); in recv_udp()
3741 net_sin(addr)->sin_port = net_sin_ptr(&ctx->local)->sin_port; in net_context_get_local_addr()
3743 net_sin_ptr(&ctx->local)->sin_addr, in net_context_get_local_addr()