git: tcp: Allow per-tcpcb keepidle

看板DFBSD_commit作者時間14年前 (2011/10/22 18:03), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 7ea3a353848489fa817cc3076781d2c25a11d684 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Fri Sep 16 15:13:22 2011 +0800 tcp: Allow per-tcpcb keepidle - Add t_keepidle to tcpcb, it is initialized to tcp_keepidle - The accepted socket's t_keepidle is inherited from the listen socket - Add IPPROTO_TCP/TCP_KEEPIDLE socket option to get and set t_keepidle. The unit is milliseconds, which is as same as the unit of the sysctl node net.inet.tcp.keepidle Summary of changes: sys/netinet/tcp.h | 1 + sys/netinet/tcp_subr.c | 1 + sys/netinet/tcp_syncache.c | 1 + sys/netinet/tcp_timer2.h | 2 +- sys/netinet/tcp_usrreq.c | 11 +++++++++++ sys/netinet/tcp_var.h | 2 ++ 6 files changed, 17 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ea3a353848489fa817cc3076781d2c25a11d684 -- DragonFly BSD source repository
文章代碼(AID): #1EefJOdP (DFBSD_commit)