diff options
-rw-r--r-- | sys/netinet/tcp.h | 2 | ||||
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h index a312078..64aa6e8 100644 --- a/sys/netinet/tcp.h +++ b/sys/netinet/tcp.h @@ -216,7 +216,7 @@ struct tcp_info { u_int32_t __tcpi_reordering; u_int32_t __tcpi_rcv_rtt; - u_int32_t __tcpi_rcv_space; + u_int32_t tcpi_rcv_space; /* Advertised recv window. */ /* FreeBSD extensions to tcp_info. */ u_int32_t tcpi_snd_wnd; /* Advertised send window. */ diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index b07458b..66bd795 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -974,6 +974,7 @@ tcp_fill_info(tp, ti) /* * FreeBSD-specific extension fields for tcp_info. */ + ti->tcpi_rcv_space = tp->rcv_wnd; ti->tcpi_snd_wnd = tp->snd_wnd; ti->tcpi_snd_bwnd = tp->snd_bwnd; } |