diff options
author | bz <bz@FreeBSD.org> | 2004-08-03 06:52:55 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2004-08-03 06:52:55 +0000 |
commit | 5b63f751da98ab5dbadacc02675a9aa28607bb79 (patch) | |
tree | 976c9696cf76c92273abe7826705ce192e51891e /share/man/man4/ng_l2tp.4 | |
parent | 30d8b6d6ada8bcd6d6c75d7076b628f4e926cf55 (diff) | |
download | FreeBSD-src-5b63f751da98ab5dbadacc02675a9aa28607bb79.zip FreeBSD-src-5b63f751da98ab5dbadacc02675a9aa28607bb79.tar.gz |
Implement minimalistic L2TP sessions statistics and correct man page
for L2TP tunnel statistics (which do not take an argument sessionID).
Reviewed by: archie
Approved by: pjd (mentor)
Diffstat (limited to 'share/man/man4/ng_l2tp.4')
-rw-r--r-- | share/man/man4/ng_l2tp.4 | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/share/man/man4/ng_l2tp.4 b/share/man/man4/ng_l2tp.4 index a54cd3a..f45484f 100644 --- a/share/man/man4/ng_l2tp.4 +++ b/share/man/man4/ng_l2tp.4 @@ -261,17 +261,27 @@ the current configuration for the corresponding data session as a .Vt "struct ng_l2tp_sess_config" . The corresponding session hook must be connected. .It Dv NGM_L2TP_GET_STATS -This command takes a two byte session ID as an argument and returns a +This command returns a .Vt "struct ng_l2tp_stats" +containing statistics of the L2TP tunnel. +.It Dv NGM_L2TP_CLR_STATS +This command clears the statistics for the L2TP tunnel. +.It Dv NGM_L2TP_GETCLR_STATS +Same as +.Dv NGM_L2TP_GET_STATS , +but also atomically clears the statistics as well. +.It Dv NGM_L2TP_GET_SESSION_STATS +This command takes a two byte session ID as an argument and returns a +.Vt "struct ng_l2tp_session_stats" containing statistics for the corresponding data session. The corresponding session hook must be connected. -.It Dv NGM_L2TP_CLR_STATS +.It Dv NGM_L2TP_CLR_SESSION_STATS This command takes a two byte session ID as an argument and clears the statistics for that data session. The corresponding session hook must be connected. -.It Dv NGM_L2TP_GETCLR_STATS +.It Dv NGM_L2TP_GETCLR_SESSION_STATS Same as -.Dv NGM_L2TP_GET_STATS , +.Dv NGM_L2TP_GET_SESSION_STATS , but also atomically clears the statistics as well. .It Dv NGM_L2TP_SET_SEQ This command sets the sequence numbers of a not yet enabled node. |