OSDN Git Service

(split) LDP v3.30, v3.31 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / release / man7 / udplite.7
1 .\" Copyright (c) 2008 by Gerrit Renker <gerrit@erg.abdn.ac.uk>
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" $Id: udplite.7,v 1.12 2008/07/23 15:22:22 gerrit Exp gerrit $
24 .\"
25 .\" Japanese Version Copyright (c) 2008  Akihiro MOTOKI
26 .\"         all rights reserved.
27 .\" Translated 2008-08-21, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.07
28 .\" 
29 .TH UDPLITE  7 2008-12-03 "Linux" "Linux Programmer's Manual"
30 .SH Ì¾Á°
31 udplite \- ·ÚÎ̤ʥ桼¥¶¡¼¥Ç¡¼¥¿¥°¥é¥à¥×¥í¥È¥³¥ë
32 .SH ½ñ¼°
33 .B #include <sys/socket.h>
34 .br
35 .\" FIXME . see #defines under `BUGS',
36 .\"        when glibc supports this, add
37 .\"        #include <netinet/udplite.h>
38 .sp
39 .B sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDPLITE);
40 .SH ÀâÌÀ
41 ¤³¤ì¤Ï RFC\ 3828 ¤Ë½ñ¤«¤ì¤Æ¤¤¤ë·ÚÎ̤ʥ桼¥¶¡¼¥Ç¡¼¥¿¥°¥é¥à¥×¥í¥È¥³¥ë
42 (Lightweight User Datagram Protocol; UDP-Lite) ¤Î¼ÂÁõ¤Ç¤¢¤ë¡£
43
44 UDP-Lite ¤Ï UDP (RFC\ 768) ¤Î³ÈÄ¥¤Ç¡¢²ÄÊÑĹ¤Î¥Á¥§¥Ã¥¯¥µ¥à¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¡£
45 ¤³¤Î¥×¥í¥È¥³¥ë¤¬¸ú²Ì¤òȯ´ø¤¹¤ë¤Î¤Ï¡¢¾¯¤·¤À¤±²õ¤ì¤¿¥Ç¡¼¥¿¥°¥é¥à¤¬¤¢¤Ã¤¿¾ì¹ç¤Ë¡¢
46 ¤½¤Î¥Ç¡¼¥¿¥°¥é¥à¤ò²¼°Ì¥ì¥¤¥ä¡¼¤Î¥×¥í¥È¥³¥ë¤ËÇÑ´þ¤µ¤»¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
47 ¤½¤ì¤òÍøÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ê¡¢¤¢¤ë¼ï¤Î¥Þ¥ë¥Á¥á¥Ç¥£¥¢Å¾Á÷¤Ë¤ª¤¤¤Æ¤Ç¤¢¤ë¡£
48
49 ²ÄÊÑĹ¤Î¥Á¥§¥Ã¥¯¥µ¥à¤ÎÂоÝÈϰϤÏ
50 .BR setsockopt (2)
51 ¥ª¥×¥·¥ç¥ó·Ðͳ¤ÇÀßÄꤵ¤ì¤ë¡£
52 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢UDP ¤È°Û¤Ê¤ë¤Î¤Ï
53 °ã¤¦ IP ¥×¥í¥È¥³¥ë¼±Ê̻Ҡ(IANA ÈÖ¹æ 136) ¤ò»ÈÍѤ¹¤ëÅÀ¤À¤±¤Ç¤¢¤ë¡£
54
55 UDP-Lite ¤Î¼ÂÁõ¤Ï
56 .BR udp (7)
57 ¤Î´°Á´¤Ê³ÈÄ¥¡¢¤¹¤Ê¤ï¤Á API ¤È API ¤ÎÆ°ºî¤ÏƱ¤¸¤Ç¤¢¤ë¡£
58 ¤³¤ì¤Ë²Ã¤¨¤Æ¡¢2 ¤Ä¤Î¥½¥±¥Ã¥È¥ª¥×¥·¥ç¥ó¤¬¥Á¥§¥Ã¥¯¥µ¥à¤ÎÂоÝÈϰϤò
59 À©¸æ¤¹¤ë¤¿¤á¤ËÄ󶡤µ¤ì¤Æ¤¤¤ë¡£
60 .SS ¥¢¥É¥ì¥¹¤Î¥Õ¥©¡¼¥Þ¥Ã¥È
61 UDP-Litev4 ¤Ï
62 .BR ip (7)
63 ¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤ë
64 .I sockaddr_in
65 ¥¢¥É¥ì¥¹¤ò»ÈÍѤ¹¤ë¡£
66 UDP-Litev6 ¤Ï
67 .BR ipv6 (7)
68 ¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤ë
69 .I sockaddr_in6
70 ¥¢¥É¥ì¥¹¤ò»ÈÍѤ¹¤ë¡£
71 .SS ¥½¥±¥Ã¥È¥ª¥×¥·¥ç¥ó
72 UDP-Lite ¤Î¥½¥±¥Ã¥È¥ª¥×¥·¥ç¥ó¤òÀßÄê/¼èÆÀ¤¹¤ë¤Ë¤Ï¡¢
73 ¥ª¥×¥·¥ç¥ó¥ì¥Ù¥ë°ú¤­¿ô¤Ë
74 .B IPPROTO_UDPLITE
75 ¤ò»ØÄꤷ¤Æ¡¢¼èÆÀ»þ¤Ë¤Ï
76 .BR getsockopt (2)
77 ¤ò¡¢ÀßÄê»þ¤Ë¤Ï
78 .BR setsockopt (2)
79 ¤ò¸Æ¤Ó½Ð¤¹¡£¤µ¤é¤Ë¡¢Á´¤Æ¤Î
80 .B IPPROTO_UDP
81 ¤Î¥½¥±¥Ã¥È¥ª¥×¥·¥ç¥ó¤¬ UDP-Lite ¥½¥±¥Ã¥È¤Ç¤â»ÈÍѤǤ­¤ë¡£
82 ¾ÜºÙ¤Ï
83 .BR udp (7)
84 ¤ò»²¾È¤Î¤³¤È¡£
85
86 °Ê²¼¤Î 2 ¤Ä¤¬ UDP-Lite ¤Ë¸ÇÍ­¤Î¥ª¥×¥·¥ç¥ó¤Ç¤¢¤ë¡£
87 .TP
88 .BR UDPLITE_SEND_CSCOV
89 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÁ÷¿®Â¦¤Î¥Á¥§¥Ã¥¯¥µ¥à¤ÎÂоÝÈϰϤòÀßÄꤹ¤ë¡£
90 .I int
91 ·¿¤ò°ú¤­¿ô¤È¤·¤Æ¼è¤ê¡¢ÀßÄê²Äǽ¤ÊÃͤÎÈϰϤϠ0 ¤«¤é 2^16-1 ¤Þ¤Ç¤Ç¤¢¤ë¡£
92
93 ÃÍ 0 ¤Ï¥Ç¡¼¥¿¥°¥é¥àÁ´ÂΤ¬¾ï¤Ë¥Á¥§¥Ã¥¯¥µ¥à¤ÎÂоݤȤʤ뤳¤È¤ò°ÕÌ£¤¹¤ë¡£
94 ÃÍ 1¡Á7 ¤ÏÉÔÀµ¤Ç¤¢¤ê (RFC\ 3828 ¤Î 3.1 ¾Ï)¡¢ÈϰϤÎÀßÄê¤È¤·¤ÆºÇ¾®ÃͤǤ¢¤ë
95 8 ¤ËÀÚ¤ê¾å¤²¤é¤ì¤ë¡£
96
97 IPv6 ¤Î jumbograms (µðÂç¤Ê¥Ç¡¼¥¿¥°¥é¥à; RFC\ 2675) ¤Î¾ì¹ç¤Ë¤Ï¡¢
98 UDP-Litev6 ¤Î¥Á¥§¥Ã¥¯¥µ¥à¤ÎÂоÝÈϰϤϡ¢RFC\ 3828 ¤Î 3.5 ¾Ï¤Ë¤¢¤ë¤è¤¦¤Ë¡¢
99 ÀèƬ¤«¤é 2^16-1 ¥ª¥¯¥Æ¥Ã¥È¤Þ¤Ç¤Ë¸ÂÄꤵ¤ì¤ë¡£
100 ¤½¤Î¤¿¤á¡¢¤½¤ì¤è¤êÂ礭¤ÊÃͤϠ2^16-1 ¤ËÌۤäÆÀÚ¤êµÍ¤á¤é¤ì¤ë¡£
101 ¸½ºß¤ÎÂоÝÈϰϤÎÃͤòÃΤꤿ¤±¤ì¤Ð¡¢¤¤¤Ä¤Ç¤â
102 .BR getsockopt (2)
103 ¤ò»È¤Ã¤ÆÃͤòÌ䤤¹ç¤ï¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
104 .TP
105 .BR UDPLITE_RECV_CSCOV
106 ¤³¤ì¤Ï¼õ¿®Â¦¤Î¥Á¥§¥Ã¥¯¥µ¥à¤ÎÂоÝÈϰϤòÀßÄꤹ¤ë¤â¤Î¤Ç¡¢
107 »ÈÍѤµ¤ì¤ë°ú¤­¿ô·Á¼°¤ÈÃͤÎÈϰϤÏ
108 .B UDPLITE_SEND_CSCOV
109 ¤ÈƱ¤¸¤Ç¤¢¤ë¡£
110 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢ÉôʬŪ¤Ê¥Á¥§¥Ã¥¯¥µ¥àÂоÝÈϰϤò»ý¤Ä¥È¥é¥Õ¥£¥Ã¥¯¤ò
111 Í­¸ú¤Ë¤¹¤ë¤Î¤ËɬÍפʤ櫓¤Ç¤Ï¤Ê¤¯¡¢¥È¥é¥Õ¥£¥Ã¥¯¥Õ¥£¥ë¥¿¡¼¤È¤·¤Æµ¡Ç½¤¹¤ë¡£
112 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í­¸ú¤Ë¤¹¤ë¤È¡¢¥«¡¼¥Í¥ë¤Ï»ØÄꤵ¤ì¤¿¥Á¥§¥Ã¥¯¥µ¥àÂоÝÈÏ°Ï
113 ¤è¤ê¤â¡Öû¤«¤¤¡×ÂоÝÈϰϤò»ý¤Ä¥Ñ¥±¥Ã¥È¤òÁ´¤ÆÇÑ´þ¤¹¤ë¤è¤¦¤Ë¤Ê¤ë¡£
114
115 .B UDPLITE_RECV_CSCOV
116 ¤ÎÃͤ¬¼ÂºÝ¤Î¥Ñ¥±¥Ã¥È¤Î¥Á¥§¥Ã¥¯¥µ¥àÂоÝÈϰϤè¤ê¤âÂ礭¤¤¾ì¹ç¡¢
117 ¼õ¿®¤·¤¿¥Ñ¥±¥Ã¥È¤ÏÌۤäÆÇÑ´þ¤µ¤ì¤ë¡£
118 ¤¿¤À¤·¡¢¥·¥¹¥Æ¥à¥í¥°¤ËÂФ·¤Æ·Ù¹ð¥á¥Ã¥»¡¼¥¸¤¬À¸À®¤µ¤ì¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
119 .\" SO_NO_CHECK exists and is supported by UDPv4, but is
120 .\" commented out in socket(7), hence also commented out here
121 .\".PP
122 .\"Since UDP-Lite mandates checksums, checksumming can not be disabled
123 .\"via the
124 .\".B SO_NO_CHECK
125 .\"option from
126 .\".BR socket (7).
127 .SH ¥¨¥é¡¼
128 .BR udp (7)
129 ¤Ë¤Ä¤¤¤Æ½ñ¤«¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î¥¨¥é¡¼¤ÏÊÖ¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
130 UDP-Lite ¼«ÂΤϿ·¤¿¤Ê¥¨¥é¡¼¤ÏÄɲ䷤Ƥ¤¤Ê¤¤¡£
131 .SH ¥Ð¥°
132 .\" FIXME . remove this section once glibc supports UDP-Lite
133 glibc ¤Ë¤è¤ë¥µ¥Ý¡¼¥È¤¬¤Ê¤¤¾ì¹ç¤Ï¡¢°Ê²¼¤ÎÄêµÁ¤ò¹Ô¤¦É¬Íפ¬¤¢¤ë¡£
134 .in +4n
135 .nf
136
137 #define IPPROTO_UDPLITE     136
138 .\" The following two are defined in the kernel in linux/net/udplite.h
139 #define UDPLITE_SEND_CSCOV  10
140 #define UDPLITE_RECV_CSCOV  11
141 .fi
142 .in
143 .SH ¥Õ¥¡¥¤¥ë
144 .I /proc/net/snmp
145 \- UDP-Litev4 ¤Î´ðËÜŪ¤ÊÅý·×¾ðÊ󥫥¦¥ó¥¿¡¼¡£
146 .br
147 .I /proc/net/snmp6
148 \- UDP-Litev6 ¤Î´ðËÜŪ¤ÊÅý·×¾ðÊ󥫥¦¥ó¥¿¡¼¡£
149 .SH ¥Ð¡¼¥¸¥ç¥ó
150 UDP-Litev4/v6 ¤Ï Linux 2.6.20 ¤Ç½é¤á¤ÆÅо줷¤¿¡£
151 .SH ´ØÏ¢¹àÌÜ
152 .BR ip (7),
153 .BR ipv6 (7),
154 .BR socket (7),
155 .BR udp (7)
156
157 RFC\ 3828 for the Lightweight User Datagram Protocol (UDP-Lite)
158 .br
159 .I Documentation/networking/udplite.txt