Searched refs:srcaddr (Results 1 – 6 of 6) sorted by relevance
519 struct sockaddr *srcaddr; in cifs_show_options() local520 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; in cifs_show_options()536 if (srcaddr->sa_family != AF_UNSPEC) { in cifs_show_options()539 saddr4 = (struct sockaddr_in *)srcaddr; in cifs_show_options()540 saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_show_options()541 if (srcaddr->sa_family == AF_INET6) in cifs_show_options()544 else if (srcaddr->sa_family == AF_INET) in cifs_show_options()549 (int)(srcaddr->sa_family)); in cifs_show_options()
1145 cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs) in cifs_match_ipaddr() argument1147 switch (srcaddr->sa_family) { in cifs_match_ipaddr()1151 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in cifs_match_ipaddr()1156 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_match_ipaddr()1207 struct sockaddr *srcaddr) in match_address() argument1236 if (!cifs_match_ipaddr(srcaddr, (struct sockaddr *)&server->srcaddr)) in match_address()1294 (struct sockaddr *)&ctx->srcaddr)) in match_server()1466 memcpy(&tcp_ses->srcaddr, &ctx->srcaddr, in cifs_get_tcp_session()1467 sizeof(tcp_ses->srcaddr)); in cifs_get_tcp_session()2562 if (server->srcaddr.ss_family != AF_UNSPEC) { in bind_socket()[all …]
253 struct sockaddr_storage srcaddr; /* allow binding to a local IP */ member
92 extern bool cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs);
589 struct sockaddr_storage srcaddr; /* locally bind to this IP */ member
1199 (struct sockaddr *)&ctx->srcaddr, in smb3_fs_context_parse_param()