Lines Matching refs:local_addr
211 BIO_ADDR local_addr; member
365 socklen_t addr_len = sizeof(data->local_addr); in dgram_update_local_addr()
367 if (getsockname(b->num, &data->local_addr.sa, &addr_len) < 0) in dgram_update_local_addr()
372 BIO_ADDR_clear(&data->local_addr); in dgram_update_local_addr()
379 return data->local_addr.sa.sa_family; in dgram_get_sock_family()
1138 local->s_in.sin_port = data->local_addr.s_in.sin_port; in extract_local()
1158 local->s_in6.sin6_port = data->local_addr.s_in6.sin6_port; in extract_local()
1160 data->local_addr.s_in6.sin6_scope_id; in extract_local()
1208 && data->local_addr.s_in.sin_port != local->s_in.sin_port) { in pack_local()
1230 if (local->s_in.sin_addr.s_addr == data->local_addr.s_in.sin_addr.s_addr) { in pack_local()
1246 && data->local_addr.s_in.sin_port != local->s_in.sin_port) { in pack_local()
1278 && data->local_addr.s_in6.sin6_port != local->s_in6.sin6_port) { in pack_local()
1284 && data->local_addr.s_in6.sin6_scope_id != local->s_in6.sin6_scope_id) { in pack_local()