ng_sscfu - netgraph SSCF at the UNI node type
After creation of the node, the SSCF instance must be created by sending an ``enable'' message to the node. If the node is enabled, default SSCOP parameters can be retrieved and set in the corresponding SSCOP instance.
The node is shut down either by a NGM_SHUTDOWN message, or when all hooks are disconnected.
struct sscfu_arg { uint32_t sig; u_char data[]; };
The sig field is one of the following signals:
enum saal_sig { SAAL_ESTABLISH_request, /* U -> SAAL: (UU) */ SAAL_ESTABLISH_indication, /* SAAL -> U: (UU) */ SAAL_ESTABLISH_confirm, /* SAAL -> U: (UU) */ SAAL_RELEASE_request, /* U -> SAAL: (UU) */ SAAL_RELEASE_confirm, /* SAAL -> U: */ SAAL_RELEASE_indication, /* SAAL -> U: (UU) */ SAAL_DATA_request, /* U -> SAAL: (DATA) */ SAAL_DATA_indication, /* SAAL -> U: (DATA) */ SAAL_UDATA_request, /* U -> SAAL: (UDATA) */ SAAL_UDATA_indication, /* SAAL -> U: (UDATA) */ };
The arrows in the comment show the direction of the signal, whether it is a signal that comes out of the node (`->' ) or is sent by the node user to the node (`<-' ) The type of the data expected for the signal is specified in parentheses. This data starts at the data field of the message structure.
If the lower hook is disconnected and the node is enabled, the protocol state is reset.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |