SET_SOCKSTATDESC(udp6open, "UDP/IPv6 sockets opened", "UDP6Open");
SET_SOCKSTATDESC(tcp4open, "TCP/IPv4 sockets opened", "TCP4Open");
SET_SOCKSTATDESC(tcp6open, "TCP/IPv6 sockets opened", "TCP6Open");
- SET_SOCKSTATDESC(rawopen, "Raw sockets opened", "RawOpen");
SET_SOCKSTATDESC(udp4openfail, "UDP/IPv4 socket open failures",
"UDP4OpenFail");
SET_SOCKSTATDESC(udp6openfail, "UDP/IPv6 socket open failures",
"TCP4OpenFail");
SET_SOCKSTATDESC(tcp6openfail, "TCP/IPv6 socket open failures",
"TCP6OpenFail");
- SET_SOCKSTATDESC(rawopenfail, "Raw socket open failures",
- "RawOpenFail");
SET_SOCKSTATDESC(udp4close, "UDP/IPv4 sockets closed", "UDP4Close");
SET_SOCKSTATDESC(udp6close, "UDP/IPv6 sockets closed", "UDP6Close");
SET_SOCKSTATDESC(tcp4close, "TCP/IPv4 sockets closed", "TCP4Close");
SET_SOCKSTATDESC(tcp6close, "TCP/IPv6 sockets closed", "TCP6Close");
- SET_SOCKSTATDESC(fdwatchclose, "FDwatch sockets closed",
- "FDWatchClose");
- SET_SOCKSTATDESC(rawclose, "Raw sockets closed", "RawClose");
SET_SOCKSTATDESC(udp4bindfail, "UDP/IPv4 socket bind failures",
"UDP4BindFail");
SET_SOCKSTATDESC(udp6bindfail, "UDP/IPv6 socket bind failures",
"TCP4BindFail");
SET_SOCKSTATDESC(tcp6bindfail, "TCP/IPv6 socket bind failures",
"TCP6BindFail");
- SET_SOCKSTATDESC(fdwatchbindfail, "FDwatch socket bind failures",
- "FdwatchBindFail");
SET_SOCKSTATDESC(udp4connectfail, "UDP/IPv4 socket connect failures",
"UDP4ConnFail");
SET_SOCKSTATDESC(udp6connectfail, "UDP/IPv6 socket connect failures",
"TCP4ConnFail");
SET_SOCKSTATDESC(tcp6connectfail, "TCP/IPv6 socket connect failures",
"TCP6ConnFail");
- SET_SOCKSTATDESC(fdwatchconnectfail, "FDwatch socket connect failures",
- "FDwatchConnFail");
SET_SOCKSTATDESC(udp4connect, "UDP/IPv4 connections established",
"UDP4Conn");
SET_SOCKSTATDESC(udp6connect, "UDP/IPv6 connections established",
"TCP4Conn");
SET_SOCKSTATDESC(tcp6connect, "TCP/IPv6 connections established",
"TCP6Conn");
- SET_SOCKSTATDESC(fdwatchconnect,
- "FDwatch domain connections established",
- "FDwatchConn");
SET_SOCKSTATDESC(tcp4acceptfail, "TCP/IPv4 connection accept failures",
"TCP4AcceptFail");
SET_SOCKSTATDESC(tcp6acceptfail, "TCP/IPv6 connection accept failures",
SET_SOCKSTATDESC(udp6sendfail, "UDP/IPv6 send errors", "UDP6SendErr");
SET_SOCKSTATDESC(tcp4sendfail, "TCP/IPv4 send errors", "TCP4SendErr");
SET_SOCKSTATDESC(tcp6sendfail, "TCP/IPv6 send errors", "TCP6SendErr");
- SET_SOCKSTATDESC(fdwatchsendfail, "FDwatch send errors",
- "FDwatchSendErr");
SET_SOCKSTATDESC(udp4recvfail, "UDP/IPv4 recv errors", "UDP4RecvErr");
SET_SOCKSTATDESC(udp6recvfail, "UDP/IPv6 recv errors", "UDP6RecvErr");
SET_SOCKSTATDESC(tcp4recvfail, "TCP/IPv4 recv errors", "TCP4RecvErr");
SET_SOCKSTATDESC(tcp6recvfail, "TCP/IPv6 recv errors", "TCP6RecvErr");
- SET_SOCKSTATDESC(fdwatchrecvfail, "FDwatch recv errors",
- "FDwatchRecvErr");
- SET_SOCKSTATDESC(rawrecvfail, "Raw recv errors", "RawRecvErr");
SET_SOCKSTATDESC(udp4active, "UDP/IPv4 sockets active", "UDP4Active");
SET_SOCKSTATDESC(udp6active, "UDP/IPv6 sockets active", "UDP6Active");
SET_SOCKSTATDESC(tcp4active, "TCP/IPv4 sockets active", "TCP4Active");
SET_SOCKSTATDESC(tcp6active, "TCP/IPv6 sockets active", "TCP6Active");
- SET_SOCKSTATDESC(rawactive, "Raw sockets active", "RawActive");
INSIST(i == isc_sockstatscounter_max);
/* Initialize DNSSEC statistics */
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Socket I/O statistics counters are defined per socket type, which are
-``UDP4`` (UDP/IPv4), ``UDP6`` (UDP/IPv6), ``TCP4`` (TCP/IPv4), ``TCP6``
-(TCP/IPv6), and ``FDwatch`` (sockets opened
-outside the socket module). In the following list, ``<TYPE>`` represents
+``UDP4`` (UDP/IPv4), ``UDP6`` (UDP/IPv6), ``TCP4`` (TCP/IPv4), and ``TCP6``
+(TCP/IPv6). In the following list, ``<TYPE>`` represents
a socket type. Not all counters are available for all socket types;
exceptions are noted in the descriptions.
``<TYPE>Open``
- This indicates the number of sockets opened successfully. This counter does not apply to the ``FDwatch`` type.
+ This indicates the number of sockets opened successfully.
``<TYPE>OpenFail``
- This indicates the number of failures to open sockets. This counter does not apply to the ``FDwatch`` type.
+ This indicates the number of failures to open sockets.
``<TYPE>Close``
This indicates the number of closed sockets.
This indicates the number of connections established successfully.
``<TYPE>AcceptFail``
- This indicates the number of failures to accept incoming connection requests. This counter does not apply to the ``UDP`` and ``FDwatch`` types.
+ This indicates the number of failures to accept incoming connection requests. This counter does not apply to the ``UDP`` type.
``<TYPE>Accept``
- This indicates the number of incoming connections successfully accepted. This counter does not apply to the ``UDP`` and ``FDwatch`` types.
+ This indicates the number of incoming connections successfully accepted. This counter does not apply to the ``UDP`` type.
``<TYPE>SendErr``
This indicates the number of errors in socket send operations.
isc_sockstatscounter_udp6close,
isc_sockstatscounter_tcp4close,
isc_sockstatscounter_tcp6close,
- isc_sockstatscounter_fdwatchclose,
isc_sockstatscounter_udp4bindfail,
isc_sockstatscounter_udp6bindfail,
isc_sockstatscounter_tcp4bindfail,
isc_sockstatscounter_tcp6bindfail,
- isc_sockstatscounter_fdwatchbindfail,
isc_sockstatscounter_udp4connect,
isc_sockstatscounter_udp6connect,
isc_sockstatscounter_tcp4connect,
isc_sockstatscounter_tcp6connect,
- isc_sockstatscounter_fdwatchconnect,
isc_sockstatscounter_udp4connectfail,
isc_sockstatscounter_udp6connectfail,
isc_sockstatscounter_tcp4connectfail,
isc_sockstatscounter_tcp6connectfail,
- isc_sockstatscounter_fdwatchconnectfail,
isc_sockstatscounter_tcp4accept,
isc_sockstatscounter_tcp6accept,
isc_sockstatscounter_udp6sendfail,
isc_sockstatscounter_tcp4sendfail,
isc_sockstatscounter_tcp6sendfail,
- isc_sockstatscounter_fdwatchsendfail,
isc_sockstatscounter_udp4recvfail,
isc_sockstatscounter_udp6recvfail,
isc_sockstatscounter_tcp4recvfail,
isc_sockstatscounter_tcp6recvfail,
- isc_sockstatscounter_fdwatchrecvfail,
isc_sockstatscounter_udp4active,
isc_sockstatscounter_udp6active,