git: tcp: Count connections by TCP state

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Apr 28 07:49:02 PDT 2016


commit b2bc8a6aba60019af2e2cf43adebe809838e3e13
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Apr 28 22:37:58 2016 +0800

    tcp: Count connections by TCP state
    
    Inspired-by: FreeBSD 'netstat -s -p tcp' output

Summary of changes:
 sys/netinet/tcp_input.c    | 20 +++++++--------
 sys/netinet/tcp_subr.c     | 28 ++++++++++++++++++---
 sys/netinet/tcp_syncache.c |  2 +-
 sys/netinet/tcp_usrreq.c   | 26 ++++++++++++++------
 sys/netinet/tcp_var.h      | 61 ++++++++++++++++++++++++++++++++++++++++++++++
 usr.bin/netstat/inet.c     | 11 +++++++++
 6 files changed, 126 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b2bc8a6aba60019af2e2cf43adebe809838e3e13


-- 
DragonFly BSD source repository



More information about the Commits mailing list