summaryrefslogtreecommitdiffstats
path: root/sys/dev/cxgb
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-12-22 15:47:40 +0000
committerjhb <jhb@FreeBSD.org>2009-12-22 15:47:40 +0000
commitbeb0e14aaecd525d5f725dfc202df2ee235628aa (patch)
tree792e6b45ea8beea48f71a424e0912b8c92144f92 /sys/dev/cxgb
parent697c5264152a1e8eb28d5d1f48f7836ac9bbae2a (diff)
downloadFreeBSD-src-beb0e14aaecd525d5f725dfc202df2ee235628aa.zip
FreeBSD-src-beb0e14aaecd525d5f725dfc202df2ee235628aa.tar.gz
- Rename the __tcpi_(snd|rcv)_mss fields of the tcp_info structure to remove
the leading underscores since they are now implemented. - Implement the tcpi_rto and tcpi_last_data_recv fields in the tcp_info structure. Reviewed by: rwatson MFC after: 2 weeks
Diffstat (limited to 'sys/dev/cxgb')
-rw-r--r--sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c
index c582dbd..975b908 100644
--- a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c
+++ b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c
@@ -203,7 +203,7 @@ static int set_tcpinfo(struct iwch_ep *ep)
ep->snd_seq = ti.tcpi_snd_nxt;
ep->rcv_seq = ti.tcpi_rcv_nxt;
- ep->emss = ti.__tcpi_snd_mss - sizeof(struct tcpiphdr);
+ ep->emss = ti.tcpi_snd_mss - sizeof(struct tcpiphdr);
ep->hwtid = TOEPCB(ep->com.so)->tp_tid; /* XXX */
if (ti.tcpi_options & TCPI_OPT_TIMESTAMPS)
ep->emss -= 12;
OpenPOWER on IntegriCloud