diff options
author | ed <ed@FreeBSD.org> | 2012-02-12 18:29:56 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-02-12 18:29:56 +0000 |
commit | 23524b572c9490078007a68a1760546e22a8184d (patch) | |
tree | ac73d0fee5bb41748009d87a44b179ab6b7d87bc /share/man/man4/ng_l2tp.4 | |
parent | f5c5ba680655abbc307ee2fa88397fc168cbdcad (diff) | |
download | FreeBSD-src-23524b572c9490078007a68a1760546e22a8184d.zip FreeBSD-src-23524b572c9490078007a68a1760546e22a8184d.tar.gz |
Globally replace u_int*_t from (non-contributed) man pages.
The reasoning behind this, is that if we are consistent in our
documentation about the uint*_t stuff, people will be less tempted to
write new code that uses the non-standard types.
I am not going to bump the man page dates, as these changes can be
considered style nits. The meaning of the man pages is unaffected.
MFC after: 1 month
Diffstat (limited to 'share/man/man4/ng_l2tp.4')
-rw-r--r-- | share/man/man4/ng_l2tp.4 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/share/man/man4/ng_l2tp.4 b/share/man/man4/ng_l2tp.4 index 49fedf1..c556a49 100644 --- a/share/man/man4/ng_l2tp.4 +++ b/share/man/man4/ng_l2tp.4 @@ -115,11 +115,11 @@ as an argument: struct ng_l2tp_config { u_char enabled; /* enables traffic flow */ u_char match_id; /* tunnel id must match 'tunnel_id' */ - u_int16_t tunnel_id; /* local tunnel id */ - u_int16_t peer_id; /* peer's tunnel id */ - u_int16_t peer_win; /* peer's max recv window size */ - u_int16_t rexmit_max; /* max retransmits before failure */ - u_int16_t rexmit_max_to; /* max delay between retransmits */ + uint16_t tunnel_id; /* local tunnel id */ + uint16_t peer_id; /* peer's tunnel id */ + uint16_t peer_win; /* peer's max recv window size */ + uint16_t rexmit_max; /* max retransmits before failure */ + uint16_t rexmit_max_to; /* max delay between retransmits */ }; .Ed .Pp @@ -197,8 +197,8 @@ The argument is a .Bd -literal /* Configuration for a session hook */ struct ng_l2tp_sess_config { - u_int16_t session_id; /* local session id */ - u_int16_t peer_id; /* peer's session id */ + uint16_t session_id; /* local session id */ + uint16_t peer_id; /* peer's session id */ u_char control_dseq; /* we control data sequencing? */ u_char enable_dseq; /* enable data sequencing? */ u_char include_length; /* include length field? */ |