ng_sppp.4 (131472) | ng_sppp.4 (131530) |
---|---|
1.\" Copyright (C) 2003-2004 Cronyx Engineering. 2.\" Copyright (C) 2003-2004 Roman Kurakin <rik@cronyx.ru> 3.\" 4.\" This software is distributed with NO WARRANTIES, not even the implied 5.\" warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 6.\" 7.\" Authors grant any other persons or organisations a permission to use, 8.\" modify and redistribute this software in source and binary forms, 9.\" as long as this message is kept with the software, all derivative 10.\" works or modified versions. 11.\" 12.\" Cronyx Id: ng_sppp.4,v 1.1.2.3 2004/03/30 14:28:34 rik Exp $ | 1.\" Copyright (C) 2003-2004 Cronyx Engineering. 2.\" Copyright (C) 2003-2004 Roman Kurakin <rik@cronyx.ru> 3.\" 4.\" This software is distributed with NO WARRANTIES, not even the implied 5.\" warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 6.\" 7.\" Authors grant any other persons or organisations a permission to use, 8.\" modify and redistribute this software in source and binary forms, 9.\" as long as this message is kept with the software, all derivative 10.\" works or modified versions. 11.\" 12.\" Cronyx Id: ng_sppp.4,v 1.1.2.3 2004/03/30 14:28:34 rik Exp $ |
13.\" $FreeBSD: head/share/man/man4/ng_sppp.4 131472 2004-07-02 19:07:33Z ru $ | 13.\" $FreeBSD: head/share/man/man4/ng_sppp.4 131530 2004-07-03 18:29:24Z ru $ |
14.\" 15.Dd March 29, 2004 16.Dt NG_SPPP 4 17.Os 18.Sh NAME 19.Nm ng_sppp 20.Nd sppp netgraph node type 21.Sh SYNOPSIS 22.In netgraph/ng_sppp.h 23.Sh DESCRIPTION 24An 25.Nm ng_sppp 26node is a 27.Xr netgraph 4 28interface to the original 29.Xr sppp 4 | 14.\" 15.Dd March 29, 2004 16.Dt NG_SPPP 4 17.Os 18.Sh NAME 19.Nm ng_sppp 20.Nd sppp netgraph node type 21.Sh SYNOPSIS 22.In netgraph/ng_sppp.h 23.Sh DESCRIPTION 24An 25.Nm ng_sppp 26node is a 27.Xr netgraph 4 28interface to the original 29.Xr sppp 4 |
30network module for synchronous lines. Currently | 30network module for synchronous lines. 31Currently |
31.Xr sppp 4 32supports PPP and Cisco HDLC protocol. 33An 34.Nm ng_sppp 35node could be considered as an alternative kernel mode ppp 36implementation to 37.Xr mpd ports + 38.Xr ng_ppp 4 --- 30 unchanged lines hidden (view full) --- 69node allows drivers written to the old sppp interface to be rewritten using the 70newer more powerful 71.Xr netgraph 4 72interface and still behave in a compatible manner without supporting both 73network modules. 74.Pp 75An 76.Nm ng_sppp | 32.Xr sppp 4 33supports PPP and Cisco HDLC protocol. 34An 35.Nm ng_sppp 36node could be considered as an alternative kernel mode ppp 37implementation to 38.Xr mpd ports + 39.Xr ng_ppp 4 --- 30 unchanged lines hidden (view full) --- 70node allows drivers written to the old sppp interface to be rewritten using the 71newer more powerful 72.Xr netgraph 4 73interface and still behave in a compatible manner without supporting both 74network modules. 75.Pp 76An 77.Nm ng_sppp |
77node has a single hook named downstream. Usually it is connected directly to | 78node has a single hook named downstream. 79Usually it is connected directly to |
78a device driver hook. 79.Pp 80.Nm ng_sppp 81nodes support the Berkeley Packet Filter (BPF). 82.Sh HOOKS 83This node type supports the following hooks: 84.Pp 85.Bl -tag -width abcdefghijklmnop --- 10 unchanged lines hidden (view full) --- 96struct ng_iface_ifname { 97 char ngif_name[NG_SPPP_IFACE_NAME_MAX + 1]; 98}; 99.Ed 100.El 101.Sh SHUTDOWN 102This node shuts down upon receipt of a 103.Dv NGM_SHUTDOWN | 80a device driver hook. 81.Pp 82.Nm ng_sppp 83nodes support the Berkeley Packet Filter (BPF). 84.Sh HOOKS 85This node type supports the following hooks: 86.Pp 87.Bl -tag -width abcdefghijklmnop --- 10 unchanged lines hidden (view full) --- 98struct ng_iface_ifname { 99 char ngif_name[NG_SPPP_IFACE_NAME_MAX + 1]; 100}; 101.Ed 102.El 103.Sh SHUTDOWN 104This node shuts down upon receipt of a 105.Dv NGM_SHUTDOWN |
104control message. The associated interface is removed and becomes available | 106control message. 107The associated interface is removed and becomes available |
105for use by future 106.Nm ng_sppp 107nodes. 108.Pp 109Unlike most other node types and like 110.Xr ng_iface 4 111does, an 112.Nm ng_sppp --- 39 unchanged lines hidden --- | 108for use by future 109.Nm ng_sppp 110nodes. 111.Pp 112Unlike most other node types and like 113.Xr ng_iface 4 114does, an 115.Nm ng_sppp --- 39 unchanged lines hidden --- |