Home
last modified time | relevance | path

Searched refs:inet_sport (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v6.1/include/trace/events/
Dnet_probe_common.h11 v4->sin_port = inet->inet_sport; \
27 v6->sin6_port = inet->inet_sport; \
Dtcp.h77 __entry->sport = ntohs(inet->inet_sport);
145 __entry->sport = ntohs(inet->inet_sport);
274 __entry->sport = ntohs(inet->inet_sport);
397 __entry->sport = ntohs(inet->inet_sport);
Dsock.h171 __entry->sport = ntohs(inet->inet_sport);
232 __entry->sport = ntohs(inet->inet_sport);
/Linux-v6.1/net/ipv4/
Dudp_tunnel_core.c93 ti.port = inet_sk(sk)->inet_sport; in udp_tunnel_push_rx_port()
107 ti.port = inet_sk(sk)->inet_sport; in udp_tunnel_drop_rx_port()
123 ti.port = inet_sk(sk)->inet_sport; in udp_tunnel_notify_add_rx_port()
143 ti.port = inet_sk(sk)->inet_sport; in udp_tunnel_notify_del_rx_port()
Ddatagram.c50 sk->sk_protocol, inet->inet_sport, in __ip4_datagram_connect()
121 inet->inet_sport, sk->sk_protocol, in ip4_datagram_release_cb()
Daf_inet.c184 inet->inet_sport = htons(inet->inet_num); in inet_autobind()
367 inet->inet_sport = htons(inet->inet_num); in inet_create()
545 inet->inet_sport = htons(inet->inet_num); in __inet_bind()
796 sin->sin_port = inet->inet_sport; in inet_getname()
1250 sk->sk_protocol, inet->inet_sport, in inet_sk_reselect_saddr()
1308 inet->inet_dport, inet->inet_sport, in inet_sk_rebuild_header()
Dping.c168 isk->inet_sport = 0; in ping_unhash()
465 isk->inet_sport = htons(isk->inet_num); in ping_bind()
831 pfh.icmph.un.echo.id = inet->inet_sport; in ping_v4_sendmsg()
1137 __u16 srcp = ntohs(inet->inet_sport); in ping_v4_format_sock()
Draw_diag.c173 if (r->id.idiag_sport != inet->inet_sport && in raw_diag_dump()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtest_tcp_estats.c86 __be16 inet_sport; member
214 conn_id->localport = _(inet_sk(sk)->inet_sport); in tcp_estats_conn_id_init()
Dbpf_iter_udp4.c53 srcp = bpf_ntohs(inet->inet_sport); in dump_udp4()
Dbpf_iter_udp6.c55 srcp = bpf_ntohs(inet->inet_sport); in dump_udp6()
Dbpf_iter_tcp4.c96 srcp = bpf_ntohs(inet->inet_sport); in dump_tcp_sock()
/Linux-v6.1/drivers/net/wireguard/
Dsocket.c46 fl.fl4_sport = inet_sk(sock)->inet_sport; in send4()
126 fl.fl6_sport = inet_sk(sock)->inet_sport; in send6()
397 port6.local_udp_port = inet_sk(new4->sk)->inet_sport; in wg_socket_init()
432 wg->incoming_port = ntohs(inet_sk(new4)->inet_sport); in wg_socket_reinit()
/Linux-v6.1/net/mptcp/
Dmptcp_diag.c118 if (r->id.idiag_sport != inet->inet_sport && in mptcp_diag_dump_listeners()
178 if (r->id.idiag_sport != inet->inet_sport && in mptcp_diag_dump()
Dpm_userspace.c111 inet_sk((struct sock *)msk))->inet_sport; in mptcp_userspace_pm_get_local_id()
346 if (issk->inet_sport == local->port && in mptcp_nl_find_ssk()
Dsubflow.c121 return inet_sk(sk)->inet_sport != inet_sk((struct sock *)msk)->inet_sport; in subflow_use_different_sport()
219 ntohs(inet_sk(sk_listener)->inet_sport), in subflow_check_req()
220 ntohs(inet_sk((struct sock *)subflow_req->msk)->inet_sport)); in subflow_check_req()
780 ntohs(inet_sk(sk)->inet_sport), in subflow_syn_recv_sock()
781 ntohs(inet_sk((struct sock *)owner)->inet_sport)); in subflow_syn_recv_sock()
/Linux-v6.1/net/dccp/
Dtrace.h49 __entry->sport = ntohs(inet->inet_sport);
Dipv4.c75 orig_sport = inet->inet_sport; in dccp_v4_connect()
120 inet->inet_sport, inet->inet_dport, sk); in dccp_v4_connect()
131 inet->inet_sport, in dccp_v4_connect()
/Linux-v6.1/net/ipv6/
Dping.c171 pfh.icmph.un.echo.id = inet->inet_sport; in ping_v6_sendmsg()
247 __u16 srcp = ntohs(inet->inet_sport); in ping_v6_seq_show()
Dinet6_connection_sock.c95 fl6->fl6_sport = inet->inet_sport; in inet6_csk_route_socket()
Daf_inet6.c256 inet->inet_sport = htons(inet->inet_num); in inet6_create()
434 inet->inet_sport = htons(inet->inet_num); in __inet6_bind()
558 sin->sin6_port = inet->inet_sport; in inet6_getname()
850 fl6.fl6_sport = inet->inet_sport; in inet6_sk_rebuild_header()
/Linux-v6.1/security/
Dlsm_audit.c322 inet->inet_sport, in dump_common_audit_data()
334 inet->inet_sport, in dump_common_audit_data()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c97 inet_sk(sk)->inet_sport, in mlx5e_accel_fs_add_sk()
127 ntohs(inet_sk(sk)->inet_sport)); in mlx5e_accel_fs_add_sk()
/Linux-v6.1/net/netfilter/
Dnf_conntrack_proto.c262 tuple.src.u.tcp.port = inet->inet_sport; in getorigdst()
331 tuple.src.u.tcp.port = inet->inet_sport; in ipv6_getorigdst()
/Linux-v6.1/net/rds/
Dtcp.c251 tsinfo.local_port = inet->inet_sport; in rds_tcp_tc_info()
295 tsinfo6.local_port = inet->inet_sport; in rds6_tcp_tc_info()

123