Home
last modified time | relevance | path

Searched refs:inet_dport (Results 1 – 25 of 60) sorted by relevance

123

/kernel/linux/linux-5.10/include/trace/events/
Dnet_probe_common.h15 v4->sin_port = inet->inet_dport; \
31 v6->sin6_port = inet->inet_dport; \
Dtcp.h77 __entry->dport = ntohs(inet->inet_dport);
142 __entry->dport = ntohs(inet->inet_dport);
265 __entry->dport = ntohs(inet->inet_dport);
Dsock.h170 __entry->dport = ntohs(inet->inet_dport);
/kernel/linux/linux-5.10/net/ipv4/
Ddatagram.c72 inet->inet_dport = usin->sin_port; in __ip4_datagram_connect()
120 inet->inet_saddr, inet->inet_dport, in ip4_datagram_release_cb()
Dxfrm4_output.c45 inet_sk(skb->sk)->inet_dport, mtu); in xfrm4_local_error()
Daf_inet.c548 inet->inet_dport = 0; in __inet_bind()
780 if (!inet->inet_dport || in inet_getname()
784 sin->sin_port = inet->inet_dport; in inet_getname()
1246 inet->inet_sport, inet->inet_dport, sk); in inet_sk_reselect_saddr()
1297 inet->inet_dport, inet->inet_sport, in inet_sk_rebuild_header()
/kernel/linux/linux-5.10/net/ipv6/
Dinet6_connection_sock.c65 sin6->sin6_port = inet_sk(sk)->inet_dport; in inet6_csk_addr2sockaddr()
96 fl6->fl6_dport = inet->inet_dport; in inet6_csk_route_socket()
Dinet6_hashtables.c257 const __portpair ports = INET_COMBINED_PORTS(inet->inet_dport, lport); in __inet6_check_established()
259 inet->inet_dport); in __inet6_check_established()
317 inet->inet_dport); in inet6_sk_port_offset()
Dxfrm6_output.c44 fl6.fl6_dport = inet_sk(sk)->inet_dport; in xfrm6_local_error()
Dudp.c121 if (inet->inet_dport) { in compute_score()
122 if (inet->inet_dport != sport) in compute_score()
772 (inet->inet_dport && inet->inet_dport != rmt_port) || in __udp_v6_is_mcast_sock()
1338 sin.sin_port = sin6 ? sin6->sin6_port : inet->inet_dport; in udpv6_sendmsg()
1411 fl6.fl6_dport = inet->inet_dport; in udpv6_sendmsg()
1662 __u16 destp = ntohs(inet->inet_dport); in udp6_seq_show()
Daf_inet6.c427 inet->inet_dport = 0; in __inet6_bind()
523 if (!inet->inet_dport) in inet6_getname()
528 sin->sin6_port = inet->inet_dport; in inet6_getname()
830 fl6.fl6_dport = inet->inet_dport; in inet6_sk_rebuild_header()
Ddatagram.c52 fl6->fl6_dport = inet->inet_dport; in ip6_datagram_flow_key_init()
237 old_dport = inet->inet_dport; in __ip6_datagram_connect()
241 inet->inet_dport = usin->sin6_port; in __ip6_datagram_connect()
255 inet->inet_dport = old_dport; in __ip6_datagram_connect()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_tcp_estats.c84 #define inet_dport sk.__sk_common.skc_dport macro
215 conn_id->remport = _(inet_sk(sk)->inet_dport); in tcp_estats_conn_id_init()
Dbpf_tracing_net.h26 #define inet_dport sk.__sk_common.skc_dport macro
Dbpf_iter_udp4.c55 destp = bpf_ntohs(inet->inet_dport); in dump_udp4()
Dbpf_iter_udp6.c57 destp = bpf_ntohs(inet->inet_dport); in dump_udp6()
Dbpf_iter_tcp4.c96 destp = bpf_ntohs(inet->inet_dport); in dump_tcp_sock()
/kernel/linux/linux-5.10/net/dccp/
Dtrace.h50 __entry->dport = ntohs(inet->inet_dport);
Dipv4.c89 inet->inet_dport = usin->sin_port; in dccp_v4_connect()
107 inet->inet_sport, inet->inet_dport, sk); in dccp_v4_connect()
119 inet->inet_dport); in dccp_v4_connect()
135 inet->inet_dport = 0; in dccp_v4_connect()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c101 inet_sk(sk)->inet_dport); in mlx5e_accel_fs_add_sk()
131 ntohs(inet_sk(sk)->inet_dport)); in mlx5e_accel_fs_add_sk()
Dtls.c69 memcpy(MLX5_ADDR_OF(tls_flow, flow, dst_port), &inet->inet_dport, in mlx5e_tls_set_flow_tcp_ports()
/kernel/linux/linux-5.10/security/
Dlsm_audit.c342 inet->inet_dport, in dump_common_audit_data()
354 inet->inet_dport, in dump_common_audit_data()
/kernel/linux/linux-5.10/net/mptcp/
Dmptcp_diag.c97 if (r->id.idiag_dport != inet->inet_dport && in mptcp_diag_dump()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ip.c360 if (!inet->inet_dport) in l2tp_ip_getname()
478 inet->inet_dport, inet->inet_sport, in l2tp_ip_sendmsg()
/kernel/linux/linux-5.10/net/rds/
Dtcp.c253 tsinfo.peer_port = inet->inet_dport; in rds_tcp_tc_info()
297 tsinfo6.peer_port = inet->inet_dport; in rds6_tcp_tc_info()

123