File: x25.7

package info (click to toggle)
cman 0.0.7-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,664 kB
  • ctags: 1,518
  • sloc: perl: 555; sh: 148; makefile: 65
file content (108 lines) | stat: -rw-r--r-- 3,048 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
.\" This man page is Copyright (C) 1998 Heiner Eisen. 
.\" 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.
.\" $Id: x25.7,v 1.1.1.1 2000/12/27 12:25:12 BitBIRD Exp $
.TH X25 4 "1 Dec 1998" "Linux Man Page" "Linux Programmer's Manual" 
.SH 
x25, PF_X25 \- ITU-T X.25 / ISO-8208 Эӿڡ
.SH 
.B #include <sys/socket.h>
.br 
.B #include <linux/x25.h> 
.br
x25_socket = socket(PF_X25, SOCK_SEQPACKET, 0); 
.SH 
X25 sockets Ϊ X.25 ݰЭ飨packet layer protocolṩӿڡ
Ӧóʹñ׼ ITU X.25 
X.25 DTE-DCE ģʽڹ X.25 нͨѶ
X25 socket Ҳû ISO-8208 
X.25 н飨X.25 DTE-DCE ģʽͨѶ
.PP 
Ϣֽı -  socket 
.BR  read(2)
õݿԶ socket Ӧ
.BR write(2)
ݿȫһģ
Ҫں˸ϢƬκ鳤Ϣ
õ X.25 M-bit Уע붮 x.25 ͬ־ָ
ϢСûӲޡ 
鳤Ϣʱʧ
ϵͳԴʱѷdzʱ
X.25 ӽá
.SH ׽ӿڵַ SOCKET ADDRESS
AF_X25 socket ַ struct sockaddr_x25  
ITU-T X.121 淶жַ 
.PP
.RS
.nf
.ta 4n 18n 32n  
struct sockaddr_x25 {
sa_family_t   sx25_family;  /*  AF_X25 */
x25_address   sx25_addr;    /* X.121 ַ */
};
.ta
.fi
.RE
.PP
.I sx25_addr
һβַ
.I x25_addr[]
 
.I sx25_addr.x25_addr[]
 15  ASCII ַ 0 X.121 ַ
ֻʹ `0'  `9' 
.SH ׽ѡ SOCKET OPTIONS
 X.25 ص׽ѡ
ڼΪ
.BR SOL_X25
ʱ
.BR setsockopt(2)
.BR getsockopt(2) 
ȡ 
.TP
.B X25_QBITINCL 
ûǷܹ X.25 Q-bit
(ʸλQualified Data Bit)
Ͳ Ϊ 0 (ȱʡ),
ôݰ Q-bit ݰе Q-bit ԡ
Ϊ 1, ͻͨ׽ִ봫Ϣиһǰõֽڡ
ڴ׽ݣ λֽڵ 0 
ʾӦĶδ Q-bit 1 ෴ 
ͨ׽д루λֽΪ 1 򴫳 Q-bit 
 0  Q-bit
.SH ȱ
кܶ,  X.25 PLP ʵ
.BR CONFIG_EXPERIMENTAL. עں˱ѡд׶Σ
.PP
ֲҳҲơ
.PP
ûиԱõͷļҪںͷļ
.BR linux/x25.h
.B CONFIG_EXPERIMENTAL
ҲʾδĽӿڰ汾ڶƼ𲻼ݡ
.PP
X.25 N-¼Reset eventsᴫû̡
ˣãܻᷢݶʧòκʾ 
.SH 
.BR socket(7),
.BR socket(2).
.PP 
Jonathan Simon Naylor:
\(lqThe Re-Analysis and Re-Implementation of X.25.\(rq
The URL is
.Iftp://ftp.pspt.fi/pub/ham/linux/ax25/x25doc.tgz 
.SH 汾
PF_X25 Э Linux 2.2 . 
.SH [İά]

.B "Redcandle        "
E-mail:
.I redcandle51@chinaren.com
.SH [ݸ] 
20001026
.TP
.B MAN PAGE ƻ:
.I  http://www.cmpp.net/