mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
mdoc(7) police: in mdocNG, -offset and -width values without scaling
indicator are treated as strings, so "-offset 0" will set the offset to the width of the string "0", as opposed to "no offset". TIP: if offset is not needed, the -offset clause may be omitted.
This commit is contained in:
parent
af4878847e
commit
3f610476ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74039
@ -103,7 +103,7 @@ Set the node configuration.
|
||||
This command takes a
|
||||
.Dv "struct ng_bridge_config"
|
||||
as an argument:
|
||||
.Bd -literal -offset 0
|
||||
.Bd -literal -offset 0n
|
||||
/* Node configuration structure */
|
||||
struct ng_bridge_config {
|
||||
u_char ipfw[NG_BRIDGE_MAX_LINKS]; /* enable ipfw */
|
||||
@ -152,7 +152,7 @@ returns a
|
||||
.Dv "struct ng_bridge_link_stats"
|
||||
containing statistics for the corresponding link, which must be
|
||||
currently connected:
|
||||
.Bd -literal -offset 0
|
||||
.Bd -literal -offset 0n
|
||||
/* Statistics structure (one for each link) */
|
||||
struct ng_bridge_link_stats {
|
||||
u_int64_t recvOctets; /* total octets rec'd on link */
|
||||
|
@ -90,7 +90,7 @@ outgoing traffic direction (i.e., for compression and/or encryption).
|
||||
This command takes a
|
||||
.Dv "struct ng_mppc_config"
|
||||
as an argument:
|
||||
.Bd -literal -offset 0
|
||||
.Bd -literal -offset 0n
|
||||
/* Length of MPPE key */
|
||||
#define MPPE_KEY_LEN 16
|
||||
|
||||
|
@ -114,7 +114,7 @@ following:
|
||||
Sets the node configuration using a
|
||||
.Dv "struct ng_one2many_link_config"
|
||||
as the control message argument:
|
||||
.Bd -literal -offset 0
|
||||
.Bd -literal -offset 0n
|
||||
/* Node configuration structure */
|
||||
struct ng_one2many_config {
|
||||
u_int32_t xmitAlg; /* how to distribute packets */
|
||||
@ -143,7 +143,7 @@ returns a
|
||||
containing statistics for the corresponding
|
||||
.Dv many
|
||||
link, which may or may not be currently connected:
|
||||
.Bd -literal -offset 0
|
||||
.Bd -literal -offset 0n
|
||||
/* Statistics structure (one for each link) */
|
||||
struct ng_one2many_link_stats {
|
||||
u_int64_t recvOctets; /* total octets rec'd on link */
|
||||
@ -177,7 +177,7 @@ corresponding to networking interfaces
|
||||
.Dv fxp0
|
||||
through
|
||||
.Dv fxp3 :
|
||||
.Bd -literal -offset 0
|
||||
.Bd -literal -offset 0n
|
||||
# Plumb nodes together
|
||||
ngctl mkpeer fxp0: one2many upper one
|
||||
ngctl connect fxp0: fxp0:upper lower many0
|
||||
|
@ -292,7 +292,7 @@ is active until the corresponding hook is also connected.
|
||||
This command takes a
|
||||
.Dv "struct ng_ppp_node_config"
|
||||
as an argument:
|
||||
.Bd -literal -offset 0
|
||||
.Bd -literal -offset 0n
|
||||
/* Per-link config structure */
|
||||
struct ng_ppp_link_config {
|
||||
u_char enableLink; /* enable this link */
|
||||
|
@ -85,7 +85,7 @@ This command resets and configures the node for a session.
|
||||
This command takes a
|
||||
.Dv "struct ng_pptpgre_conf"
|
||||
as an argument:
|
||||
.Bd -literal -offset 0
|
||||
.Bd -literal -offset 0n
|
||||
/* Configuration for a session */
|
||||
struct ng_pptpgre_conf {
|
||||
u_char enabled; /* enables traffic flow */
|
||||
|
Loading…
Reference in New Issue
Block a user