Home
last modified time | relevance | path

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

/Linux-v6.1/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()
1300 scope_id); in rds_sendmsg()
Dtcp.h63 __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);
1011 __u32 scope_id);
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/fs/cifs/
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-v6.1/tools/testing/selftests/net/
Dnettest.c70 int scope_id; /* remote scope; v6 send only */ member
814 args->scope_id = get_ifidx(dev); in convert_addr()
815 if (args->scope_id < 0) { in convert_addr()
1748 sin6.sin6_scope_id = args->scope_id; in do_client()