File: udplite.7

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (159 lines) | stat: -rw-r--r-- 5,462 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
.\" Copyright (c) 2008 by Gerrit Renker <gerrit@erg.abdn.ac.uk>
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date.  The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
.\" the use of the information contained herein.  The author(s) may not
.\" have taken the same level of care in the production of this manual,
.\" which is licensed free of charge, as they might when working
.\" professionally.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.\" $Id: udplite.7,v 1.12 2008/07/23 15:22:22 gerrit Exp gerrit $
.\"
.\" Japanese Version Copyright (c) 2008  Akihiro MOTOKI
.\"         all rights reserved.
.\" Translated 2008-08-21, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.07
.\" 
.TH UDPLITE  7 2008-12-03 "Linux" "Linux Programmer's Manual"
.SH ̾
udplite \- ̤ʥ桼ǡץȥ
.SH 
.B #include <sys/socket.h>
.br
.\" FIXME . see #defines under `BUGS',
.\"        when glibc supports this, add
.\"        #include <netinet/udplite.h>
.sp
.B sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDPLITE);
.SH 
 RFC\ 3828 ˽񤫤Ƥ̤ʥ桼ǡץȥ
(Lightweight User Datagram Protocol; UDP-Lite) μǤ롣

UDP-Lite  UDP (RFC\ 768) γĥǡĹΥå򥵥ݡȤƤ롣
Υץȥ뤬̤ȯΤϡ줿ǡबäˡ
Υǡ򲼰̥쥤䡼ΥץȥѴΤǤϤʤ
Ѥ뤳ȤǤ褦ʡΥޥǥžˤƤǤ롣

ĹΥåоϰϤ
.BR setsockopt (2)
ץͳꤵ롣
ΥץꤵƤʤ硢UDP ȰۤʤΤ
㤦 IP ץȥ뼱̻ (IANA ֹ 136) ѤǤ롣

UDP-Lite μ
.BR udp (7)
δʳĥʤ API  API ưƱǤ롣
˲äơ2 ĤΥåȥץ󤬥åоϰϤ
椹뤿󶡤Ƥ롣
.SS ɥ쥹Υեޥå
UDP-Litev4 
.BR ip (7)
Ƥ
.I sockaddr_in
ɥ쥹Ѥ롣
UDP-Litev6 
.BR ipv6 (7)
Ƥ
.I sockaddr_in6
ɥ쥹Ѥ롣
.SS åȥץ
UDP-Lite Υåȥץ/ˤϡ
ץ٥
.B IPPROTO_UDPLITE
ꤷơˤ
.BR getsockopt (2)
ˤ
.BR setsockopt (2)
ƤӽФˡƤ
.B IPPROTO_UDP
Υåȥץ UDP-Lite åȤǤѤǤ롣
ܺ٤
.BR udp (7)
򻲾ȤΤȡ

ʲ 2 Ĥ UDP-Lite ˸ͭΥץǤ롣
.TP
.BR UDPLITE_SEND_CSCOV
Υץ¦ΥåоϰϤꤹ롣
.I int
ȤƼꡢǽͤϰϤ 0  2^16-1 ޤǤǤ롣

 0 ϥǡΤ˥åоݤȤʤ뤳Ȥ̣롣
 17 Ǥ (RFC\ 3828  3.1 )ϰϤȤƺǾͤǤ
8 ڤ夲롣

IPv6  jumbograms (ʥǡ; RFC\ 2675) ξˤϡ
UDP-Litev6 ΥåоϰϤϡRFC\ 3828  3.5 Ϥˤ褦ˡ
Ƭ 2^16-1 ƥåȤޤǤ˸ꤵ롣
Τᡢ礭ͤ 2^16-1 ۤäڤͤ롣
ߤоϰϤͤΤꤿСĤǤ
.BR getsockopt (2)
Ȥäͤ䤤碌뤳ȤǤ롣
.TP
.BR UDPLITE_RECV_CSCOV
ϼ¦ΥåоϰϤꤹΤǡ
ѤͤϰϤ
.B UDPLITE_SEND_CSCOV
ƱǤ롣
ΥץϡʬŪʥåоϰϤĥȥեå
ͭˤΤɬפʤ櫓ǤϤʤȥեåե륿ȤƵǽ롣
Υץͭˤȡͥϻꤵ줿åоϰ
ûоϰϤĥѥåȤѴ褦ˤʤ롣

.B UDPLITE_RECV_CSCOV
ͤºݤΥѥåȤΥåоϰϤ礭硢
ѥåȤۤäѴ롣
ƥФƷٹå뤫⤷ʤ
.\" SO_NO_CHECK exists and is supported by UDPv4, but is
.\" commented out in socket(7), hence also commented out here
.\".PP
.\"Since UDP-Lite mandates checksums, checksumming can not be disabled
.\"via the
.\".B SO_NO_CHECK
.\"option from
.\".BR socket (7).
.SH 顼
.BR udp (7)
ˤĤƽ񤫤ƤƤΥ顼֤ǽ롣
UDP-Lite ΤϿʥ顼ɲäƤʤ
.SH Х
.\" FIXME . remove this section once glibc supports UDP-Lite
glibc ˤ륵ݡȤʤϡʲԤɬפ롣
.in +4n
.nf

#define IPPROTO_UDPLITE     136
.\" The following two are defined in the kernel in linux/net/udplite.h
#define UDPLITE_SEND_CSCOV  10
#define UDPLITE_RECV_CSCOV  11
.fi
.in
.SH ե
.I /proc/net/snmp
\- UDP-Litev4 δŪ׾󥫥󥿡
.br
.I /proc/net/snmp6
\- UDP-Litev6 δŪ׾󥫥󥿡
.SH С
UDP-Litev4/v6  Linux 2.6.20 ǽо줷
.SH Ϣ
.BR udp (7),
.BR ip (7),
.BR ipv6 (7),
.BR socket (7)

RFC\ 3828 for the Lightweight User Datagram Protocol (UDP-Lite)
.br
.I Documentation/networking/udplite.txt