Searched refs:scope_id (Results 1 – 12 of 12) sorted by relevance
/linux/net/rds/ |
A D | bind.c | 57 __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 D | ib.c | 407 __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 D | transport.c | 87 __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 D | send.c | 1116 __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 D | tcp.c | 317 __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 D | tcp.h | 63 __u32 scope_id);
|
A D | rds.h | 544 __u32 scope_id); 741 __u32 scope_id); 1011 __u32 scope_id);
|
/linux/net/core/ |
A D | utils.c | 337 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 D | addr.c | 167 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 D | udp_media.c | 583 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 D | netmisc.c | 155 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 D | nettest.c | 70 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