LIBNGATM(3) BSD Library Functions Manual LIBNGATM(3)NAME
libngatm -- ATM signalling library
LIBRARY
Begemot ATM signalling library (libngatm, -lngatm)
DESCRIPTION
The Begemot UNI signalling library handles message decoding and encoding as well as the Q.2110 and Q.2120 transport protocols and adaptation
layers, and ATM-Forum UNI 4.0 compliant signalling. Because of this complexity the description is broken down in several man pages:
unimsg(3)
Describes a data structure and functions for handling of variable sized messages.
unistruct(3)
describes data structures for the decoding, encoding and printing functions in the library.
unifunc(3)
describes the decoding, encoding and printing functions.
uniaddr(3)
describes address structures and handling functions.
unisap(3)SEE ALSO sscop(1)STANDARDS
This implementation conforms to the applicable ITU-T recommendations and ATM Forum standards.
AUTHORS
Hartmut Brandt <harti@FreeBSD.org>
BSD May 23, 2005 BSD
Check Out this Related Man Page
UNIADDR(3) BSD Library Functions Manual UNIADDR(3)NAME
unimsg, uni_str2nsap, uni_nsap2str, uni_prefix2str, uni_e1642nsap, uni_nsap2e164 -- ATM signalling library - address handling
LIBRARY
Begemot ATM signalling library (libunimsg, -lunimsg)
SYNOPSIS
#include <netnatm/addr.h>
int
uni_str2nsap(u_char *nsap, const char *str);
void
uni_nsap2str(char *str, const u_char *nsap, int dots);
void
uni_prefix2str(char *str, const u_char *prefix, u_int len, int dots);
int
uni_e1642nsap(u_char *nsap, const char *e164);
int
uni_nsap2e164(char *e164, const u_char *nsap, int check);
DESCRIPTION
The UNI message library contains a number of utility functions to handle NSAP and E.164 addresses.
The function uni_str2nsap() parses a string and interprets it as an NSAP address. The string should consist of exact 40 hexadecimal digits
(upper and lower case are allowed) and any number of dots at any position. Any other character is illegal. The resulting NSAP address is
written to the buffer pointed to by nsap. This buffer should be at least 20 bytes. On success the funtion returns 0. If an parsing error
happens -1 is returned.
The function uni_nsap2str() converts the NSAP address pointed to by nsap into a string. For some commonly used NSAP formats (those with
leading octets 0x39, 0x45 or 0x47) dots may be inserted to make the address more readable by passing a non-0 value in dots. The buffer
pointed to by str should be large enough to hold the resulting string plus the terminating NUL. A size of 80 byte is large enough for all
cases.
The function uni_prefix2str() converts an NSAP prefix to a string. The length of the NSAP prefix in bytes is passed in len.
uni_nsap2str(str, nsap, dots) is equivalent to uni_prefix2str(str, nsap, 20, dots).
The function uni_e1642nsap() converts an E.164 address given as an ASCII string to an embedded E.164 NSAP address. The string pointed to by
e164 must consist of at least 1 and not more than 15 ASCII digits. The function returns 0 on success and -1 if the E.164 address was mal-
formed.
The function uni_nsap2e164() extracts the E.164 address from an embedded E.164 NSAP address. The argument check specifies whether the NSAP
address should be checked for correct syntax. If check is 0 the last 11 bytes of the address are ignored. If check is 1 the last 11 bytes
except the selector byte must be zero. If check is 2 the last 11 bytes must be zero. 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.
SEE ALSO libngatm(3)AUTHORS
Hartmut Brandt <harti@FreeBSD.org>
BSD June 14, 2005 BSD
We just recently upgraded our T1 wan link to a 10Mbit ATM link.
Windows pc's seem fine and get great speed, however we have 2 Sco unix box's that seem really slow at FTPing now.
both Sco box's are
SCO OpenServer Enterprise System (ver 5.0.5m)
compaq ML530's
I'm not really sure what to... (4 Replies)
HI all,
If I have 3 lines in variables such as follows
x=Unix Forum
y=Interactive Forum
z=Unix Forum is Best Forum
Now I want to write these 3 lines in a file
so that that file will look like
Unix Forum
Interactive Forum
Unix Forum is Best Forum
How can I do it ? ... (4 Replies)
Just for fun, are you a male or a female?
Thanks for helping out in the demographic survey!
---------- Post updated at 12:20 ---------- Previous update was at 09:39 ----------
FYI:
Summary of Forum Demographics | The UNIX and Linux Forums Blog (14 Replies)
Discussion started by: Neo
14 Replies
4. Post Here to Contact Site Administrators and Moderators
I was wondering if there was support for Tapatalk or Forum Runner? I tried both, Tapatalk found you guys but it crashes when I try to log in. I log in at the computer no problem (as you can tell) but Tapa refuses to log me in. I even cleared all my tapatalk data and still nothing. Thank you for the... (4 Replies)
Hello Forum members
There is no any time parameter on putty so how can I stay my putty ssh session always Alive? So please reply to my querry. I am looking forward from Forum.
Advance Thanks
Siva. (5 Replies)
Discussion started by: workforsiva
5 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi, Admin,
because my English is very poor, So I don't understand very well about 4th of Forum Rules, that is “Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post”.
My question is:
if I created a new thread, and some people reply... (3 Replies)
Hi, I'm John_giova and I'm new in this Forum. Sorry my english, it's not my first language.
So, I'm trying to check the CPU utlization during the video encoding and decoding (making a comparison between SW and HW ) using the SAR tool. According to a past thread I saw as CPU utilization I should... (4 Replies)
Purchased a Sun Surefire V210 Server off eBay. Unable to Access the Terminal Mode via the Terminal MGT. Using Windows 7 home, and downloaded the ConEmu.
The ConEmu brings up a Command line on the PC, and that's it.
Being new to all this, I was expecting a Login prompt to pop up. Read the... (22 Replies)
Hi guys,
I am using slurm to send file to make calculation on a server at my university.
The time limit for these calculation is 5 days but sometimes it is not enough. For this reason I need a clean up function that before the calculation ends copy the unfinished calculation file ( in order to... (5 Replies)
Working on the new badging system, ran across this by accident:
mysql> SELECT views, threadid FROM thread WHERE views > 1000000 ORDER BY views DESC;
+---------+----------+
| views | threadid |
+---------+----------+
| 2105933 | 20364 |
| 1162297 | 37928 |
+---------+----------+... (7 Replies)