Searched refs:sock_in (Results 1 – 3 of 3) sorted by relevance
/drivers/target/iscsi/ |
D | iscsi_target_login.c | 872 struct sockaddr_in sock_in; in __iscsi_target_login_thread() local 998 memset(&sock_in, 0, sizeof(struct sockaddr_in)); in __iscsi_target_login_thread() 1001 (struct sockaddr *)&sock_in, &err, 1) < 0) { in __iscsi_target_login_thread() 1007 sprintf(conn->login_ip, "%pI4", &sock_in.sin_addr.s_addr); in __iscsi_target_login_thread() 1008 conn->login_port = ntohs(sock_in.sin_port); in __iscsi_target_login_thread() 1011 (struct sockaddr *)&sock_in, &err, 0) < 0) { in __iscsi_target_login_thread() 1017 sprintf(conn->local_ip, "%pI4", &sock_in.sin_addr.s_addr); in __iscsi_target_login_thread() 1018 conn->local_port = ntohs(sock_in.sin_port); in __iscsi_target_login_thread()
|
D | iscsi_target_configfs.c | 169 struct sockaddr_in *sock_in; in lio_target_call_addnptotpg() local 237 sock_in = (struct sockaddr_in *)&sockaddr; in lio_target_call_addnptotpg() 238 sock_in->sin_family = AF_INET; in lio_target_call_addnptotpg() 239 sock_in->sin_port = htons((unsigned short)port); in lio_target_call_addnptotpg() 240 sock_in->sin_addr.s_addr = in_aton(ip_str); in lio_target_call_addnptotpg()
|
D | iscsi_target.c | 269 struct sockaddr_in *sock_in, *sock_in_e; in iscsit_get_np() local 294 sock_in = (struct sockaddr_in *)sockaddr; in iscsit_get_np() 297 if (sock_in->sin_addr.s_addr == in iscsit_get_np() 301 port = ntohs(sock_in->sin_port); in iscsit_get_np() 328 struct sockaddr_in *sock_in; in iscsit_add_np() local 351 sock_in = (struct sockaddr_in *)sockaddr; in iscsit_add_np() 353 np->np_port = ntohs(sock_in->sin_port); in iscsit_add_np() 3161 struct sockaddr_in * sock_in = in iscsit_check_inaddr_any() local 3164 if (sock_in->sin_addr.s_addr == INADDR_ANY) in iscsit_check_inaddr_any()
|