Home
last modified time | relevance | path

Searched refs:srcaddr (Results 1 – 6 of 6) sorted by relevance

/fs/cifs/
Dcifsfs.c519 struct sockaddr *srcaddr; in cifs_show_options() local
520 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()
Dconnect.c1145 cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs) in cifs_match_ipaddr() argument
1147 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() argument
1236 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 …]
Dfs_context.h253 struct sockaddr_storage srcaddr; /* allow binding to a local IP */ member
Dcifsproto.h92 extern bool cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs);
Dcifsglob.h589 struct sockaddr_storage srcaddr; /* locally bind to this IP */ member
Dfs_context.c1199 (struct sockaddr *)&ctx->srcaddr, in smb3_fs_context_parse_param()