/linux/include/linux/sunrpc/ |
H A D | addr.h | 29 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()
|
H A D | svc_xprt.h | 187 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)sa; in svc_addr_port() 205 return sizeof(struct sockaddr_in6); in svc_addr_len() 224 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)addr; in __svc_print_addr()
|
/linux/net/sunrpc/ |
H A D | addr.c | 31 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/include/trace/events/ |
H A D | tcp.h | 104 __array(__u8, saddr, sizeof(struct sockaddr_in6)) 105 __array(__u8, daddr, sizeof(struct sockaddr_in6)) 114 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); 115 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6)); 272 __array(__u8, saddr, sizeof(struct sockaddr_in6)) 273 __array(__u8, daddr, sizeof(struct sockaddr_in6)) 296 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); 297 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6)); 341 __array(__u8, saddr, sizeof(struct sockaddr_in6)) 342 __array(__u8, daddr, sizeof(struct sockaddr_in6)) [all …]
|
H A D | udp.h | 24 __array(__u8, saddr, sizeof(struct sockaddr_in6)) 25 __array(__u8, daddr, sizeof(struct sockaddr_in6)) 38 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); 39 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6));
|
H A D | handshake.h | 197 __array(__u8, saddr, sizeof(struct sockaddr_in6)) 198 __array(__u8, daddr, sizeof(struct sockaddr_in6)) 206 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); 207 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6)); 289 __array(__u8, saddr, sizeof(struct sockaddr_in6)) 290 __array(__u8, daddr, sizeof(struct sockaddr_in6)) 297 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); 298 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6));
|
/linux/include/uapi/rdma/ |
H A D | rdma_user_cm.h | 114 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/include/uapi/linux/ |
H A D | mroute6.h | 89 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;
|
H A D | if_pppol2tp.h | 49 struct sockaddr_in6 addr; /* IP address and port to send to */ 74 struct sockaddr_in6 addr; /* IP address and port to send to */
|
/linux/net/dccp/ |
H A D | trace.h | 22 __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/tools/testing/selftests/net/tcp_ao/ |
H A D | icmps-accept.c | 230 struct sockaddr_in6 *src, struct sockaddr_in6 *dst) in set_ip6hdr() 269 noinline uint16_t icmp6_checksum(struct sockaddr_in6 *src, in icmp6_checksum() 270 struct sockaddr_in6 *dst, in icmp6_checksum() 294 struct sockaddr_in6 *src, struct sockaddr_in6 *dst) in icmp6_interfere() 297 struct sockaddr_in6 dst_raw = *dst; in icmp6_interfere() 366 struct sockaddr_in6 *saddr6 = src; in icmp_interfere() 367 struct sockaddr_in6 *daddr6 = dst; in icmp_interfere() 399 struct sockaddr_in6 sr in send_interfered() [all...] |
H A D | icmps-discard.c | 230 struct sockaddr_in6 *src, struct sockaddr_in6 *dst) in set_ip6hdr() 269 noinline uint16_t icmp6_checksum(struct sockaddr_in6 *src, in icmp6_checksum() 270 struct sockaddr_in6 *dst, in icmp6_checksum() 294 struct sockaddr_in6 *src, struct sockaddr_in6 *dst) in icmp6_interfere() 297 struct sockaddr_in6 dst_raw = *dst; in icmp6_interfere() 366 struct sockaddr_in6 *saddr6 = src; in icmp_interfere() 367 struct sockaddr_in6 *daddr6 = dst; in icmp_interfere() 399 struct sockaddr_in6 src, dst; in send_interfered()
|
/linux/fs/smb/client/ |
H A D | cifs_swn.c | 424 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/drivers/infiniband/core/ |
H A D | addr.c | 201 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() 362 const struct sockaddr_in6 *dst_in6 = in fetch_ha() 363 (const struct sockaddr_in6 *)dst_in; in fetch_ha() 416 struct sockaddr_in6 *src_in = (struct sockaddr_in6 *)src_sock; in addr6_resolve() 417 const struct sockaddr_in6 *dst_in = in addr6_resolve() 418 (const struct sockaddr_in6 *)dst_sock; in addr6_resolve() 721 struct sockaddr_in6 _sockaddr_in6; in roce_resolve_route_from_path() 816 struct sockaddr_in6 _sockaddr_in6; in rdma_addr_find_l2_eth_by_grh()
|
H A D | iwpm_util.c | 423 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/tools/testing/selftests/net/ |
H A D | reuseport_bpf_cpu.c | 38 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()
|
H A D | reuseport_bpf_numa.c | 34 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()
|
H A D | tcp_inq.c | 33 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()
|
/linux/drivers/infiniband/hw/qedr/ |
H A D | qedr_iw_cm.c | 63 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() 478 struct sockaddr_in6 *src_in, in qedr_addr6_resolve() 479 struct sockaddr_in6 *dst_in, u8 *dst_mac) in qedr_addr6_resolve() 538 struct sockaddr_in6 *laddr6; in qedr_iw_connect() 539 struct sockaddr_in6 *raddr6; in qedr_iw_connect() 549 laddr6 = (struct sockaddr_in6 *)&cm_id->m_local_addr; in qedr_iw_connect() 550 raddr6 = (struct sockaddr_in6 *)&cm_id->m_remote_addr; in qedr_iw_connect() 665 struct sockaddr_in6 *laddr6; in qedr_iw_create_listen() [all …]
|
/linux/include/rdma/ |
H A D | ib_addr.h | 84 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/drivers/infiniband/hw/mlx5/ |
H A D | macsec.c | 17 struct sockaddr_in6 sockaddr_in6; member 93 memcpy(&roce_gids->addr.sockaddr_in6, addr, sizeof(roce_gids->addr.sockaddr_in6)); in mlx5_macsec_save_roce_gid() 228 struct sockaddr_in6 sockaddr_in6; in mlx5r_add_gid_macsec_operations() member
|
/linux/net/rds/ |
H A D | af_rds.c | 118 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/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_assign.c | 90 port = ((struct sockaddr_in6 *)&ss)->sin6_port; in get_port() 173 struct sockaddr_in6 *addr6; in prepare_addr() 187 addr6 = (struct sockaddr_in6 *)addr; in prepare_addr() 223 struct sockaddr_in6 addr6; in test_sk_assign()
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | device.c | 203 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/net/core/ |
H A D | utils.c | 323 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()
|