Lines Matching refs:local_addr

2396 	struct sockaddr local_addr = { 0 };  in tcp_conn_new()  local
2434 local_addr.sa_family = net_context_get_family(context); in tcp_conn_new()
2438 net_ipaddr_copy(&net_sin6(&local_addr)->sin6_addr, in tcp_conn_new()
2442 net_ipaddr_copy(&net_sin(&local_addr)->sin_addr, in tcp_conn_new()
2446 ret = net_context_bind(context, &local_addr, sizeof(local_addr)); in tcp_conn_new()
2476 conn->seq = tcp_init_isn(&local_addr, &context->remote); in tcp_conn_new()
2480 net_sprint_addr(local_addr.sa_family, in tcp_conn_new()
2481 (const void *)&net_sin(&local_addr)->sin_addr), in tcp_conn_new()
2486 &context->remote, &local_addr, in tcp_conn_new()
3821 struct sockaddr *local_addr, in net_tcp_connect() argument
3830 net_sprint_addr(local_addr->sa_family, in net_tcp_connect()
3831 (const void *)&net_sin(local_addr)->sin_addr), in net_tcp_connect()
3863 &net_sin(local_addr)->sin_addr)) { in net_tcp_connect()
3870 &net_sin(local_addr)->sin_addr); in net_tcp_connect()
3892 &net_sin6(local_addr)->sin6_addr)) { in net_tcp_connect()
3899 &net_sin6(local_addr)->sin6_addr); in net_tcp_connect()
3924 remote_addr, local_addr, in net_tcp_connect()
3986 struct sockaddr local_addr = { }; in net_tcp_accept() local
4000 local_addr.sa_family = net_context_get_family(context); in net_tcp_accept()
4002 switch (local_addr.sa_family) { in net_tcp_accept()
4011 in = (struct sockaddr_in *)&local_addr; in net_tcp_accept()
4030 in6 = (struct sockaddr_in6 *)&local_addr; in net_tcp_accept()
4056 local_addr.sa_family, in net_tcp_accept()
4059 &local_addr, in net_tcp_accept()