Lines Matching refs:sock_in
910 struct sockaddr_in sock_in; in iscsit_accept_np() local
931 sock_in.sin_family = AF_INET; in iscsit_accept_np()
932 sock_in.sin_port = sock_in6.sin6_port; in iscsit_accept_np()
933 memcpy(&sock_in.sin_addr, &sock_in6.sin6_addr.s6_addr32[3], 4); in iscsit_accept_np()
934 memcpy(&conn->login_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()
945 sock_in.sin_family = AF_INET; in iscsit_accept_np()
946 sock_in.sin_port = sock_in6.sin6_port; in iscsit_accept_np()
947 memcpy(&sock_in.sin_addr, &sock_in6.sin6_addr.s6_addr32[3], 4); in iscsit_accept_np()
948 memcpy(&conn->local_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()
952 memset(&sock_in, 0, sizeof(struct sockaddr_in)); in iscsit_accept_np()
955 (struct sockaddr *)&sock_in, 1); in iscsit_accept_np()
957 memcpy(&conn->login_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()
960 (struct sockaddr *)&sock_in, 0); in iscsit_accept_np()
962 memcpy(&conn->local_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()