.\" This man page is Copyright (C) 1998 Heiner Eisen.
+.\"
+.\" %%%LICENSE_START(VERBATIM_ONE_PARA)
.\" Permission is granted to distribute possibly modified copies
.\" of this page provided the header is included verbatim,
.\" and in case of nontrivial modification author and date
.\" of the modification is added to the header.
+.\" %%%LICENSE_END
+.\"
.\" $Id: x25.7,v 1.4 1999/05/18 10:35:12 freitag Exp $
-.TH X25 7 2008-08-08 "Linux" "Linux Programmer's Manual"
+.\"
+.TH X25 7 2012-08-05 "Linux" "Linux Programmer's Manual"
.SH NAME
-x25, AF_X25 \- ITU-T X.25 / ISO-8208 protocol interface.
+x25 \- ITU-T X.25 / ISO-8208 protocol interface.
.SH SYNOPSIS
.B #include <sys/socket.h>
.br
(such as socket memory or buffer size limits) become effective.
If that
occurs, the X.25 connection will be reset.
-.SS Socket Addresses
+.SS Socket addresses
The
.B AF_X25
socket address family uses the
.I x25_addr[]
to be interpreted as a null-terminated string.
.I sx25_addr.x25_addr[]
-consists of up to 15 (not counting the terminating 0) ASCII
+consists of up to 15 (not counting the terminating null byte) ASCII
characters forming the X.121 address.
Only the decimal digit characters from \(aq0\(aq to \(aq9\(aq are allowed.
-.SS Socket Options
+.SS Socket options
The following X.25-specific socket options can be set by using
.BR setsockopt (2)
and read with
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
+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 byte is 0
+If the first byte is 0,
the Q-bit will not be set.
.SH VERSIONS
The AF_X25 protocol family is a new feature of Linux 2.2.
X.25 N-Reset events are not propagated to the user process yet.
Thus,
if a reset occurred, data might be lost without notice.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR socket (2),
.BR socket (7)
.PP
Jonathan Simon Naylor:
\(lqThe Re-Analysis and Re-Implementation of X.25.\(rq
The URL is
-.RS
-.I ftp://ftp.pspt.fi/pub/ham/linux/ax25/x25doc.tgz
-.RE
+.UR ftp://ftp.pspt.fi\:/pub\:/ham\:/linux\:/ax25\:/x25doc.tgz
+.UE .
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.