tcp_info
struct irdma_tcp_offload_info *tcp_info,
tcp_info->ipv4 = cm_node->ipv4;
tcp_info->drop_ooo_seg = !iwqp->iwdev->iw_ooo;
tcp_info->wscale = true;
tcp_info->ignore_tcp_opt = true;
tcp_info->ignore_tcp_uns_opt = true;
tcp_info->no_nagle = false;
tcp_info->ttl = IRDMA_DEFAULT_TTL;
tcp_info->rtt_var = IRDMA_DEFAULT_RTT_VAR;
tcp_info->ss_thresh = IRDMA_DEFAULT_SS_THRESH;
tcp_info->rexmit_thresh = IRDMA_DEFAULT_REXMIT_THRESH;
tcp_info->tcp_state = IRDMA_TCP_STATE_ESTABLISHED;
tcp_info->snd_wscale = cm_node->tcp_cntxt.snd_wscale;
tcp_info->rcv_wscale = cm_node->tcp_cntxt.rcv_wscale;
tcp_info->snd_nxt = cm_node->tcp_cntxt.loc_seq_num;
tcp_info->snd_wnd = cm_node->tcp_cntxt.snd_wnd;
tcp_info->rcv_nxt = cm_node->tcp_cntxt.rcv_nxt;
tcp_info->snd_max = cm_node->tcp_cntxt.loc_seq_num;
tcp_info->snd_una = cm_node->tcp_cntxt.loc_seq_num;
tcp_info->cwnd = 2 * cm_node->tcp_cntxt.mss;
tcp_info->snd_wl1 = cm_node->tcp_cntxt.rcv_nxt;
tcp_info->snd_wl2 = cm_node->tcp_cntxt.loc_seq_num;
tcp_info->max_snd_window = cm_node->tcp_cntxt.max_snd_wnd;
tcp_info->rcv_wnd = cm_node->tcp_cntxt.rcv_wnd
tcp_info->flow_label = 0;
tcp_info->snd_mss = (u32)cm_node->tcp_cntxt.mss;
tcp_info->tos = cm_node->tos;
tcp_info->insert_vlan_tag = true;
tcp_info->vlan_tag = cm_node->vlan_id;
tcp_info->vlan_tag |= cm_node->user_pri << VLAN_PRIO_SHIFT;
tcp_info->src_port = cm_node->loc_port;
tcp_info->dst_port = cm_node->rem_port;
tcp_info->dest_ip_addr[3] = cm_node->rem_addr[0];
tcp_info->local_ipaddr[3] = cm_node->loc_addr[0];
tcp_info->arp_idx = (u16)irdma_arp_table(iwqp->iwdev->rf,
&tcp_info->dest_ip_addr[3],
tcp_info->src_port = cm_node->loc_port;
tcp_info->dst_port = cm_node->rem_port;
memcpy(tcp_info->dest_ip_addr, cm_node->rem_addr,
sizeof(tcp_info->dest_ip_addr));
memcpy(tcp_info->local_ipaddr, cm_node->loc_addr,
sizeof(tcp_info->local_ipaddr));
tcp_info->arp_idx = (u16)irdma_arp_table(iwqp->iwdev->rf,
&tcp_info->dest_ip_addr[0],
ctx_info->tcp_info = &iwqp->tcp_info;
irdma_init_tcp_ctx(cm_node, &iwqp->tcp_info, iwqp);
iwarp_info->snd_mark_offset = (iwqp->tcp_info.snd_nxt & SNDMARKER_SEQNMASK) +
iwqp->tcp_info.tcp_state = IRDMA_TCP_STATE_ESTABLISHED;
iwqp->tcp_info.src_mac_addr_idx = iwqp->iwdev->mac_ip_table_idx;
tcp = info->tcp_info;
struct irdma_tcp_offload_info *tcp_info;
struct irdma_tcp_offload_info *tcp_info;
tcp_info = &iwqp->tcp_info;
ctx_info->rem_endpoint_idx = tcp_info->arp_idx;
struct irdma_tcp_offload_info tcp_info;
void tcp_get_info(struct sock *, struct tcp_info *);
__aligned_u64 tcp_info;
+ nla_total_size_64bit(sizeof(struct tcp_info))); /* INET_DIAG_INFO */
struct tcp_info *info)
void tcp_get_info(struct sock *sk, struct tcp_info *info)
struct tcp_info info;
struct tcp_info info;
+ nla_total_size(sizeof(struct tcp_info))
struct tcp_info *info = _info;
.idiag_info_size = sizeof(struct tcp_info),
sfd.size_kernel = sizeof(struct tcp_info);
sizeof(struct tcp_info));
struct tcp_info info;
mfi.size_tcpinfo_kernel = sizeof(struct tcp_info);
sizeof(struct tcp_info));
tcpinfoptr = u64_to_user_ptr(mfi.tcp_info);
struct tcp_info tcp_info;
tcp_get_info(ssk, &tcp_info);
if (copy_to_user(tcpinfoptr, &tcp_info,
struct tcp_info info;
__aligned_u64 tcp_info;
struct tcp_info tcp_info;
struct tcp_info ti[2];
ti.d.size_user = sizeof(struct tcp_info);
MIN(ti.d.size_kernel, sizeof(struct tcp_info)));
s->tcp_info = ti.ti[0];
struct tcp_info tcp_info[2];
memset(tcp_info, 0, sizeof(tcp_info));
mfi.size_tcpinfo_user = sizeof(struct tcp_info);
mfi.tcp_info = (unsigned long)&tcp_info[0];
MIN(mfi.size_tcpinfo_kernel, sizeof(struct tcp_info)));
assert(olen > (socklen_t)__builtin_offsetof(struct mptcp_full_info, tcp_info));
assert(tcp_info[0].tcpi_bytes_sent == s->tcp_info.tcpi_bytes_sent);
assert(tcp_info[0].tcpi_bytes_received == s->tcp_info.tcpi_bytes_received);
struct tcp_info info;
socklen_t sz = sizeof(struct tcp_info);
struct tcp_info info;