diff options
author | mav <mav@FreeBSD.org> | 2007-08-01 20:49:35 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2007-08-01 20:49:35 +0000 |
commit | 86e4cc2cc9e4992ddeb4256ecbd0540fda8d7bb0 (patch) | |
tree | 1830cb41743749db0e716b57fdba4611058a126a /share | |
parent | 7a0a14613bebb3ed0397506e0e2d07c8d61d4816 (diff) | |
download | FreeBSD-src-86e4cc2cc9e4992ddeb4256ecbd0540fda8d7bb0.zip FreeBSD-src-86e4cc2cc9e4992ddeb4256ecbd0540fda8d7bb0.tar.gz |
Add 64bit statistic counters to the ng_ppp node.
64bit counters are needed to simplify traffic accounting and
reduce system load at the big PPP concentrators.
Approved by: re (rwatson), glebius (mentor)
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/ng_ppp.4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/man/man4/ng_ppp.4 b/share/man/man4/ng_ppp.4 index f441c0b..9fd72ca 100644 --- a/share/man/man4/ng_ppp.4 +++ b/share/man/man4/ng_ppp.4 @@ -395,6 +395,10 @@ containing statistics for the corresponding link. Here .Dv NG_PPP_BUNDLE_LINKNUM is a valid link number corresponding to the multi-link bundle. +.It Dv NGM_PPP_GET_LINK_STATS64 +Same as NGM_PPP_GET_LINK_STATS but returns +.Dv "struct ng_ppp_link_stat64" +containing 64bit counters. .It Dv NGM_PPP_CLR_LINK_STATS This command takes a two byte link number as an argument and clears the statistics for that link. @@ -402,6 +406,10 @@ clears the statistics for that link. Same as .Dv NGM_PPP_GET_LINK_STATS , but also atomically clears the statistics as well. +.It Dv NGM_PPP_GETCLR_LINK_STATS64 +Same as NGM_PPP_GETCLR_LINK_STATS but returns +.Dv "struct ng_ppp_link_stat64" +containing 64bit counters. .El .Pp This node type also accepts the control messages accepted by the |