/linux-6.3-rc2/include/trace/events/ |
A D | net_probe_common.h | 27 v6->sin6_port = inet->inet_sport; \ 31 v6->sin6_port = inet->inet_dport; \
|
/linux-6.3-rc2/net/sctp/ |
A D | ipv6.c | 292 fl6->fl6_dport = daddr->v6.sin6_port; in sctp_v6_get_dst() 318 fl6->fl6_sport = saddr->v6.sin6_port; in sctp_v6_get_dst() 383 fl6->fl6_sport = laddr->a.v6.sin6_port; in sctp_v6_get_dst() 537 sa->sin6_port = sh->source; in sctp_v6_from_skb() 540 sa->sin6_port = sh->dest; in sctp_v6_from_skb() 549 addr->v6.sin6_port = 0; in sctp_v6_from_sk() 589 addr->v6.sin6_port = port; in sctp_v6_from_addr_param() 617 addr->v6.sin6_port = port; in sctp_v6_to_addr() 663 addr1->v6.sin6_port == addr2->v6.sin6_port; in sctp_v6_cmp_addr() 671 addr->v6.sin6_port = port; in sctp_v6_inaddr_any() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | sock_fields.c | 144 listen_sk.src_port != ntohs(srv_sa6.sin6_port) || in check_result() 158 srv_sk.src_port != ntohs(srv_sa6.sin6_port) || in check_result() 159 srv_sk.dst_port != cli_sa6.sin6_port, in check_result() 173 cli_sk.src_port != ntohs(cli_sa6.sin6_port) || in check_result() 174 cli_sk.dst_port != srv_sa6.sin6_port, in check_result()
|
A D | connect_force_port.c | 22 port = ((struct sockaddr_in6 *)&addr)->sin6_port; in verify_ports() 38 port = ((struct sockaddr_in6 *)&addr)->sin6_port; in verify_ports()
|
A D | btf_skc_cls_ingress.c | 92 srv_port = ntohs(srv_sa6.sin6_port); in test_conn() 147 srv_port = ntohs(srv_sa6.sin6_port); in test_syncookie()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_tcp_check_syncookie_user.c | 255 addr6.sin6_port = 0; in main() 260 addr6dual.sin6_port = 0; in main() 269 if (server_v6 == -1 || !get_port(server_v6, &addr6.sin6_port)) in main()
|
/linux-6.3-rc2/net/ipv6/ |
A D | ip6_udp_tunnel.c | 41 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()
|
A D | datagram.c | 192 sin.sin_port = usin->sin6_port; in __ip6_datagram_connect() 246 inet->inet_dport = usin->sin6_port; in __ip6_datagram_connect() 407 mtu_info->ip6m_addr.sin6_port = 0; in ipv6_local_rxpmtu() 490 sin->sin6_port = serr->port; in ipv6_recv_error() 578 sin->sin6_port = 0; in ipv6_recv_rxpmtu() 735 sin6.sin6_port = ports[1]; in ip6_datagram_recv_specific_ctl()
|
/linux-6.3-rc2/include/linux/sunrpc/ |
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()
|
A D | svc_xprt.h | 181 return ntohs(sin6->sin6_port); in svc_addr_port() 223 ntohs(sin6->sin6_port)); in __svc_print_addr()
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | reuseport_bpf_cpu.c | 53 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()
|
A D | reuseport_bpf_numa.c | 49 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()
|
A D | sk_connect_zero_addr.c | 13 .sin6_port = htons(20000), in main()
|
A D | sk_bind_sendto_listen.c | 13 .sin6_port = htons(20000), in main()
|
A D | reuseport_addr_any.c | 61 addr6.sin6_port = htons(PORT); in build_rcv_fd() 132 daddr6.sin6_port = htons(PORT); in connect_and_send()
|
A D | ip_local_port_range.c | 62 addr.v6.sin6_port = htons(0); in bind_to_loopback_any_port() 93 return ntohs(addr.v6.sin6_port); in get_sock_port() 382 addr.v6.sin6_port = htons(0); in TEST_F()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_sock_fields.c | 144 if (sk->src_port == bpf_ntohs(srv_sa6.sin6_port)) { in egress_read_sock_fields() 148 } else if (sk->dst_port == srv_sa6.sin6_port) { in egress_read_sock_fields() 232 sk->src_port != bpf_ntohs(srv_sa6.sin6_port)) in ingress_read_sock_fields()
|
/linux-6.3-rc2/net/rds/ |
A D | tcp_connect.c | 135 sin6.sin6_port = 0; in rds_tcp_conn_path_connect() 158 sin6.sin6_port = htons(RDS_TCP_PORT); in rds_tcp_conn_path_connect()
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | iwpm_util.c | 429 && a6_sockaddr->sin6_port == b6_sockaddr->sin6_port) in iwpm_compare_sockaddr() 506 ntohs(sockaddr_v6->sin6_port), in iwpm_print_sockaddr() 507 ntohs(sockaddr_v6->sin6_port)); in iwpm_print_sockaddr() 517 u32 hash = jhash_2words(ipv6_hash, (__force u32) ipv6_sockaddr->sin6_port, 0); in iwpm_ipv6_jhash()
|
/linux-6.3-rc2/fs/afs/ |
A D | addr_list.c | 54 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()
|
/linux-6.3-rc2/drivers/net/wireguard/ |
A D | socket.c | 104 .fl6_dport = endpoint->addr6.sin6_port, in send6() 247 endpoint->addr6.sin6_port = udp_hdr(skb)->source; in wg_socket_endpoint_from_skb() 266 a->addr6.sin6_port == b->addr6.sin6_port && in endpoint_eq()
|
/linux-6.3-rc2/net/rxrpc/ |
A D | local_object.c | 74 return ((u16 __force)local->srx.transport.sin6.sin6_port - in rxrpc_local_cmp_key() 75 (u16 __force)srx->transport.sin6.sin6_port) ?: in rxrpc_local_cmp_key() 171 udp_conf.local_udp_port = srx->transport.sin6.sin6_port; in rxrpc_open_socket()
|
A D | utils.c | 34 srx->transport.sin6.sin6_port = udp_hdr(skb)->source; in rxrpc_extract_addr_from_skb()
|
/linux-6.3-rc2/drivers/infiniband/hw/qedr/ |
A D | qedr_iw_cm.c | 71 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()
|
/linux-6.3-rc2/net/sunrpc/ |
A D | addr.c | 280 port = ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_sockaddr2uaddr() 348 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_uaddr2sockaddr()
|