ng_sscfu.4 (130857) | ng_sscfu.4 (131530) |
---|---|
1.\" 2.\" Copyright (c) 2001-2003 3.\" Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 12 unchanged lines hidden (view full) --- 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.\" Author: Hartmut Brandt <harti@freebsd.org> 28.\" | 1.\" 2.\" Copyright (c) 2001-2003 3.\" Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 12 unchanged lines hidden (view full) --- 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.\" Author: Hartmut Brandt <harti@freebsd.org> 28.\" |
29.\" $FreeBSD: head/share/man/man4/ng_sscfu.4 130857 2004-06-21 17:42:49Z mpp $ | 29.\" $FreeBSD: head/share/man/man4/ng_sscfu.4 131530 2004-07-03 18:29:24Z ru $ |
30.\" 31.\" ng_sscfu(4) man page 32.\" 33.Dd October 24, 2003 34.Dt NG_SSCFU 4 35.Os FreeBSD 36.Sh NAME 37.Nm ng_sscfu --- 31 unchanged lines hidden (view full) --- 69.Bl -tag -width upper 70.It Dv lower 71This hook is the interface to the SSCOP. 72The interface expected here is exactly 73that which is exported by the 74.Xr ng_sscop 4 75node type. 76.It Dv upper | 30.\" 31.\" ng_sscfu(4) man page 32.\" 33.Dd October 24, 2003 34.Dt NG_SSCFU 4 35.Os FreeBSD 36.Sh NAME 37.Nm ng_sscfu --- 31 unchanged lines hidden (view full) --- 69.Bl -tag -width upper 70.It Dv lower 71This hook is the interface to the SSCOP. 72The interface expected here is exactly 73that which is exported by the 74.Xr ng_sscop 4 75node type. 76.It Dv upper |
77This is the interface to the UNI. It uses the following message format: | 77This is the interface to the UNI. 78It uses the following message format: |
78.Bd -literal 79struct sscfu_arg { 80 uint32_t sig; 81 u_char data[]; 82}; 83.Ed 84.Pp 85.Fa sig --- 21 unchanged lines hidden (view full) --- 107The type of data expected for the signal is specified in parentheses. 108This data starts at the 109.Fa data 110field of the message structure. 111.El 112.Pp 113If the 114.Dv lower | 79.Bd -literal 80struct sscfu_arg { 81 uint32_t sig; 82 u_char data[]; 83}; 84.Ed 85.Pp 86.Fa sig --- 21 unchanged lines hidden (view full) --- 108The type of data expected for the signal is specified in parentheses. 109This data starts at the 110.Fa data 111field of the message structure. 112.El 113.Pp 114If the 115.Dv lower |
115hook is disconnected and the node is enabled, the protocol state is | 116hook is disconnected and the node is enabled, the protocol state is |
116reset. 117.Sh CONTROL MESSAGES 118The 119.Nm 120node understands the generic messages plus the following: 121.Bl -tag -width xxx | 117reset. 118.Sh CONTROL MESSAGES 119The 120.Nm 121node understands the generic messages plus the following: 122.Bl -tag -width xxx |
122.It Dv NGM_SSCFU_GETDEFPARAM | 123.It Dv NGM_SSCFU_GETDEFPARAM |
123This message returns a 124.Fa sscop_param 125structure, which contains the default parameters for the SSCOP at the 126UNI. 127This structure should be used for a 128.Dv NGM_SSCOP_SETPARAM 129message to the SSCOP node below the SSCF. | 124This message returns a 125.Fa sscop_param 126structure, which contains the default parameters for the SSCOP at the 127UNI. 128This structure should be used for a 129.Dv NGM_SSCOP_SETPARAM 130message to the SSCOP node below the SSCF. |
130.It Dv NGM_SSCFU_ENABLE | 131.It Dv NGM_SSCFU_ENABLE |
131This message creates the actual SSCF instance and initializes it. 132Until this is done, parameters may not be retrieved not set and all message 133received on any hook are discarded. | 132This message creates the actual SSCF instance and initializes it. 133Until this is done, parameters may not be retrieved not set and all message 134received on any hook are discarded. |
134.It Dv NGM_SSCFU_DISABLE | 135.It Dv NGM_SSCFU_DISABLE |
135Destroy the SSCF instance. 136After this all messages on any hooks are discarded. 137.It Dv NGM_SSCFU_GETDEBUG 138Retrieve the debugging flags in an 139.Vt uint32_t . 140.It Dv NGM_SSCFU_SETDEBUG 141Set debugging flags. 142The argument must be an --- 13 unchanged lines hidden --- | 136Destroy the SSCF instance. 137After this all messages on any hooks are discarded. 138.It Dv NGM_SSCFU_GETDEBUG 139Retrieve the debugging flags in an 140.Vt uint32_t . 141.It Dv NGM_SSCFU_SETDEBUG 142Set debugging flags. 143The argument must be an --- 13 unchanged lines hidden --- |