diff options
author | glebius <glebius@FreeBSD.org> | 2013-03-21 13:02:43 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-03-21 13:02:43 +0000 |
commit | 128b1093e992e9e67d428b97cb5d9c7efda0fba1 (patch) | |
tree | 1024c1ce7928817a8ce968dc037ac4b806f10cc8 /share | |
parent | 7225171d6609a85a395dfeba1afae16cbb50ba18 (diff) | |
download | FreeBSD-src-128b1093e992e9e67d428b97cb5d9c7efda0fba1.zip FreeBSD-src-128b1093e992e9e67d428b97cb5d9c7efda0fba1.tar.gz |
Document NGM_NAT_LIBALIAS_INFO.
Submitted by: Dmitry Luhtionov <dmitryluhtionov gmail.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/ng_nat.4 | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/share/man/man4/ng_nat.4 b/share/man/man4/ng_nat.4 index 2c7da77..9b3b3fc 100644 --- a/share/man/man4/ng_nat.4 +++ b/share/man/man4/ng_nat.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 1, 2008 +.Dd March 21, 2013 .Dt NG_NAT 4 .Os .Sh NAME @@ -239,6 +239,31 @@ supplied as argument). See .Xr libalias 3 for details. +.It Dv NGM_NAT_LIBALIAS_INFO Pq Ic libaliasinfo +Return internal statistics of +.Xr libalias 3 +instance as +.Vt "struct ng_nat_libalias_info" . +.Bd -literal +struct ng_nat_libalias_info { + uint32_t icmpLinkCount; + uint32_t udpLinkCount; + uint32_t tcpLinkCount; + uint32_t sctpLinkCount; + uint32_t pptpLinkCount; + uint32_t protoLinkCount; + uint32_t fragmentIdLinkCount; + uint32_t fragmentPtrLinkCount; + uint32_t sockCount; +}; +.Ed +In case of +.Nm +failed to retreive a certain counter +from its +.Xr libalias +instance, the corresponding field is returned as +.Va UINT32_MAX . .El .Pp In all redirection messages |