Home
last modified time | relevance | path

Searched refs:tcp_info (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/mptcp/
Dmptcp_sockopt.c109 __aligned_u64 tcp_info; member
119 struct tcp_info tcp_info; member
376 struct tcp_info ti[2]; in do_getsockopt_tcp_info()
385 ti.d.size_user = sizeof(struct tcp_info); in do_getsockopt_tcp_info()
395 MIN(ti.d.size_kernel, sizeof(struct tcp_info))); in do_getsockopt_tcp_info()
402 s->tcp_info = ti.ti[0]; in do_getsockopt_tcp_info()
498 struct tcp_info tcp_info[2]; in do_getsockopt_mptcp_full_info() local
504 memset(tcp_info, 0, sizeof(tcp_info)); in do_getsockopt_mptcp_full_info()
507 mfi.size_tcpinfo_user = sizeof(struct tcp_info); in do_getsockopt_mptcp_full_info()
511 mfi.tcp_info = (unsigned long)&tcp_info[0]; in do_getsockopt_mptcp_full_info()
[all …]
/linux-6.6.21/net/dccp/
Dccid.h23 struct tcp_info;
75 struct tcp_info *info);
77 struct tcp_info *info);
228 struct tcp_info *info) in ccid_hc_rx_get_info()
235 struct tcp_info *info) in ccid_hc_tx_get_info()
Ddiag.c16 static void dccp_get_info(struct sock *sk, struct tcp_info *info) in dccp_get_info()
65 .idiag_info_size = sizeof(struct tcp_info),
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dcm.c3318 struct irdma_tcp_offload_info *tcp_info, in irdma_init_tcp_ctx() argument
3321 tcp_info->ipv4 = cm_node->ipv4; in irdma_init_tcp_ctx()
3322 tcp_info->drop_ooo_seg = !iwqp->iwdev->iw_ooo; in irdma_init_tcp_ctx()
3323 tcp_info->wscale = true; in irdma_init_tcp_ctx()
3324 tcp_info->ignore_tcp_opt = true; in irdma_init_tcp_ctx()
3325 tcp_info->ignore_tcp_uns_opt = true; in irdma_init_tcp_ctx()
3326 tcp_info->no_nagle = false; in irdma_init_tcp_ctx()
3328 tcp_info->ttl = IRDMA_DEFAULT_TTL; in irdma_init_tcp_ctx()
3329 tcp_info->rtt_var = IRDMA_DEFAULT_RTT_VAR; in irdma_init_tcp_ctx()
3330 tcp_info->ss_thresh = IRDMA_DEFAULT_SS_THRESH; in irdma_init_tcp_ctx()
[all …]
Dverbs.h170 struct irdma_tcp_offload_info tcp_info; member
Dtype.h927 struct irdma_tcp_offload_info *tcp_info; member
Dverbs.c1550 struct irdma_tcp_offload_info *tcp_info; in irdma_modify_qp() local
1572 tcp_info = &iwqp->tcp_info; in irdma_modify_qp()
1707 ctx_info->rem_endpoint_idx = tcp_info->arp_idx; in irdma_modify_qp()
Dctrl.c881 tcp = info->tcp_info; in irdma_sc_qp_setctx()
/linux-6.6.21/net/mptcp/
Dsockopt.c1039 sfd.size_kernel = sizeof(struct tcp_info); in mptcp_getsockopt_tcpinfo()
1041 sizeof(struct tcp_info)); in mptcp_getsockopt_tcpinfo()
1053 struct tcp_info info; in mptcp_getsockopt_tcpinfo()
1237 mfi.size_tcpinfo_kernel = sizeof(struct tcp_info); in mptcp_getsockopt_full_info()
1239 sizeof(struct tcp_info)); in mptcp_getsockopt_full_info()
1244 tcpinfoptr = u64_to_user_ptr(mfi.tcp_info); in mptcp_getsockopt_full_info()
1250 struct tcp_info tcp_info; in mptcp_getsockopt_full_info() local
1267 tcp_get_info(ssk, &tcp_info); in mptcp_getsockopt_full_info()
1268 if (copy_to_user(tcpinfoptr, &tcp_info, in mptcp_getsockopt_full_info()
/linux-6.6.21/net/ipv4/
Dtcp_diag.c21 struct tcp_info *info = _info; in tcp_diag_get_info()
231 .idiag_info_size = sizeof(struct tcp_info),
Dtcp.c3707 struct tcp_info *info) in tcp_get_info_chrono_stats()
3726 void tcp_get_info(struct sock *sk, struct tcp_info *info) in tcp_get_info()
3899 struct tcp_info info; in tcp_get_timestamping_opt_stats()
4017 struct tcp_info info; in do_tcp_getsockopt()
Dinet_diag.c111 return nla_total_size(sizeof(struct tcp_info)) in inet_sk_attr_size()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtcp_rtt.c24 struct tcp_info info; in wait_for_ack()
/linux-6.6.21/include/uapi/linux/
Dmptcp.h271 __aligned_u64 tcp_info; member
Dtcp.h214 struct tcp_info { struct
/linux-6.6.21/tools/testing/selftests/net/
Dtcp_mmap.c158 socklen_t sz = sizeof(struct tcp_info); in tcp_info_get_rcv_mss()
159 struct tcp_info info; in tcp_info_get_rcv_mss()
/linux-6.6.21/tools/include/uapi/linux/
Dtcp.h214 struct tcp_info { struct
/linux-6.6.21/net/dccp/ccids/
Dccid3.c514 static void ccid3_hc_tx_get_info(struct sock *sk, struct tcp_info *info) in ccid3_hc_tx_get_info()
808 static void ccid3_hc_rx_get_info(struct sock *sk, struct tcp_info *info) in ccid3_hc_rx_get_info()
/linux-6.6.21/net/core/
Dsock_diag.c122 + nla_total_size_64bit(sizeof(struct tcp_info))); /* INET_DIAG_INFO */ in sock_diag_nlmsg_size()
/linux-6.6.21/include/net/
Dtcp.h673 void tcp_get_info(struct sock *, struct tcp_info *);