Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/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.c201 return sizeof(struct sockaddr_in6); in rdma_addr_size()
210 int rdma_addr_size_in6(struct sockaddr_in6 *addr) in rdma_addr_size_in6()
263 &((const struct sockaddr_in6 *)src_in)->sin6_addr, in rdma_find_ndev_for_src_ip_rcu()
368 const struct sockaddr_in6 *dst_in6 = in fetch_ha()
369 (const struct sockaddr_in6 *)dst_in; in fetch_ha()
422 struct sockaddr_in6 *src_in = (struct sockaddr_in6 *)src_sock; in addr6_resolve()
423 const struct sockaddr_in6 *dst_in = in addr6_resolve()
424 (const struct sockaddr_in6 *)dst_sock; in addr6_resolve()
727 struct sockaddr_in6 _sockaddr_in6; in roce_resolve_route_from_path()
822 struct sockaddr_in6 _sockaddr_in6; in rdma_addr_find_l2_eth_by_grh()
Diwpm_util.c423 struct sockaddr_in6 *a6_sockaddr = in iwpm_compare_sockaddr()
424 (struct sockaddr_in6 *)a_sockaddr; in iwpm_compare_sockaddr()
425 struct sockaddr_in6 *b6_sockaddr = in iwpm_compare_sockaddr()
426 (struct sockaddr_in6 *)b_sockaddr; in iwpm_compare_sockaddr()
491 struct sockaddr_in6 *sockaddr_v6; in iwpm_print_sockaddr()
503 sockaddr_v6 = (struct sockaddr_in6 *)sockaddr; in iwpm_print_sockaddr()
514 static u32 iwpm_ipv6_jhash(struct sockaddr_in6 *ipv6_sockaddr) in iwpm_ipv6_jhash()
538 a_hash = iwpm_ipv6_jhash((struct sockaddr_in6 *) a_sockaddr); in get_hash_bucket()
539 b_hash = iwpm_ipv6_jhash((struct sockaddr_in6 *) b_sockaddr); in get_hash_bucket()
/linux-6.1.9/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.h176 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)sa; in svc_addr_port()
194 return sizeof(struct sockaddr_in6); in svc_addr_len()
213 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)addr; in __svc_print_addr()
/linux-6.1.9/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()
202 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in rpc_pton6()
207 salen < sizeof(struct sockaddr_in6)) in rpc_pton6()
210 memset(sap, 0, sizeof(struct sockaddr_in6)); in rpc_pton6()
219 return sizeof(struct sockaddr_in6); in rpc_pton6()
280 port = ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_sockaddr2uaddr()
348 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_uaddr2sockaddr()
349 return sizeof(struct sockaddr_in6); in rpc_uaddr2sockaddr()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/include/trace/events/
Dtcp.h246 __array(__u8, saddr, sizeof(struct sockaddr_in6))
247 __array(__u8, daddr, sizeof(struct sockaddr_in6))
268 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6));
269 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6));
320 struct sockaddr_in6 *v6 = (void *)__entry->saddr; \
351 __array(__u8, saddr, sizeof(struct sockaddr_in6))
352 __array(__u8, daddr, sizeof(struct sockaddr_in6))
358 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6));
359 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6));
/linux-6.1.9/fs/cifs/
Dcifs_swn.c424 return (memcmp(&((const struct sockaddr_in6 *)addr1)->sin6_addr, in cifs_sockaddr_equal()
425 &((const struct sockaddr_in6 *)addr2)->sin6_addr, in cifs_sockaddr_equal()
443 struct sockaddr_in6 *ipv6 = (struct sockaddr_in6 *)old; in cifs_swn_store_swn_addr()
453 struct sockaddr_in6 *ipv6 = (struct sockaddr_in6 *)new; in cifs_swn_store_swn_addr()
512 struct sockaddr_in6 *ipv6 = (struct sockaddr_in6 *)addr; in cifs_swn_client_move()
630 struct sockaddr_in6 *sa6; in cifs_swn_dump()
647 sa6 = (struct sockaddr_in6 *) &swnreg->tcon->ses->server->dstaddr; in cifs_swn_dump()
/linux-6.1.9/tools/testing/selftests/net/
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()
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()
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.c103 struct sockaddr_in6 v6;
229 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; in log_address()
308 struct sockaddr_in6 sin6 = { in tcp_md5_remote()
648 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; in expected_addr_match()
672 struct sockaddr_in6 local_addr, remote_addr; in show_sockstat()
1006 unsigned char addr[sizeof(struct sockaddr_in6)]; in socket_read_dgram()
1057 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; in socket_read_dgram()
1079 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; in socket_read_dgram()
1359 struct sockaddr_in6 serv6_addr = { in bind_socket()
1504 unsigned char addr[sizeof(struct sockaddr_in6)] = {}; in do_server()
[all …]
/linux-6.1.9/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()
664 struct sockaddr_in6 *laddr6; in qedr_iw_create_listen()
[all …]
/linux-6.1.9/include/rdma/
Dib_addr.h84 int rdma_addr_size_in6(struct sockaddr_in6 *addr);
124 ((struct sockaddr_in6 *)addr)->sin6_addr; in rdma_ip2gid()
141 struct sockaddr_in6 *out_in = (struct sockaddr_in6 *)out; in rdma_gid2ip()
/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/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 …]
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dsocket_cookie.c19 socklen_t addr_len = sizeof(struct sockaddr_in6); in test_socket_cookie()
22 struct sockaddr_in6 addr; in test_socket_cookie()
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()
Dbind_perm.c25 struct sockaddr_in6 *sin6; in try_bind()
38 sin6 = (struct sockaddr_in6 *)&addr; in try_bind()
/linux-6.1.9/tools/perf/trace/beauty/
Dsockaddr.c23 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa; in af_inet6__scnprintf()

123456789