Lines Matching refs:srcaddr
1150 cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs) in cifs_match_ipaddr() argument
1152 switch (srcaddr->sa_family) { in cifs_match_ipaddr()
1156 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in cifs_match_ipaddr()
1161 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_match_ipaddr()
1212 struct sockaddr *srcaddr) in match_address() argument
1241 if (!cifs_match_ipaddr(srcaddr, (struct sockaddr *)&server->srcaddr)) in match_address()
1299 (struct sockaddr *)&ctx->srcaddr)) in match_server()
1484 memcpy(&tcp_ses->srcaddr, &ctx->srcaddr, in cifs_get_tcp_session()
1485 sizeof(tcp_ses->srcaddr)); in cifs_get_tcp_session()
2583 if (server->srcaddr.ss_family != AF_UNSPEC) { in bind_socket()
2587 (struct sockaddr *) &server->srcaddr, in bind_socket()
2588 sizeof(server->srcaddr)); in bind_socket()
2592 saddr4 = (struct sockaddr_in *)&server->srcaddr; in bind_socket()
2593 saddr6 = (struct sockaddr_in6 *)&server->srcaddr; in bind_socket()