]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
o Provide a compatibility shim for netstat(1) to obtain output queue
authorglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 3 Apr 2014 14:58:52 +0000 (14:58 +0000)
committerglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 3 Apr 2014 14:58:52 +0000 (14:58 +0000)
commit8b049cc40c74d689bdfde0002031427843e67322
treed76620c8ed34f66eebfaf93f75d9370405df6a6d
parentc25742618c00f9e0423fa75d1278517ed7d5fa2b
o Provide a compatibility shim for netstat(1) to obtain output queue
  drops via NET_RT_IFLISTL sysctl. The sysctl handler appends oqdrops
  at the end of struct if_msghdrl, and netstat(1) sees that as an
  additional field of struct if_data. This allows us to fetch the data
  keeping ABI and API compatibility.
  This is direct commit to stable/10.

o Merge r263331 from head, to restore printing of queue drops.

Sponsored by: Nginx, Inc.
Sponsored by: Netflix

git-svn-id: svn://svn.freebsd.org/base/stable/10@264076 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/if.h
sys/net/rtsock.c
usr.bin/netstat/if.c