/linux-6.1.9/include/linux/sunrpc/ |
D | addr.h | 80 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-6.1.9/net/sctp/ |
D | ipv6.c | 90 addr->a.v6.sin6_scope_id = ifa->idev->dev->ifindex; in sctp_inet6addr_event() 105 addr->a.v6.sin6_scope_id == ifa->idev->dev->ifindex) { in sctp_inet6addr_event() 295 fl6->flowi6_oif = daddr->v6.sin6_scope_id; in sctp_v6_get_dst() 478 addr->a.v6.sin6_scope_id = dev->ifindex; in sctp_v6_copy_addrlist() 534 addr->v6.sin6_scope_id = ((struct inet6_skb_parm *)skb->cb)->iif; in sctp_v6_from_skb() 592 addr->v6.sin6_scope_id = iif; in sctp_v6_from_addr_param() 620 addr->v6.sin6_scope_id = 0; in sctp_v6_to_addr() 649 addr1->v6.sin6_scope_id && addr2->v6.sin6_scope_id && in __sctp_v6_cmp_addr() 650 addr1->v6.sin6_scope_id != addr2->v6.sin6_scope_id) in __sctp_v6_cmp_addr() 880 addr->v6.sin6_scope_id = paddr->v6.sin6_scope_id; in sctp_inet6_event_msgname() [all …]
|
/linux-6.1.9/tools/perf/trace/beauty/ |
D | sockaddr.c | 30 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-6.1.9/net/ipv6/ |
D | datagram.c | 221 usin->sin6_scope_id) { in __ip6_datagram_connect() 222 if (!sk_dev_equal_l3scope(sk, usin->sin6_scope_id)) { in __ip6_datagram_connect() 226 WRITE_ONCE(sk->sk_bound_dev_if, usin->sin6_scope_id); in __ip6_datagram_connect() 408 mtu_info->ip6m_addr.sin6_scope_id = fl6->flowi6_oif; in ipv6_local_rxpmtu() 496 sin->sin6_scope_id = in ipv6_recv_error() 502 sin->sin6_scope_id = 0; in ipv6_recv_error() 519 sin->sin6_scope_id = in ipv6_recv_error() 578 sin->sin6_scope_id = mtu_info.ip6m_addr.sin6_scope_id; in ipv6_recv_rxpmtu() 736 sin6.sin6_scope_id = in ip6_datagram_recv_specific_ctl()
|
D | raw.c | 247 addr->sin6_scope_id) { in rawv6_bind() 251 sk->sk_bound_dev_if = addr->sin6_scope_id; in rawv6_bind() 476 sin6->sin6_scope_id = ipv6_iface_scope_id(&sin6->sin6_addr, in rawv6_recvmsg() 822 sin6->sin6_scope_id && in rawv6_sendmsg() 824 fl6.flowi6_oif = sin6->sin6_scope_id; in rawv6_sendmsg()
|
D | inet6_connection_sock.c | 68 sin6->sin6_scope_id = ipv6_iface_scope_id(&sin6->sin6_addr, in inet6_csk_addr2sockaddr()
|
D | af_inet6.c | 359 addr->sin6_scope_id) { in __inet6_bind() 363 sk->sk_bound_dev_if = addr->sin6_scope_id; in __inet6_bind() 538 sin->sin6_scope_id = 0; in inet6_getname() 562 sin->sin6_scope_id = ipv6_iface_scope_id(&sin->sin6_addr, in inet6_getname()
|
D | ping.c | 100 oif = u->sin6_scope_id; in ping_v6_sendmsg()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_skb_cgroup_id_user.c | 39 dst->sin6_scope_id = if_nametoindex(iface); in mk_dst_addr() 40 if (!dst->sin6_scope_id) { in mk_dst_addr()
|
/linux-6.1.9/net/sunrpc/ |
D | addr.c | 80 if (sin6->sin6_scope_id == 0) in rpc_ntop6() 84 IPV6_SCOPE_DELIMITER, sin6->sin6_scope_id); in rpc_ntop6() 195 sin6->sin6_scope_id = scope_id; in rpc_parse_scope_id()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_cm.c | 124 __be16 peer_port, u8 tos, __u32 sin6_scope_id) in cxgb_find_route6() argument 135 fl6.flowi6_oif = sin6_scope_id; in cxgb_find_route6()
|
/linux-6.1.9/net/rds/ |
D | tcp_connect.c | 137 sin6.sin6_scope_id = conn->c_dev_if; in rds_tcp_conn_path_connect() 160 sin6.sin6_scope_id = conn->c_dev_if; in rds_tcp_conn_path_connect()
|
D | bind.c | 214 if (sin6->sin6_scope_id == 0) in rds_bind() 216 scope_id = sin6->sin6_scope_id; in rds_bind()
|
D | af_rds.c | 141 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()
|
D | rdma_transport.c | 266 sin6.sin6_scope_id = 0; in rds_rdma_listen_init()
|
D | tcp_listen.c | 296 sin6->sin6_scope_id = 0; in rds_tcp_listen_init()
|
/linux-6.1.9/drivers/net/wireguard/ |
D | socket.c | 106 .flowi6_oif = endpoint->addr6.sin6_scope_id, in send6() 249 endpoint->addr6.sin6_scope_id = ipv6_iface_scope_id( in wg_socket_endpoint_from_skb() 268 a->addr6.sin6_scope_id == b->addr6.sin6_scope_id && in endpoint_eq()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | sk_connect_zero_addr.c | 16 .sin6_scope_id = 0, in main()
|
D | sk_bind_sendto_listen.c | 16 .sin6_scope_id = 0, in main()
|
/linux-6.1.9/include/uapi/linux/ |
D | in6.h | 55 __u32 sin6_scope_id; /* scope id (new in RFC2553) */ member
|
/linux-6.1.9/net/core/ |
D | utils.c | 346 addr6->sin6_scope_id = dev->ifindex; in inet6_pton() 348 } else if (kstrtouint(scope_id, 0, &addr6->sin6_scope_id)) { in inet6_pton()
|
/linux-6.1.9/net/ipv4/ |
D | ping.c | 369 (scoped && !addr->sin6_scope_id)) in ping_check_bind_addr() 373 if (addr->sin6_scope_id) { in ping_check_bind_addr() 374 dev = dev_get_by_index_rcu(net, addr->sin6_scope_id); in ping_check_bind_addr() 397 sk->sk_bound_dev_if = addr->sin6_scope_id; in ping_check_bind_addr() 928 sin6->sin6_scope_id = in ping_recvmsg()
|
/linux-6.1.9/fs/cifs/ |
D | cifs_swn.c | 649 if (sa6->sin6_scope_id) in cifs_swn_dump() 650 seq_printf(m, "%%%u", sa6->sin6_scope_id); in cifs_swn_dump()
|
/linux-6.1.9/net/dccp/ |
D | ipv6.c | 867 usin->sin6_scope_id) { in dccp_v6_connect() 872 sk->sk_bound_dev_if != usin->sin6_scope_id) in dccp_v6_connect() 875 sk->sk_bound_dev_if = usin->sin6_scope_id; in dccp_v6_connect()
|
/linux-6.1.9/net/tipc/ |
D | udp_media.c | 610 !ip6->sin6_scope_id) { in tipc_parse_udp_addr() 614 *scope_id = ip6->sin6_scope_id ? : 0; in tipc_parse_udp_addr()
|