Searched refs:sock_in6 (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/target/iscsi/ |
D | iscsi_target_login.c | 951 struct sockaddr_in6 sock_in6; in iscsit_accept_np() local 962 memset(&sock_in6, 0, sizeof(struct sockaddr_in6)); in iscsit_accept_np() 965 (struct sockaddr *)&sock_in6, 1); in iscsit_accept_np() 967 if (!ipv6_addr_v4mapped(&sock_in6.sin6_addr)) { in iscsit_accept_np() 968 memcpy(&conn->login_sockaddr, &sock_in6, sizeof(sock_in6)); in iscsit_accept_np() 972 sock_in.sin_port = sock_in6.sin6_port; in iscsit_accept_np() 973 memcpy(&sock_in.sin_addr, &sock_in6.sin6_addr.s6_addr32[3], 4); in iscsit_accept_np() 979 (struct sockaddr *)&sock_in6, 0); in iscsit_accept_np() 981 if (!ipv6_addr_v4mapped(&sock_in6.sin6_addr)) { in iscsit_accept_np() 982 memcpy(&conn->local_sockaddr, &sock_in6, sizeof(sock_in6)); in iscsit_accept_np() [all …]
|
D | iscsi_target.c | 270 struct sockaddr_in6 *sock_in6, *sock_in6_e; in iscsit_check_np_match() local 275 sock_in6 = (struct sockaddr_in6 *)sockaddr; in iscsit_check_np_match() 278 if (!memcmp(&sock_in6->sin6_addr.in6_u, in iscsit_check_np_match() 283 port = ntohs(sock_in6->sin6_port); in iscsit_check_np_match()
|
/Linux-v5.10/drivers/target/iscsi/cxgbit/ |
D | cxgbit_main.c | 545 struct sockaddr_in6 *sock_in6; in cxgbit_update_dcb_priority() local 547 sock_in6 = (struct sockaddr_in6 *)&csk->com.local_addr; in cxgbit_update_dcb_priority() 548 local_port = ntohs(sock_in6->sin6_port); in cxgbit_update_dcb_priority()
|