Home
last modified time | relevance | path

Searched refs:scope_id (Results 1 – 12 of 12) sorted by relevance

/linux/net/rds/
A Dbind.c57 __be16 port, __u32 scope_id) in __rds_create_bind_key() argument
63 memcpy(key, &scope_id, sizeof(scope_id)); in __rds_create_bind_key()
73 __u32 scope_id) in rds_find_bound() argument
95 __be16 *port, __u32 scope_id) in rds_add_bound() argument
118 scope_id); in rds_add_bound()
132 rs->rs_bound_scope_id = scope_id; in rds_add_bound()
169 __u32 scope_id = 0; in rds_bind() local
216 scope_id = sin6->sin6_scope_id; in rds_bind()
237 scope_id != rs->rs_bound_scope_id) { in rds_bind()
249 binding_addr, scope_id) != 0) { in rds_bind()
[all …]
A Dib.c407 __u32 scope_id) in rds_ib_laddr_check() argument
437 sin6.sin6_scope_id = scope_id; in rds_ib_laddr_check()
448 if (scope_id == 0) { in rds_ib_laddr_check()
456 dev = dev_get_by_index(&init_net, scope_id); in rds_ib_laddr_check()
483 addr, scope_id, ret, in rds_ib_laddr_check()
A Dtransport.c87 __u32 scope_id) in rds_trans_get_preferred() argument
104 if (trans && (trans->laddr_check(net, addr, scope_id) == 0) && in rds_trans_get_preferred()
A Dsend.c1116 __u32 scope_id = 0; in rds_sendmsg() local
1188 scope_id = sin6->sin6_scope_id; in rds_sendmsg()
1206 scope_id = rs->rs_bound_scope_id; in rds_sendmsg()
1230 if (scope_id != rs->rs_bound_scope_id) { in rds_sendmsg()
1231 if (!scope_id) { in rds_sendmsg()
1232 scope_id = rs->rs_bound_scope_id; in rds_sendmsg()
1300 scope_id); in rds_sendmsg()
A Dtcp.c317 __u32 scope_id) in rds_tcp_laddr_check() argument
333 if (scope_id != 0) { in rds_tcp_laddr_check()
335 dev = dev_get_by_index_rcu(net, scope_id); in rds_tcp_laddr_check()
A Dtcp.h63 __u32 scope_id);
A Drds.h544 __u32 scope_id);
741 __u32 scope_id);
1011 __u32 scope_id);
/linux/net/core/
A Dutils.c337 char scope_id[16]; in inet6_pton() local
338 size_t scope_len = min_t(size_t, sizeof(scope_id) - 1, in inet6_pton()
341 memcpy(scope_id, scope_delim + 1, scope_len); in inet6_pton()
342 scope_id[scope_len] = '\0'; in inet6_pton()
344 dev = dev_get_by_name(net, scope_id); in inet6_pton()
348 } else if (kstrtouint(scope_id, 0, &addr6->sin6_scope_id)) { in inet6_pton()
/linux/net/sunrpc/
A Daddr.c167 u32 scope_id = 0; in rpc_parse_scope_id() local
188 scope_id = dev->ifindex; in rpc_parse_scope_id()
191 if (kstrtou32(p, 10, &scope_id) != 0) in rpc_parse_scope_id()
195 sin6->sin6_scope_id = scope_id; in rpc_parse_scope_id()
/linux/net/tipc/
A Dudp_media.c583 u32 *scope_id) in tipc_parse_udp_addr() argument
605 if (scope_id) { in tipc_parse_udp_addr()
614 *scope_id = ip6->sin6_scope_id ? : 0; in tipc_parse_udp_addr()
/linux/fs/cifs/
A Dnetmisc.c155 char scope_id[13]; in cifs_convert_address() local
179 memcpy(scope_id, pct + 1, slen); in cifs_convert_address()
180 scope_id[slen] = '\0'; in cifs_convert_address()
182 rc = kstrtouint(scope_id, 0, &s6->sin6_scope_id); in cifs_convert_address()
/linux/tools/testing/selftests/net/
A Dnettest.c70 int scope_id; /* remote scope; v6 send only */ member
787 args->scope_id = get_ifidx(dev); in convert_addr()
788 if (args->scope_id < 0) { in convert_addr()
1713 sin6.sin6_scope_id = args->scope_id; in do_client()

Completed in 25 milliseconds