Home
last modified time | relevance | path

Searched refs:sockaddr_in6 (Results 1 – 25 of 189) sorted by relevance

12345678

/Linux-v5.10/drivers/infiniband/core/
Dcma_trace.h31 __array(unsigned char, srcaddr, sizeof(struct sockaddr_in6))
32 __array(unsigned char, dstaddr, sizeof(struct sockaddr_in6))
39 sizeof(struct sockaddr_in6));
41 sizeof(struct sockaddr_in6));
76 __array(unsigned char, srcaddr, sizeof(struct sockaddr_in6))
77 __array(unsigned char, dstaddr, sizeof(struct sockaddr_in6))
84 sizeof(struct sockaddr_in6));
86 sizeof(struct sockaddr_in6));
107 __array(unsigned char, srcaddr, sizeof(struct sockaddr_in6))
108 __array(unsigned char, dstaddr, sizeof(struct sockaddr_in6))
[all …]
Daddr.c200 return sizeof(struct sockaddr_in6); in rdma_addr_size()
209 int rdma_addr_size_in6(struct sockaddr_in6 *addr) in rdma_addr_size_in6()
262 &((const struct sockaddr_in6 *)src_in)->sin6_addr, in rdma_find_ndev_for_src_ip_rcu()
367 const struct sockaddr_in6 *dst_in6 = in fetch_ha()
368 (const struct sockaddr_in6 *)dst_in; in fetch_ha()
421 struct sockaddr_in6 *src_in = (struct sockaddr_in6 *)src_sock; in addr6_resolve()
422 const struct sockaddr_in6 *dst_in = in addr6_resolve()
423 (const struct sockaddr_in6 *)dst_sock; in addr6_resolve()
726 struct sockaddr_in6 _sockaddr_in6; in roce_resolve_route_from_path()
821 struct sockaddr_in6 _sockaddr_in6; in rdma_addr_find_l2_eth_by_grh()
Diwpm_util.c467 struct sockaddr_in6 *a6_sockaddr = in iwpm_compare_sockaddr()
468 (struct sockaddr_in6 *)a_sockaddr; in iwpm_compare_sockaddr()
469 struct sockaddr_in6 *b6_sockaddr = in iwpm_compare_sockaddr()
470 (struct sockaddr_in6 *)b_sockaddr; in iwpm_compare_sockaddr()
535 struct sockaddr_in6 *sockaddr_v6; in iwpm_print_sockaddr()
547 sockaddr_v6 = (struct sockaddr_in6 *)sockaddr; in iwpm_print_sockaddr()
558 static u32 iwpm_ipv6_jhash(struct sockaddr_in6 *ipv6_sockaddr) in iwpm_ipv6_jhash()
582 a_hash = iwpm_ipv6_jhash((struct sockaddr_in6 *) a_sockaddr); in get_hash_bucket()
583 b_hash = iwpm_ipv6_jhash((struct sockaddr_in6 *) b_sockaddr); in get_hash_bucket()
/Linux-v5.10/include/linux/sunrpc/
Daddr.h29 return ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_get_port()
42 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_set_port()
74 const struct sockaddr_in6 *sin1 = (const struct sockaddr_in6 *)sap1; in rpc_cmp_addr6()
75 const struct sockaddr_in6 *sin2 = (const struct sockaddr_in6 *)sap2; in rpc_cmp_addr6()
88 const struct sockaddr_in6 *ssin6 = (const struct sockaddr_in6 *) src; in __rpc_copy_addr6()
89 struct sockaddr_in6 *dsin6 = (struct sockaddr_in6 *) dst; in __rpc_copy_addr6()
181 return ((struct sockaddr_in6 *) sa)->sin6_scope_id; in rpc_get_scope_id()
Dsvc_xprt.h171 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)sa; in svc_addr_port()
189 return sizeof(struct sockaddr_in6); in svc_addr_len()
208 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)addr; in __svc_print_addr()
/Linux-v5.10/net/sunrpc/
Daddr.c31 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_ntop6_noscopeid()
69 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_ntop6()
163 struct sockaddr_in6 *sin6) in rpc_parse_scope_id()
206 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_pton6()
211 salen < sizeof(struct sockaddr_in6)) in rpc_pton6()
214 memset(sap, 0, sizeof(struct sockaddr_in6)); in rpc_pton6()
223 return sizeof(struct sockaddr_in6); in rpc_pton6()
284 port = ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_sockaddr2uaddr()
352 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_uaddr2sockaddr()
353 return sizeof(struct sockaddr_in6); in rpc_uaddr2sockaddr()
/Linux-v5.10/include/uapi/rdma/
Drdma_user_cm.h114 struct sockaddr_in6 addr;
126 struct sockaddr_in6 src_addr;
127 struct sockaddr_in6 dst_addr;
162 struct sockaddr_in6 src_addr;
163 struct sockaddr_in6 dst_addr;
264 struct sockaddr_in6 addr;
/Linux-v5.10/include/uapi/linux/
Dmroute6.h89 struct sockaddr_in6 mf6cc_origin; /* Origin of mcast */
90 struct sockaddr_in6 mf6cc_mcastgrp; /* Group in question */
100 struct sockaddr_in6 src;
101 struct sockaddr_in6 grp;
Dif_pppol2tp.h49 struct sockaddr_in6 addr; /* IP address and port to send to */
74 struct sockaddr_in6 addr; /* IP address and port to send to */
/Linux-v5.10/net/dccp/
Dtrace.h22 __array(__u8, saddr, sizeof(struct sockaddr_in6))
23 __array(__u8, daddr, sizeof(struct sockaddr_in6))
43 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6));
44 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6));
/Linux-v5.10/tools/testing/selftests/net/
Dreuseport_bpf_numa.c34 struct sockaddr_in6 *addr6; in build_rcv_group()
46 addr6 = (struct sockaddr_in6 *)&addr; in build_rcv_group()
111 struct sockaddr_in6 *saddr6, *daddr6; in send_from_node()
127 saddr6 = (struct sockaddr_in6 *)&saddr; in send_from_node()
132 daddr6 = (struct sockaddr_in6 *)&daddr; in send_from_node()
Dreuseport_bpf_cpu.c38 struct sockaddr_in6 *addr6; in build_rcv_group()
50 addr6 = (struct sockaddr_in6 *)&addr; in build_rcv_group()
98 struct sockaddr_in6 *saddr6, *daddr6; in send_from_cpu()
115 saddr6 = (struct sockaddr_in6 *)&saddr; in send_from_cpu()
120 daddr6 = (struct sockaddr_in6 *)&daddr; in send_from_cpu()
Dtcp_inq.c33 static socklen_t addr_len = sizeof(struct sockaddr_in6);
38 struct sockaddr_in6 *addr6 = (void *) sockaddr; in setup_loopback_addr()
116 addr_len = sizeof(struct sockaddr_in6); in main()
Dnettest.c82 struct sockaddr_in6 v6;
196 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; in log_address()
253 struct sockaddr_in6 sin6 = { in tcp_md5_remote()
543 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; in expected_addr_match()
567 struct sockaddr_in6 local_addr, remote_addr; in show_sockstat()
742 unsigned char addr[sizeof(struct sockaddr_in6)]; in socket_read_dgram()
793 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; in socket_read_dgram()
815 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; in socket_read_dgram()
1095 struct sockaddr_in6 serv6_addr = { in bind_socket()
1186 unsigned char addr[sizeof(struct sockaddr_in6)] = {}; in do_server()
[all …]
/Linux-v5.10/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c63 struct sockaddr_in6 *laddr6 = (struct sockaddr_in6 *)&event->local_addr; in qedr_fill_sockaddr6()
64 struct sockaddr_in6 *raddr6 = in qedr_fill_sockaddr6()
65 (struct sockaddr_in6 *)&event->remote_addr; in qedr_fill_sockaddr6()
477 struct sockaddr_in6 *src_in, in qedr_addr6_resolve()
478 struct sockaddr_in6 *dst_in, u8 *dst_mac) in qedr_addr6_resolve()
537 struct sockaddr_in6 *laddr6; in qedr_iw_connect()
538 struct sockaddr_in6 *raddr6; in qedr_iw_connect()
548 laddr6 = (struct sockaddr_in6 *)&cm_id->m_local_addr; in qedr_iw_connect()
549 raddr6 = (struct sockaddr_in6 *)&cm_id->m_remote_addr; in qedr_iw_connect()
662 struct sockaddr_in6 *laddr6; in qedr_iw_create_listen()
[all …]
/Linux-v5.10/include/rdma/
Dib_addr.h83 int rdma_addr_size_in6(struct sockaddr_in6 *addr);
123 ((struct sockaddr_in6 *)addr)->sin6_addr; in rdma_ip2gid()
140 struct sockaddr_in6 *out_in = (struct sockaddr_in6 *)out; in rdma_gid2ip()
/Linux-v5.10/fs/nfsd/
Dtrace.h406 __array(unsigned char, addr, sizeof(struct sockaddr_in6))
414 sizeof(struct sockaddr_in6));
638 __array(unsigned char, addr, sizeof(struct sockaddr_in6))
646 sizeof(struct sockaddr_in6));
686 __array(unsigned char, addr, sizeof(struct sockaddr_in6))
693 sizeof(struct sockaddr_in6));
719 __array(unsigned char, addr, sizeof(struct sockaddr_in6))
726 sizeof(struct sockaddr_in6));
742 __array(unsigned char, addr, sizeof(struct sockaddr_in6))
749 sizeof(struct sockaddr_in6));
[all …]
/Linux-v5.10/net/rds/
Daf_rds.c118 struct sockaddr_in6 *sin6; in rds_getname()
135 sin6 = (struct sockaddr_in6 *)uaddr; in rds_getname()
162 sin6 = (struct sockaddr_in6 *)uaddr; in rds_getname()
182 sin6 = (struct sockaddr_in6 *)uaddr; in rds_getname()
295 struct sockaddr_in6 sin6; in rds_cancel_sent_to()
308 } else if (len < sizeof(struct sockaddr_in6)) { in rds_cancel_sent_to()
319 sizeof(struct sockaddr_in6))) { in rds_cancel_sent_to()
571 struct sockaddr_in6 *sin6; in rds_connect()
574 sin6 = (struct sockaddr_in6 *)uaddr; in rds_connect()
575 if (addr_len < sizeof(struct sockaddr_in6)) { in rds_connect()
Dbind.c191 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)uaddr; in rds_bind()
194 if (addr_len < sizeof(struct sockaddr_in6)) in rds_bind()
/Linux-v5.10/net/core/
Dutils.c323 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *)addr; in inet6_pton()
405 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)addr; in inet_addr_is_any()
406 const struct sockaddr_in6 in6_any = in inet_addr_is_any()
/Linux-v5.10/drivers/infiniband/hw/cxgb4/
Ddevice.c203 static struct sockaddr_in6 zero_sin6 = {
227 struct sockaddr_in6 **lsin6, in set_ep_sin6_addrs()
228 struct sockaddr_in6 **rsin6, in set_ep_sin6_addrs()
229 struct sockaddr_in6 **m_lsin6, in set_ep_sin6_addrs()
230 struct sockaddr_in6 **m_rsin6) in set_ep_sin6_addrs()
234 *m_lsin6 = (struct sockaddr_in6 *)&ep->com.local_addr; in set_ep_sin6_addrs()
235 *m_rsin6 = (struct sockaddr_in6 *)&ep->com.remote_addr; in set_ep_sin6_addrs()
237 *lsin6 = (struct sockaddr_in6 *)&id->local_addr; in set_ep_sin6_addrs()
238 *rsin6 = (struct sockaddr_in6 *)&id->remote_addr; in set_ep_sin6_addrs()
281 struct sockaddr_in6 *lsin6; in dump_qp()
[all …]
Dcm.c396 struct sockaddr_in6 *sin6 = in _c4iw_free_ep()
397 (struct sockaddr_in6 *) in _c4iw_free_ep()
556 struct sockaddr_in6 *sin6 = in act_open_req_arp_failure()
557 (struct sockaddr_in6 *)&ep->com.local_addr; in act_open_req_arp_failure()
731 struct sockaddr_in6 *la6 = (struct sockaddr_in6 *) in send_connect()
733 struct sockaddr_in6 *ra6 = (struct sockaddr_in6 *) in send_connect()
2159 struct sockaddr_in6 *laddr6 = (struct sockaddr_in6 *) in c4iw_reconnect()
2161 struct sockaddr_in6 *raddr6 = (struct sockaddr_in6 *) in c4iw_reconnect()
2274 struct sockaddr_in6 *la6; in act_open_rpl()
2275 struct sockaddr_in6 *ra6; in act_open_rpl()
[all …]
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dsk_assign.c121 port = ((struct sockaddr_in6 *)&ss)->sin6_port; in get_port()
207 struct sockaddr_in6 *addr6; in prepare_addr()
221 addr6 = (struct sockaddr_in6 *)addr; in prepare_addr()
257 struct sockaddr_in6 addr6; in test_sk_assign()
/Linux-v5.10/include/trace/events/
Dtcp.h237 __array(__u8, saddr, sizeof(struct sockaddr_in6))
238 __array(__u8, daddr, sizeof(struct sockaddr_in6))
258 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6));
259 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6));
/Linux-v5.10/tools/perf/trace/beauty/
Dsockaddr.c23 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa; in af_inet6__scnprintf()

12345678