Searched refs:sin_local (Results 1 – 5 of 5) sorted by relevance
78 struct sockaddr_in sin_local; /* local socket name */ member
668 hc->sin_local.sin_family = AF_INET; in l1oip_socket_thread()669 hc->sin_local.sin_addr.s_addr = INADDR_ANY; in l1oip_socket_thread()670 hc->sin_local.sin_port = htons((unsigned short)hc->localport); in l1oip_socket_thread()678 if (socket->ops->bind(socket, (struct sockaddr *)&hc->sin_local, in l1oip_socket_thread()679 sizeof(hc->sin_local))) { in l1oip_socket_thread()
226 struct sockaddr_in sin_local; member
1053 a->sin_local.sin_family = AF_INET; in mptcp_get_sub_addrs()1054 a->sin_local.sin_port = inet->inet_sport; in mptcp_get_sub_addrs()1055 a->sin_local.sin_addr.s_addr = inet->inet_rcv_saddr; in mptcp_get_sub_addrs()1057 if (!a->sin_local.sin_addr.s_addr) in mptcp_get_sub_addrs()1058 a->sin_local.sin_addr.s_addr = inet->inet_saddr; in mptcp_get_sub_addrs()
67 struct sockaddr_in sin_local; member