IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

x25 (7)

X25(4)                     Linux Programmer's Manual                    X25(4)



NAME
       x25, PF_X25 - ITU-T X.25 / ISO-8208 protocol interface.


SYNOPSIS
       #include<sys/socket.h>
       #include<linux/x25.h>

       x25_socket=socket(PF_X25,SOCK_SEQPACKET,0);


DESCRIPTION
       X25  sockets  provide  an  interface to the X.25 packet layer protocol.
       This allows applications to communicate over a public X.25 data network
       as  standardised by International Telecommunication Union's recommenda-
       tion X.25 (X.25 DTE-DCE mode). X25 sockets can also be used for  commu-
       nication  without  an  intermediate X.25 network (X.25 DTE-DTE mode) as
       described in ISO-8208.

       Message boundaries are  preserved  -  a  read(2)  from  a  socket  will
       retrieve  the  same  chunk  of  data  as  output with the corresponding
       write(2) to the peer socket. When necessary, the kernel takes  care  of
       segmenting  and re-assembling long messages by means of the X.25 M-bit.
       There is no hard-coded upper limit for the message size.  However,  re-
       assembling of a long message might fail if there is a temporary lack of
       system resources or when other constraints (such as  socket  memory  or
       buffer  size limits) become effective. If that occurs, the X.25 connec-
       tion will be reset.

SOCKETADDRESSES
       The AF_X25 socket address family uses the structsockaddr_x25 for  rep-
       resenting network addresses as defined in ITU-T recommendation X.121.

              struct sockaddr_x25 {
                  sa_family_t   sx25_family;  /* must be AF_X25 */
                  x25_address   sx25_addr;    /* X.121 Address */
              };

       sx25_addr  contains  a  char  array x25_addr[] to be interpretated as a
       null-terminated string.  sx25_addr.x25_addr[] consists of up to 15 (not
       counting the terminating 0) ASCII characters forming the X.121 address.
       Only the decimal digit characters from '0' to '9' are allowed.

SOCKETOPTIONS
       The following X.25 specific socket options can be set by using setsock-
       opt(2)  and  read  with  getsockopt(2)  with the level parameter set to
       SOL_X25.

       X25_QBITINCL
              Controls whether the X.25 Q-bit (Qualified Data Bit) is accessi-
              ble  by  the  user.  It expects an integer argument. If set to 0
              (default), the Q-bit is never set for outgoing packets  and  the
              Q-bit of incoming packets is ignored. If set to 1, an additional
              first byte is prepended to each message read from or written  to
              the  socket. For data read from the socket, a 0 first byte indi-
              cates that the Q-bits of the corresponding incoming data packets
              were not set. A first byte with value 1 indicates that the Q-bit
              of the corresponding incoming data  packets  was  set.   If  the
              first  byte  of the data written to the socket is 1 the Q-bit of
              the corresponding outgoing data packets  will  be  set.  If  the
              first bit is 0 the Q-bit will not be set.

BUGS
       Plenty, as the X.25 PLP implementation is CONFIG_EXPERIMENTAL.

       This man page is incomplete.

       There  is  no  dedicated  application programmer's header file yet; you
       need to include the kernel header file  <linux/x25.h>.   CONFIG_EXPERI-
       MENTAL  might  also imply that future versions of the interface are not
       binary compatible.

       X.25 N-Reset events are not propagated to the user process  yet.  Thus,
       if a reset occurred, data might be lost without notice.

SEEALSO
       socket(7), socket(2)

       Jonathan Simon Naylor: "The Re-Analysis and Re-Implementation of X.25."
       The URL is
              ftp://ftp.pspt.fi/pub/ham/linux/ax25/x25doc.tgz

VERSIONS
       The PF_X25 protocol family is a new feature of Linux 2.2.



Linux Man Page                    1998-12-01                            X25(4)

LDPiso_8859-15regex
arpiso_8859-2rtnetlink
asciiiso_8859-7samples
bootiso_8859-9signal
bootparamiso_8859_1socket
capabilitiesiso_8859_15suffixes
charsetsiso_8859_2tcp
ddpiso_8859_7udp
globiso_8859_9unicode
hierkoi8-runits
icmplatin1unix
introlatin2uri
iplocaleurl
ipv6mailaddrutf-8
iso-8859-1manutf8
iso-8859-15mdocx25
iso-8859-2netdevice 
iso-8859-7netlink 
iso-8859-9packet 


ImageMagick 6.5.7.5
ImageMagick image processing studio
Krusader 2.1.0-beta1
Twin-Panel filemanager for KDE3
LilyPond 2.13.7
Music typesetter.
KDevelop 4.0 beta6
Integrated Development Environment for Unix/X11
KDE 4.3.3
Powerful Open Source graphical desktop environment.
Mandriva Linux 2010.0
Linux distribution by Mandriva
Linux Kernel 2.6 2.6.32-rc6
Linux Kernel
WebGUI 7.7.25
A fully featured content management system.
SimplyMEPIS 8.0.12
Run the Linux operating system from your CD or DVD drive
Fedora 12 rc1
Community-supported open source distribution
Free IT Magazines, White Papers, eBooks, and more !
Oracle Magazine

Contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.

Vulnerability Management for Dummies

Get all the Facts and See How to Implement a Successful Vulnerability Management Program.

Website Magazine

Has tapped premier talent in the Internet industry for our content and each and every issue will contain practical advice and insights for website owners.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info