Virgin import of NgATM user part 1.2
This commit is contained in:
parent
24dc798a69
commit
4e4a36d5f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/ngatm/dist/; revision=146532
@ -29,10 +29,10 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $Begemot: libunimsg/man/libngatm.3,v 1.4 2004/07/08 08:21:42 brandt Exp $
|
.\" $Begemot: libunimsg/man/libngatm.3,v 1.5 2005/05/23 12:00:07 brandt_h Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd July 7, 2004
|
.Dd May 23, 2005
|
||||||
.Dt libngatm 3
|
.Dt LIBNGATM 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm libngatm
|
.Nm libngatm
|
||||||
|
@ -26,10 +26,10 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $Begemot: libunimsg/man/uniaddr.3,v 1.3 2004/07/08 08:21:42 brandt Exp $
|
.\" $Begemot: libunimsg/man/uniaddr.3,v 1.5 2005/05/23 12:04:55 brandt_h Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd October 30, 2003
|
.Dd May 23, 2005
|
||||||
.Dt uniaddr 3
|
.Dt UNIADDR 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm unimsg ,
|
.Nm unimsg ,
|
||||||
@ -120,6 +120,6 @@ is 2 the last 11 bytes must be zero.
|
|||||||
The function returns 0 on success and -1 when the NSAP address was not an
|
The function returns 0 on success and -1 when the NSAP address was not an
|
||||||
embedded E.164 NSAP or one of the additional checks failed.
|
embedded E.164 NSAP or one of the additional checks failed.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr libngatm 3 ,
|
.Xr libngatm 3
|
||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
.An Hartmut Brandt Aq harti@freebsd.org
|
.An Hartmut Brandt Aq harti@freebsd.org
|
||||||
|
@ -26,28 +26,28 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $Begemot: libunimsg/man/unifunc.3,v 1.3 2004/07/08 08:21:43 brandt Exp $
|
.\" $Begemot: libunimsg/man/unifunc.3,v 1.5 2005/05/23 12:04:55 brandt_h Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd October 30, 2003
|
.Dd May 23, 2005
|
||||||
.Dt unifunc 3
|
.Dt UNIFUNC 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm libngatm
|
.Nm libngatm ,
|
||||||
.Nm uni_decode
|
.Nm uni_decode ,
|
||||||
.Nm uni_decode_head
|
.Nm uni_decode_head ,
|
||||||
.Nm uni_decode_body
|
.Nm uni_decode_body ,
|
||||||
.Nm uni_decode_ie_hdr
|
.Nm uni_decode_ie_hdr ,
|
||||||
.Nm uni_decode_ie_body
|
.Nm uni_decode_ie_body ,
|
||||||
.Nm uni_encode
|
.Nm uni_encode ,
|
||||||
.Nm uni_encode_msg_hdr
|
.Nm uni_encode_msg_hdr ,
|
||||||
.Nm uni_encode_ie
|
.Nm uni_encode_ie ,
|
||||||
.Nm uni_encode_ie_hdr
|
.Nm uni_encode_ie_hdr ,
|
||||||
.Nm uni_check_ie
|
.Nm uni_check_ie ,
|
||||||
.Nm uni_print_cref
|
.Nm uni_print_cref ,
|
||||||
.Nm uni_print_msghdr
|
.Nm uni_print_msghdr ,
|
||||||
.Nm uni_print
|
.Nm uni_print ,
|
||||||
.Nm uni_print_ie
|
.Nm uni_print_ie ,
|
||||||
.Nm uni_initcx
|
.Nm uni_initcx ,
|
||||||
.Nm uni_print_cx
|
.Nm uni_print_cx
|
||||||
.Nd "ATM signalling library - message handling functions"
|
.Nd "ATM signalling library - message handling functions"
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
@ -94,7 +94,7 @@ The
|
|||||||
library handles UNI 4.0 messages.
|
library handles UNI 4.0 messages.
|
||||||
For each information element and message
|
For each information element and message
|
||||||
type the header files contain a structure definition.
|
type the header files contain a structure definition.
|
||||||
Additionally there
|
Additionally there
|
||||||
are a number of help structures and a global context structure for some
|
are a number of help structures and a global context structure for some
|
||||||
of the library functions.
|
of the library functions.
|
||||||
This document describes the functions that are
|
This document describes the functions that are
|
||||||
|
@ -26,10 +26,10 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" Author: Hartmut Brandt <harti@freebsd.org>
|
.\" Author: Hartmut Brandt <harti@freebsd.org>
|
||||||
.\"
|
.\"
|
||||||
.\" $Begemot: libunimsg/man/unimsg.3,v 1.2 2003/08/21 16:01:08 hbb Exp $
|
.\" $Begemot: libunimsg/man/unimsg.3,v 1.3 2005/05/23 12:00:09 brandt_h Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd August 23, 2002
|
.Dd May 23, 2005
|
||||||
.Dt unimsg 3
|
.Dt UNIMSG 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm uni_msg_len ,
|
.Nm uni_msg_len ,
|
||||||
@ -192,8 +192,8 @@ The function
|
|||||||
.Fn uni_msg_append8
|
.Fn uni_msg_append8
|
||||||
appends one byte to the message and the function
|
appends one byte to the message and the function
|
||||||
.Fn uni_msg_append32
|
.Fn uni_msg_append32
|
||||||
appends a 32-bit value in network byte order to the message (
|
appends a 32-bit value in network byte order to the message
|
||||||
.Fa b_wptr
|
.Fa ( b_wptr
|
||||||
needs not to be aligned). All three functions call
|
needs not to be aligned). All three functions call
|
||||||
.Fn uni_msg_ensure
|
.Fn uni_msg_ensure
|
||||||
to make sure, that the buffer contents fit into the message. They
|
to make sure, that the buffer contents fit into the message. They
|
||||||
|
@ -26,10 +26,10 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" Author: Hartmut Brandt <harti@freebsd.org>
|
.\" Author: Hartmut Brandt <harti@freebsd.org>
|
||||||
.\"
|
.\"
|
||||||
.\" $Begemot: libunimsg/man/unisap.3,v 1.2 2003/08/21 16:01:08 hbb Exp $
|
.\" $Begemot: libunimsg/man/unisap.3,v 1.4 2005/05/23 12:00:10 brandt_h Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd August 23, 2002
|
.Dd May 23, 2005
|
||||||
.Dt unisap 3
|
.Dt UNISAP 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm unimsg ,
|
.Nm unimsg ,
|
||||||
@ -106,7 +106,7 @@ struct uni_sap {
|
|||||||
that consists of 5 elements matching different information elements in
|
that consists of 5 elements matching different information elements in
|
||||||
the SETUP message. Each of these elements has a tag that defines how
|
the SETUP message. Each of these elements has a tag that defines how
|
||||||
the SVE is to be matched with the information element. The tag is one of
|
the SVE is to be matched with the information element. The tag is one of
|
||||||
.Bl -tag -widht ".It Dv UNISVE_PRESENT"
|
.Bl -tag -width ".Dv UNISVE_PRESENT"
|
||||||
.It Dv UNISVE_ABSENT
|
.It Dv UNISVE_ABSENT
|
||||||
The information element has to absent from the SETUP message.
|
The information element has to absent from the SETUP message.
|
||||||
.It Dv UNISVE_PRESENT
|
.It Dv UNISVE_PRESENT
|
||||||
@ -165,7 +165,7 @@ Where the
|
|||||||
.Fa user
|
.Fa user
|
||||||
fields is matched only if the
|
fields is matched only if the
|
||||||
.Fa proto
|
.Fa proto
|
||||||
field specifies
|
field specifies
|
||||||
.Dv UNI_BLLI_L2_USER .
|
.Dv UNI_BLLI_L2_USER .
|
||||||
The layer 3 SVE is:
|
The layer 3 SVE is:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
@ -222,7 +222,7 @@ The function
|
|||||||
checks a complete SAP and returns one of the above codes.
|
checks a complete SAP and returns one of the above codes.
|
||||||
.Pp
|
.Pp
|
||||||
There is a definition
|
There is a definition
|
||||||
.Dv UNISVE_ERRSTR
|
.Dv UNISVE_ERRSTR
|
||||||
that evaluates to a comma separated list of strings that can be used
|
that evaluates to a comma separated list of strings that can be used
|
||||||
to initializes an array of char pointers to map the error codes into
|
to initializes an array of char pointers to map the error codes into
|
||||||
human readable strings.
|
human readable strings.
|
||||||
@ -250,6 +250,6 @@ Finally the function
|
|||||||
is used to match a SAP against the information elements from a SETUP message.
|
is used to match a SAP against the information elements from a SETUP message.
|
||||||
It returns 1 if they match and 0 otherwise.
|
It returns 1 if they match and 0 otherwise.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr libunimsg 3 ,
|
.Xr libunimsg 3
|
||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
.An Hartmut Brandt Aq harti@freebsd.org
|
.An Hartmut Brandt Aq harti@freebsd.org
|
||||||
|
@ -26,10 +26,10 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $Begemot: libunimsg/man/unistruct.3,v 1.3 2004/07/08 08:21:43 brandt Exp $
|
.\" $Begemot: libunimsg/man/unistruct.3,v 1.4 2005/05/23 12:00:10 brandt_h Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd October 30, 2003
|
.Dd May 23, 2005
|
||||||
.Dt unistruct 3
|
.Dt UNISTRUCT 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm libngatm
|
.Nm libngatm
|
||||||
@ -46,7 +46,7 @@ The
|
|||||||
library handles UNI 4.0 messages.
|
library handles UNI 4.0 messages.
|
||||||
For each information element and message
|
For each information element and message
|
||||||
type the header files contain a structure definition.
|
type the header files contain a structure definition.
|
||||||
Additionally there
|
Additionally there
|
||||||
are a number of help structures and a global context structure for some
|
are a number of help structures and a global context structure for some
|
||||||
of the library functions.
|
of the library functions.
|
||||||
This document only describes the common structures.
|
This document only describes the common structures.
|
||||||
@ -116,7 +116,7 @@ is used for error processing and is one of:
|
|||||||
.It Dv UNI_IEACT_CLEAR
|
.It Dv UNI_IEACT_CLEAR
|
||||||
clear call
|
clear call
|
||||||
.It Dv UNI_IEACT_IGNORE
|
.It Dv UNI_IEACT_IGNORE
|
||||||
ignore IE and proceed
|
ignore IE and proceed
|
||||||
.It Dv UNI_IEACT_REPORT
|
.It Dv UNI_IEACT_REPORT
|
||||||
ignore IE, report and proceed
|
ignore IE, report and proceed
|
||||||
.It Dv UNI_IEACT_MSG_IGNORE
|
.It Dv UNI_IEACT_MSG_IGNORE
|
||||||
@ -311,7 +311,7 @@ The size of tabulation to use in printing.
|
|||||||
4 is a good value.
|
4 is a good value.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr libunimsg 3 ,
|
.Xr libunimsg 3
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
This implementation conforms to the applicable ITU-T
|
This implementation conforms to the applicable ITU-T
|
||||||
recommendations and ATM Forum standards with the exception of some limitations
|
recommendations and ATM Forum standards with the exception of some limitations
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Begemot: libunimsg/snmp_atm/atm.h,v 1.2 2004/08/11 07:55:22 brandt Exp $
|
* $Begemot: libunimsg/snmp_atm/atm.h,v 1.3 2005/05/23 11:46:46 brandt_h Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -36,8 +36,8 @@
|
|||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <net/if_mib.h>
|
#include <net/if_mib.h>
|
||||||
|
|
||||||
#include <bsnmp/snmpmod.h>
|
#include "snmpmod.h"
|
||||||
#include <bsnmp/snmp_mibII.h>
|
#include "snmp_mibII.h"
|
||||||
#include "snmp_atm.h"
|
#include "snmp_atm.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -29,10 +29,10 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $Begemot: libunimsg/snmp_atm/snmp_atm.3,v 1.1 2004/07/20 16:30:03 brandt Exp $
|
.\" $Begemot: libunimsg/snmp_atm/snmp_atm.3,v 1.2 2005/05/23 12:00:29 brandt_h Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd July 20, 2004
|
.Dd May 23, 2005
|
||||||
.Dt snmp_atm 3
|
.Dt SNMP_ATM 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm atmif_event_f ,
|
.Nm atmif_event_f ,
|
||||||
@ -207,11 +207,12 @@ The description of the MIB tree implemented by
|
|||||||
.Nm .
|
.Nm .
|
||||||
.It Pa @MIBSPATH@BEGEMOT-ATM.txt
|
.It Pa @MIBSPATH@BEGEMOT-ATM.txt
|
||||||
This is the MIB that is implemented by this module.
|
This is the MIB that is implemented by this module.
|
||||||
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr bsnmpd 1 ,
|
.Xr bsnmpd 1 ,
|
||||||
.Xr snmpmod 3 ,
|
.Xr gensnmptree 1 ,
|
||||||
.Xr snmp_mibII 3 ,
|
.Xr snmp_mibII 3 ,
|
||||||
.Xr snmp_netgraph 3 ,
|
.Xr snmpmod 3 ,
|
||||||
.Xr gensnmptree 1
|
.Xr snmp_netgraph 3
|
||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
.An Hartmut Brandt Aq harti@freebsd.org
|
.An Hartmut Brandt Aq harti@freebsd.org
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Begemot: libunimsg/snmp_atm/snmp_atm.c,v 1.2 2004/08/06 17:30:40 brandt Exp $
|
* $Begemot: libunimsg/snmp_atm/snmp_atm.c,v 1.3 2005/05/23 11:46:46 brandt_h Exp $
|
||||||
*
|
*
|
||||||
* SNMP module for ATM hardware interfaces.
|
* SNMP module for ATM hardware interfaces.
|
||||||
*/
|
*/
|
||||||
@ -58,7 +58,7 @@ struct atmif_list atmif_list = TAILQ_HEAD_INITIALIZER(atmif_list);
|
|||||||
static int started;
|
static int started;
|
||||||
|
|
||||||
/* last time table was changed */
|
/* last time table was changed */
|
||||||
static uint32_t last_change;
|
static uint64_t last_change;
|
||||||
|
|
||||||
/* for the registration */
|
/* for the registration */
|
||||||
static const struct asn_oid oid_begemotAtm = OIDX_begemotAtm;
|
static const struct asn_oid oid_begemotAtm = OIDX_begemotAtm;
|
||||||
@ -271,6 +271,7 @@ attach_if(struct mibif *ifp)
|
|||||||
|
|
||||||
aif->pub.ifp = ifp;
|
aif->pub.ifp = ifp;
|
||||||
aif->index = ifp->index;
|
aif->index = ifp->index;
|
||||||
|
TAILQ_INIT(&aif->notify);
|
||||||
|
|
||||||
if (atmif_sys_attach_if(aif)) {
|
if (atmif_sys_attach_if(aif)) {
|
||||||
free(aif);
|
free(aif);
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Begemot: libunimsg/sscop/common.c,v 1.4 2004/07/08 08:22:27 brandt Exp $
|
* $Begemot: libunimsg/sscop/common.c,v 1.5 2005/05/23 11:46:16 brandt_h Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Begemot: libunimsg/sscop/common.h,v 1.4 2004/07/08 08:22:27 brandt Exp $
|
* $Begemot: libunimsg/sscop/common.h,v 1.5 2005/05/23 11:46:16 brandt_h Exp $
|
||||||
*
|
*
|
||||||
* Common declaration for the SAAL programs.
|
* Common declaration for the SAAL programs.
|
||||||
*/
|
*/
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Begemot: libunimsg/sscop/sscop_main.c,v 1.4 2004/07/08 08:22:28 brandt Exp $
|
* $Begemot: libunimsg/sscop/sscop_main.c,v 1.5 2005/05/23 11:46:17 brandt_h Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user