Lines Matching refs:srcaddr
2031 (struct sockaddr *)&vol->srcaddr, in cifs_parse_mount_options()
2251 srcip_matches(struct sockaddr *srcaddr, struct sockaddr *rhs) in srcip_matches() argument
2253 switch (srcaddr->sa_family) { in srcip_matches()
2257 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in srcip_matches()
2262 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in srcip_matches()
2309 struct sockaddr *srcaddr) in match_address() argument
2338 if (!srcip_matches(srcaddr, (struct sockaddr *)&server->srcaddr)) in match_address()
2382 (struct sockaddr *)&vol->srcaddr)) in match_server()
2515 memcpy(&tcp_ses->srcaddr, &volume_info->srcaddr, in cifs_get_tcp_session()
2516 sizeof(tcp_ses->srcaddr)); in cifs_get_tcp_session()
3474 if (server->srcaddr.ss_family != AF_UNSPEC) { in bind_socket()
3478 (struct sockaddr *) &server->srcaddr, in bind_socket()
3479 sizeof(server->srcaddr)); in bind_socket()
3483 saddr4 = (struct sockaddr_in *)&server->srcaddr; in bind_socket()
3484 saddr6 = (struct sockaddr_in6 *)&server->srcaddr; in bind_socket()