Searched refs:sin_local (Results 1 – 5 of 5) sorted by relevance
78 struct sockaddr_in sin_local; /* local socket name */ member
669 hc->sin_local.sin_family = AF_INET; in l1oip_socket_thread()670 hc->sin_local.sin_addr.s_addr = INADDR_ANY; in l1oip_socket_thread()671 hc->sin_local.sin_port = htons((unsigned short)hc->localport); in l1oip_socket_thread()679 if (socket->ops->bind(socket, (struct sockaddr *)&hc->sin_local, in l1oip_socket_thread()680 sizeof(hc->sin_local))) { in l1oip_socket_thread()
87 struct sockaddr_in sin_local; member
1138 a->sin_local.sin_family = AF_INET; in mptcp_get_sub_addrs()1139 a->sin_local.sin_port = inet->inet_sport; in mptcp_get_sub_addrs()1140 a->sin_local.sin_addr.s_addr = inet->inet_rcv_saddr; in mptcp_get_sub_addrs()1142 if (!a->sin_local.sin_addr.s_addr) in mptcp_get_sub_addrs()1143 a->sin_local.sin_addr.s_addr = inet->inet_saddr; in mptcp_get_sub_addrs()
72 struct sockaddr_in sin_local; member