Home
last modified time | relevance | path

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

/linux-6.6.21/net/rds/
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
78 __rds_create_bind_key(key, addr, port, scope_id); in rds_find_bound()
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()
235 if (!ipv6_addr_any(&rs->rs_conn_addr) && scope_id && in rds_bind()
[all …]
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()
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()
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()
1299 scope_id); in rds_sendmsg()
Dtcp.h62 __u32 scope_id);
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()
Drds.h544 __u32 scope_id);
741 __u32 scope_id);
1010 __u32 scope_id);
/linux-6.6.21/net/core/
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-6.6.21/net/sunrpc/
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-6.6.21/net/tipc/
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-6.6.21/fs/smb/client/
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-6.6.21/tools/testing/selftests/net/
Dnettest.c70 int scope_id; /* remote scope; v6 send only */ member
859 args->scope_id = get_ifidx(dev); in convert_addr()
860 if (args->scope_id < 0) { in convert_addr()
1816 sin6.sin6_scope_id = args->scope_id; in do_client()