Home
last modified time | relevance | path

Searched refs:sin6_scope_id (Results 1 – 25 of 49) sorted by relevance

12

/Linux-v5.10/include/linux/sunrpc/
Daddr.h80 return sin1->sin6_scope_id == sin2->sin6_scope_id; in rpc_cmp_addr6()
93 dsin6->sin6_scope_id = ssin6->sin6_scope_id; in __rpc_copy_addr6()
181 return ((struct sockaddr_in6 *) sa)->sin6_scope_id; in rpc_get_scope_id()
/Linux-v5.10/net/sctp/
Dipv6.c89 addr->a.v6.sin6_scope_id = ifa->idev->dev->ifindex; in sctp_inet6addr_event()
247 fl6->flowi6_oif = daddr->v6.sin6_scope_id; in sctp_v6_get_dst()
430 addr->a.v6.sin6_scope_id = dev->ifindex; in sctp_v6_copy_addrlist()
486 addr->v6.sin6_scope_id = ((struct inet6_skb_parm *)skb->cb)->iif; in sctp_v6_from_skb()
541 addr->v6.sin6_scope_id = iif; in sctp_v6_from_addr_param()
567 addr->v6.sin6_scope_id = 0; in sctp_v6_to_addr()
596 addr1->v6.sin6_scope_id && addr2->v6.sin6_scope_id && in __sctp_v6_cmp_addr()
597 addr1->v6.sin6_scope_id != addr2->v6.sin6_scope_id) in __sctp_v6_cmp_addr()
827 addr->v6.sin6_scope_id = paddr->v6.sin6_scope_id; in sctp_inet6_event_msgname()
829 addr->v6.sin6_scope_id = 0; in sctp_inet6_event_msgname()
[all …]
/Linux-v5.10/tools/perf/trace/beauty/
Dsockaddr.c30 if (sin6->sin6_scope_id != 0) in af_inet6__scnprintf()
31 printed += scnprintf(bf + printed, size - printed, ", scope_id: %lu", sin6->sin6_scope_id); in af_inet6__scnprintf()
/Linux-v5.10/net/ipv6/
Ddatagram.c216 usin->sin6_scope_id) { in __ip6_datagram_connect()
217 if (!sk_dev_equal_l3scope(sk, usin->sin6_scope_id)) { in __ip6_datagram_connect()
221 sk->sk_bound_dev_if = usin->sin6_scope_id; in __ip6_datagram_connect()
403 mtu_info->ip6m_addr.sin6_scope_id = fl6->flowi6_oif; in ipv6_local_rxpmtu()
491 sin->sin6_scope_id = in ipv6_recv_error()
497 sin->sin6_scope_id = 0; in ipv6_recv_error()
514 sin->sin6_scope_id = in ipv6_recv_error()
573 sin->sin6_scope_id = mtu_info.ip6m_addr.sin6_scope_id; in ipv6_recv_rxpmtu()
731 sin6.sin6_scope_id = in ip6_datagram_recv_specific_ctl()
Draw.c276 addr->sin6_scope_id) { in rawv6_bind()
280 sk->sk_bound_dev_if = addr->sin6_scope_id; in rawv6_bind()
510 sin6->sin6_scope_id = ipv6_iface_scope_id(&sin6->sin6_addr, in rawv6_recvmsg()
852 sin6->sin6_scope_id && in rawv6_sendmsg()
854 fl6.flowi6_oif = sin6->sin6_scope_id; in rawv6_sendmsg()
Daf_inet6.c353 addr->sin6_scope_id) { in __inet6_bind()
357 sk->sk_bound_dev_if = addr->sin6_scope_id; in __inet6_bind()
519 sin->sin6_scope_id = 0; in inet6_getname()
542 sin->sin6_scope_id = ipv6_iface_scope_id(&sin->sin6_addr, in inet6_getname()
Dinet6_connection_sock.c68 sin6->sin6_scope_id = ipv6_iface_scope_id(&sin6->sin6_addr, in inet6_csk_addr2sockaddr()
Dping.c78 oif = u->sin6_scope_id; in ping_v6_sendmsg()
Dudp.c404 sin6->sin6_scope_id = 0; in udpv6_recvmsg()
407 sin6->sin6_scope_id = in udpv6_recvmsg()
1403 sin6->sin6_scope_id && in udpv6_sendmsg()
1405 fl6.flowi6_oif = sin6->sin6_scope_id; in udpv6_sendmsg()
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c40 dst->sin6_scope_id = if_nametoindex(iface); in mk_dst_addr()
41 if (!dst->sin6_scope_id) { in mk_dst_addr()
/Linux-v5.10/net/sunrpc/
Daddr.c80 if (sin6->sin6_scope_id == 0) in rpc_ntop6()
84 IPV6_SCOPE_DELIMITER, sin6->sin6_scope_id); in rpc_ntop6()
196 sin6->sin6_scope_id = scope_id; in rpc_parse_scope_id()
/Linux-v5.10/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.c123 __be16 peer_port, u8 tos, __u32 sin6_scope_id) in cxgb_find_route6() argument
134 fl6.flowi6_oif = sin6_scope_id; in cxgb_find_route6()
/Linux-v5.10/net/rds/
Dtcp_connect.c133 sin6.sin6_scope_id = conn->c_dev_if; in rds_tcp_conn_path_connect()
156 sin6.sin6_scope_id = conn->c_dev_if; in rds_tcp_conn_path_connect()
Dbind.c214 if (sin6->sin6_scope_id == 0) in rds_bind()
216 scope_id = sin6->sin6_scope_id; in rds_bind()
Daf_rds.c141 sin6->sin6_scope_id = rs->rs_bound_scope_id; in rds_getname()
187 sin6->sin6_scope_id = rs->rs_bound_scope_id; in rds_getname()
604 if (sin6->sin6_scope_id == 0 || in rds_connect()
607 sin6->sin6_scope_id != rs->rs_bound_scope_id)) { in rds_connect()
615 rs->rs_bound_scope_id = sin6->sin6_scope_id; in rds_connect()
Drdma_transport.c265 sin6.sin6_scope_id = 0; in rds_rdma_listen_init()
Dtcp_listen.c287 sin6->sin6_scope_id = 0; in rds_tcp_listen_init()
Dib.c447 sin6.sin6_scope_id = scope_id; in rds_ib_laddr_check()
/Linux-v5.10/drivers/net/wireguard/
Dsocket.c106 .flowi6_oif = endpoint->addr6.sin6_scope_id, in send6()
248 endpoint->addr6.sin6_scope_id = ipv6_iface_scope_id( in wg_socket_endpoint_from_skb()
267 a->addr6.sin6_scope_id == b->addr6.sin6_scope_id && in endpoint_eq()
/Linux-v5.10/include/uapi/linux/
Din6.h55 __u32 sin6_scope_id; /* scope id (new in RFC2553) */ member
/Linux-v5.10/net/core/
Dutils.c346 addr6->sin6_scope_id = dev->ifindex; in inet6_pton()
348 } else if (kstrtouint(scope_id, 0, &addr6->sin6_scope_id)) { in inet6_pton()
/Linux-v5.10/net/ipv4/
Dping.c344 (scoped && !addr->sin6_scope_id)) in ping_check_bind_addr()
348 if (addr->sin6_scope_id) { in ping_check_bind_addr()
349 dev = dev_get_by_index_rcu(net, addr->sin6_scope_id); in ping_check_bind_addr()
364 sk->sk_bound_dev_if = addr->sin6_scope_id; in ping_check_bind_addr()
904 sin6->sin6_scope_id = in ping_recvmsg()
/Linux-v5.10/net/dccp/
Dipv6.c852 usin->sin6_scope_id) { in dccp_v6_connect()
857 sk->sk_bound_dev_if != usin->sin6_scope_id) in dccp_v6_connect()
860 sk->sk_bound_dev_if = usin->sin6_scope_id; in dccp_v6_connect()
/Linux-v5.10/net/tipc/
Dudp_media.c602 !ip6->sin6_scope_id) { in tipc_parse_udp_addr()
606 *scope_id = ip6->sin6_scope_id ? : 0; in tipc_parse_udp_addr()
/Linux-v5.10/fs/nfs/
Dpnfs_nfs.c606 a6->sin6_scope_id != b6->sin6_scope_id) in same_sockaddr()

12