Searched refs:sock_in (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/target/iscsi/ |
D | iscsi_target_login.c | 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() [all …]
|
D | iscsi_target.c | 270 struct sockaddr_in *sock_in, *sock_in_e; in iscsit_check_np_match() local 287 sock_in = (struct sockaddr_in *)sockaddr; in iscsit_check_np_match() 290 if (sock_in->sin_addr.s_addr == sock_in_e->sin_addr.s_addr) in iscsit_check_np_match() 293 port = ntohs(sock_in->sin_port); in iscsit_check_np_match()
|
/linux-6.6.21/drivers/target/iscsi/cxgbit/ |
D | cxgbit_main.c | 557 struct sockaddr_in *sock_in; in cxgbit_update_dcb_priority() local 559 sock_in = (struct sockaddr_in *)&csk->com.local_addr; in cxgbit_update_dcb_priority() 560 local_port = ntohs(sock_in->sin_port); in cxgbit_update_dcb_priority()
|