Home
last modified time | relevance | path

Searched refs:sin6_port (Results 1 – 25 of 141) sorted by relevance

123456

/kernel/linux/linux-5.10/include/trace/events/
Dnet_probe_common.h27 v6->sin6_port = inet->inet_sport; \
31 v6->sin6_port = inet->inet_dport; \
/kernel/linux/linux-5.10/net/sctp/
Dipv6.c244 fl6->fl6_dport = daddr->v6.sin6_port; in sctp_v6_get_dst()
270 fl6->fl6_sport = saddr->v6.sin6_port; in sctp_v6_get_dst()
335 fl6->fl6_sport = laddr->a.v6.sin6_port; in sctp_v6_get_dst()
489 sa->sin6_port = sh->source; in sctp_v6_from_skb()
492 sa->sin6_port = sh->dest; in sctp_v6_from_skb()
501 addr->v6.sin6_port = 0; in sctp_v6_from_sk()
541 addr->v6.sin6_port = port; in sctp_v6_from_addr_param()
569 addr->v6.sin6_port = port; in sctp_v6_to_addr()
615 addr1->v6.sin6_port == addr2->v6.sin6_port; in sctp_v6_cmp_addr()
623 addr->v6.sin6_port = port; in sctp_v6_inaddr_any()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c129 listen_sk.src_port != ntohs(srv_sa6.sin6_port) || in check_result()
143 srv_sk.src_port != ntohs(srv_sa6.sin6_port) || in check_result()
144 srv_sk.dst_port != cli_sa6.sin6_port, in check_result()
158 cli_sk.src_port != ntohs(cli_sa6.sin6_port) || in check_result()
159 cli_sk.dst_port != srv_sa6.sin6_port, in check_result()
Dconnect_force_port.c22 port = ((struct sockaddr_in6 *)&addr)->sin6_port; in verify_ports()
38 port = ((struct sockaddr_in6 *)&addr)->sin6_port; in verify_ports()
Dbtf_skc_cls_ingress.c109 srv_port = ntohs(srv_sa6.sin6_port); in test_conn()
164 srv_port = ntohs(srv_sa6.sin6_port); in test_syncookie()
Dcgroup_skb_sk_lookup.c24 *g_serv_port = addr.sin6_port; in run_lookup_test()
Dsk_assign.c121 port = ((struct sockaddr_in6 *)&ss)->sin6_port; in get_port()
224 addr6->sin6_port = htons(port); in prepare_addr()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_udp_tunnel.c41 udp6_addr.sin6_port = cfg->local_udp_port; in udp_sock_create6()
52 udp6_addr.sin6_port = cfg->peer_udp_port; in udp_sock_create6()
Ddatagram.c187 sin.sin_port = usin->sin6_port; in __ip6_datagram_connect()
241 inet->inet_dport = usin->sin6_port; in __ip6_datagram_connect()
401 mtu_info->ip6m_addr.sin6_port = 0; in ipv6_local_rxpmtu()
484 sin->sin6_port = serr->port; in ipv6_recv_error()
572 sin->sin6_port = 0; in ipv6_recv_rxpmtu()
729 sin6.sin6_port = ports[1]; in ip6_datagram_recv_specific_ctl()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dreuseport_bpf_numa.c49 addr6->sin6_port = htons(PORT); in build_rcv_group()
130 saddr6->sin6_port = 0; in send_from_node()
135 daddr6->sin6_port = htons(PORT); in send_from_node()
Dreuseport_bpf_cpu.c53 addr6->sin6_port = htons(PORT); in build_rcv_group()
118 saddr6->sin6_port = 0; in send_from_cpu()
123 daddr6->sin6_port = htons(PORT); in send_from_cpu()
Dreuseport_addr_any.c61 addr6.sin6_port = htons(PORT); in build_rcv_fd()
132 daddr6.sin6_port = htons(PORT); in connect_and_send()
Dreuseaddr_conflict.c33 .sin6_port = htons(PORT), in open_port()
/kernel/linux/linux-5.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()
Dsvc_xprt.h177 return ntohs(sin6->sin6_port); in svc_addr_port()
219 ntohs(sin6->sin6_port)); in __svc_print_addr()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c143 if (sk->src_port == bpf_ntohs(srv_sa6.sin6_port)) { in egress_read_sock_fields()
147 } else if (sk->dst_port == srv_sa6.sin6_port) { in egress_read_sock_fields()
231 sk->src_port != bpf_ntohs(srv_sa6.sin6_port)) in ingress_read_sock_fields()
Dconnect_force_port6.c35 sa.sin6_port = bpf_htons(22223); in connect6()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_socket_cookie.c40 addr.sin6_port = 0; in start_server()
116 cookie_expected_value = (ntohs(addr.sin6_port) << 8) | 0xFF; in validate_map()
/kernel/linux/linux-5.10/net/rds/
Dtcp_connect.c131 sin6.sin6_port = 0; in rds_tcp_conn_path_connect()
154 sin6.sin6_port = htons(RDS_TCP_PORT); in rds_tcp_conn_path_connect()
/kernel/linux/linux-5.10/fs/afs/
Daddr_list.c54 srx->transport.sin6.sin6_port = htons(port); in afs_alloc_addrlist()
325 u16 a_port = ntohs(a->sin6_port); in afs_merge_fs_addr6()
346 srx->transport.sin6.sin6_port = htons(port); in afs_merge_fs_addr6()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Diwpm_util.c473 && a6_sockaddr->sin6_port == b6_sockaddr->sin6_port) in iwpm_compare_sockaddr()
550 ntohs(sockaddr_v6->sin6_port), in iwpm_print_sockaddr()
551 ntohs(sockaddr_v6->sin6_port)); in iwpm_print_sockaddr()
561 u32 hash = jhash_2words(ipv6_hash, (__force u32) ipv6_sockaddr->sin6_port, 0); in iwpm_ipv6_jhash()
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dsocket.c104 .fl6_dport = endpoint->addr6.sin6_port, in send6()
246 endpoint->addr6.sin6_port = udp_hdr(skb)->source; in wg_socket_endpoint_from_skb()
265 a->addr6.sin6_port == b->addr6.sin6_port && in endpoint_eq()
/kernel/linux/linux-5.10/net/rxrpc/
Dutils.c34 srx->transport.sin6.sin6_port = udp_hdr(skb)->source; in rxrpc_extract_addr_from_skb()
/kernel/linux/linux-5.10/net/sunrpc/
Daddr.c280 port = ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_sockaddr2uaddr()
348 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_uaddr2sockaddr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c71 laddr6->sin6_port = htons(cm_info->local_port); in qedr_fill_sockaddr6()
72 raddr6->sin6_port = htons(cm_info->remote_port); in qedr_fill_sockaddr6()
612 cm_info->local_port = ntohs(laddr6->sin6_port); in qedr_iw_connect()
613 cm_info->remote_port = ntohs(raddr6->sin6_port); in qedr_iw_connect()
703 iparams.port = ntohs(laddr6->sin6_port); in qedr_iw_create_listen()

123456