ng_async.4 (213573) | ng_async.4 (231564) |
---|---|
1.\" Copyright (c) 1996-1999 Whistle Communications, Inc. 2.\" All rights reserved. 3.\" 4.\" Subject to the following obligations and disclaimer of warranty, use and 5.\" redistribution of this software, in source or object code forms, with or 6.\" without modifications are expressly permitted by Whistle Communications; 7.\" provided, however, that: 8.\" 1. Any and all reproductions of the source or object code must include the --- 18 unchanged lines hidden (view full) --- 27.\" SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY 28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY 31.\" OF SUCH DAMAGE. 32.\" 33.\" Author: Archie Cobbs <archie@FreeBSD.org> 34.\" | 1.\" Copyright (c) 1996-1999 Whistle Communications, Inc. 2.\" All rights reserved. 3.\" 4.\" Subject to the following obligations and disclaimer of warranty, use and 5.\" redistribution of this software, in source or object code forms, with or 6.\" without modifications are expressly permitted by Whistle Communications; 7.\" provided, however, that: 8.\" 1. Any and all reproductions of the source or object code must include the --- 18 unchanged lines hidden (view full) --- 27.\" SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY 28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY 31.\" OF SUCH DAMAGE. 32.\" 33.\" Author: Archie Cobbs <archie@FreeBSD.org> 34.\" |
35.\" $FreeBSD: head/share/man/man4/ng_async.4 213573 2010-10-08 12:40:16Z uqs $ | 35.\" $FreeBSD: head/share/man/man4/ng_async.4 231564 2012-02-12 18:29:56Z ed $ |
36.\" $Whistle: ng_async.8,v 1.6 1999/01/25 23:46:25 archie Exp $ 37.\" 38.Dd January 19, 1999 39.Dt NG_ASYNC 4 40.Os 41.Sh NAME 42.Nm ng_async 43.Nd asynchronous framing netgraph node type --- 69 unchanged lines hidden (view full) --- 113.It Dv NGM_ASYNC_CMD_CLR_STATS 114Clears the node statistics. 115.It Dv NGM_ASYNC_CMD_SET_CONFIG 116Sets the node configuration, which is described by a 117.Dv "struct ng_async_cfg" : 118.Bd -literal -offset 4n 119struct ng_async_cfg { 120 u_char enabled; /* Turn encoding on/off */ | 36.\" $Whistle: ng_async.8,v 1.6 1999/01/25 23:46:25 archie Exp $ 37.\" 38.Dd January 19, 1999 39.Dt NG_ASYNC 4 40.Os 41.Sh NAME 42.Nm ng_async 43.Nd asynchronous framing netgraph node type --- 69 unchanged lines hidden (view full) --- 113.It Dv NGM_ASYNC_CMD_CLR_STATS 114Clears the node statistics. 115.It Dv NGM_ASYNC_CMD_SET_CONFIG 116Sets the node configuration, which is described by a 117.Dv "struct ng_async_cfg" : 118.Bd -literal -offset 4n 119struct ng_async_cfg { 120 u_char enabled; /* Turn encoding on/off */ |
121 u_int16_t amru; /* Max receive async frame len */ 122 u_int16_t smru; /* Max receive sync frame len */ 123 u_int32_t accm; /* ACCM encoding */ | 121 uint16_t amru; /* Max receive async frame len */ 122 uint16_t smru; /* Max receive sync frame len */ 123 uint32_t accm; /* ACCM encoding */ |
124}; 125.Ed 126.Pp 127The 128.Dv enabled 129field enables or disables all encoding/decoding functions (default disabled). 130When disabled, the node operates in simple 131.Dq pass through --- 42 unchanged lines hidden --- | 124}; 125.Ed 126.Pp 127The 128.Dv enabled 129field enables or disables all encoding/decoding functions (default disabled). 130When disabled, the node operates in simple 131.Dq pass through --- 42 unchanged lines hidden --- |