Home
last modified time | relevance | path

Searched refs:sock_in (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/target/iscsi/
Discsi_target_login.c983 struct sockaddr_in sock_in; in iscsit_accept_np() local
1004 sock_in.sin_family = AF_INET; in iscsit_accept_np()
1005 sock_in.sin_port = sock_in6.sin6_port; in iscsit_accept_np()
1006 memcpy(&sock_in.sin_addr, &sock_in6.sin6_addr.s6_addr32[3], 4); in iscsit_accept_np()
1007 memcpy(&conn->login_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()
1018 sock_in.sin_family = AF_INET; in iscsit_accept_np()
1019 sock_in.sin_port = sock_in6.sin6_port; in iscsit_accept_np()
1020 memcpy(&sock_in.sin_addr, &sock_in6.sin6_addr.s6_addr32[3], 4); in iscsit_accept_np()
1021 memcpy(&conn->local_sockaddr, &sock_in, sizeof(sock_in)); in iscsit_accept_np()
1025 memset(&sock_in, 0, sizeof(struct sockaddr_in)); in iscsit_accept_np()
[all …]
Discsi_target.c277 struct sockaddr_in *sock_in, *sock_in_e; in iscsit_check_np_match() local
294 sock_in = (struct sockaddr_in *)sockaddr; in iscsit_check_np_match()
297 if (sock_in->sin_addr.s_addr == sock_in_e->sin_addr.s_addr) in iscsit_check_np_match()
300 port = ntohs(sock_in->sin_port); in iscsit_check_np_match()
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_main.c552 struct sockaddr_in *sock_in; in cxgbit_update_dcb_priority() local
554 sock_in = (struct sockaddr_in *)&csk->com.local_addr; in cxgbit_update_dcb_priority()
555 local_port = ntohs(sock_in->sin_port); in cxgbit_update_dcb_priority()