X-Git-Url: https://git.saurik.com/apple/network_cmds.git/blobdiff_plain/89c4ed635a5aba9241e12e796c7e5025879d0e77..f1dee6ae4f09d06db1e14c8be5091eb1b0d7347b:/netstat.tproj/mptcp.c diff --git a/netstat.tproj/mptcp.c b/netstat.tproj/mptcp.c index 4d69770..70be928 100644 --- a/netstat.tproj/mptcp.c +++ b/netstat.tproj/mptcp.c @@ -57,7 +57,7 @@ static const char *tcpstates[] = { static const char *mptcpstates[] = { "CLOSED", "LISTEN", "ESTABLISHED", "CLOSE_WAIT", "FIN_WAIT_1", - "CLOSING", "LAST_ACK", "FIN_WAIT_2", "TIME_WAIT", "FASTCLOSE_WAIT" + "CLOSING", "LAST_ACK", "FIN_WAIT_2", "TIME_WAIT", "TERMINATE" }; int mptcp_done = 0; @@ -78,7 +78,7 @@ printmptcp(int id, conninfo_mptcp_t *mptcp) "aid(%d)]\n", id, mptcp->mptcpci_mpte_flags, mptcp->mptcpci_flags, mptcpstates[mptcp->mptcpci_state], mptcp->mptcpci_rtoken, - mptcp->mptcpci_sndnxt, mptcp->mptcpci_rcvatmark, + mptcp->mptcpci_sndnxt, mptcp->mptcpci_rcvnxt, mptcp->mptcpci_mpte_addrid); flow = (mptcp_flow_t*)((caddr_t)mptcp + mptcp->mptcpci_flow_offset); @@ -113,9 +113,8 @@ printmptcp(int id, conninfo_mptcp_t *mptcp) tcpci = (conninfo_tcp_t*)((caddr_t)flow + flow->flow_tcpci_offset); printf("%s \n" - " [dsn(%#"PRIx64"), relseq(%-4.4d), err(%d)]\n", + " [relseq(%-4.4d), err(%d)]\n", tcpstates[tcpci->tcpci_tcp_info.tcpi_state], - flow->flow_sndnxt, flow->flow_relseq, flow->flow_soerror);