git: tcpdrop: Drop a specific tcp connection or all tcp connections

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jul 26 18:42:32 PDT 2015


commit da0f7859d0ec9815fa217d4beeb6727df195e13e
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Jul 26 17:20:18 2015 +0800

    tcpdrop: Drop a specific tcp connection or all tcp connections
    
    Obtained-from: OpenBSD via FreeBSD

Summary of changes:
 sys/netinet/tcp_subr.c     | 141 ++++++++++++++++++
 usr.sbin/Makefile          |   1 +
 usr.sbin/tcpdrop/Makefile  |   7 +
 usr.sbin/tcpdrop/tcpdrop.8 |  95 ++++++++++++
 usr.sbin/tcpdrop/tcpdrop.c | 355 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 599 insertions(+)
 create mode 100644 usr.sbin/tcpdrop/Makefile
 create mode 100644 usr.sbin/tcpdrop/tcpdrop.8
 create mode 100644 usr.sbin/tcpdrop/tcpdrop.c

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list