Searched refs:srcaddr (Results 1 – 3 of 3) sorted by relevance
397 struct sockaddr *srcaddr; in cifs_show_options() local398 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; in cifs_show_options()412 if (srcaddr->sa_family != AF_UNSPEC) { in cifs_show_options()415 saddr4 = (struct sockaddr_in *)srcaddr; in cifs_show_options()416 saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_show_options()417 if (srcaddr->sa_family == AF_INET6) in cifs_show_options()420 else if (srcaddr->sa_family == AF_INET) in cifs_show_options()425 (int)(srcaddr->sa_family)); in cifs_show_options()
1859 (struct sockaddr *)&vol->srcaddr, in cifs_parse_mount_options()2051 srcip_matches(struct sockaddr *srcaddr, struct sockaddr *rhs) in srcip_matches() argument2053 switch (srcaddr->sa_family) { in srcip_matches()2057 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in srcip_matches()2062 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in srcip_matches()2109 struct sockaddr *srcaddr) in match_address() argument2138 if (!srcip_matches(srcaddr, (struct sockaddr *)&server->srcaddr)) in match_address()2180 (struct sockaddr *)&vol->srcaddr)) in match_server()2310 memcpy(&tcp_ses->srcaddr, &volume_info->srcaddr, in cifs_get_tcp_session()2311 sizeof(tcp_ses->srcaddr)); in cifs_get_tcp_session()[all …]
511 struct sockaddr_storage srcaddr; /* allow binding to a local IP */ member560 struct sockaddr_storage srcaddr; /* locally bind to this IP */ member