亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? draft-itojun-ipv6-flowlabel-api-01.txt

?? IPv6協議中flow_label的相關RFC
?? TXT
字號:
Internet Engineering Task Force                 Jun-ichiro itojun HaginoINTERNET-DRAFT                                   IIJ Research LaboratoryExpires: October 11, 2001                                 April 11, 2001                  Socket API for IPv6 flow label field                 draft-itojun-ipv6-flowlabel-api-01.txtStatus of this MemoThis document is an Internet-Draft and is in full conformance with allprovisions of Section 10 of RFC2026.Internet-Drafts are working documents of the Internet Engineering TaskForce (IETF), its areas, and its working groups.  Note that other groupsmay also distribute working documents as Internet-Drafts.Internet-Drafts are draft documents valid for a maximum of six monthsand may be updated, replaced, or obsoleted by other documents at anytime.  It is inappropriate to use Internet-Drafts as reference materialor to cite them other than as ``work in progress.''To view the list Internet-Draft Shadow Directories, seehttp://www.ietf.org/shadow.html.Distribution of this memo is unlimited.     The list of current Internet-Drafts can be accessed at     http://www.ietf.org/1id-abstracts.html     The list of Internet-Draft Shadow Directories can be accessed at     http://www.ietf.org/shadow.html.AbstractThe draft outlines a socket API proposal for controlling the flow labelfield in the IPv6 header.  The API uses the sin6_flowinfo member on theIPv6 socket address structure (sockaddr_in6).The draft is, at this moment, written separately from the IPv6basic/advanced API RFCs [Gilligan, 2000; Stevens, 1999] , as there canbe many discussion items.  The ultimate goal of the draft is to be apart of the IPv6 basic/advanced API.1.  BackgroundThe IPv6 flow label field is a 20bit field in the IPv6 header.  Thefield has no IPv4 counterpart.  The IPv6 specification [Deering, 1998]supplies suggested usage of the field.The field is intended to identify a "flow", a set of packets from aparticular source to a particular destination.  The flow label field isHAGINO                  Expires: October 11, 2001               [Page 1]DRAFT                 API for IPv6 flow label field           April 2001set by the originating IPv6 node, in a pseudorandom manner.  The valuewill help intermediate routers to identify "flows", without looking intopayload data or chasing an extension header chain.For the flow label field to be useful, the source node should carefullypick the value, to satisfy the following constraints:o The value should be pseudorandom, to help routers make a hash table  with it.o The value should not be used for multiple different flows at the same  time.o The value should not be reused for some amonut of time, after a flow  is terminated (otherwise, intermediate routers may mistakenly identify  flows).IPv6 specification does not define whether the field can be rewritten byintermediate routers, or the field should be kept untouched.  It was tolet future QoS protocols make the choice.  For example, RSVP [Braden,1997] assumes that the field is kept untouched until the packet reachesthe final destination.  In this document, following the assumption inthe RSVP document, we assume that the field should not be modified byintermediate routers.There is no known application which needs to inspect the flow labelfield on inbound packet.  Also, there is no known application whichwants to put a specific value to the flow label field.NOTE: in IETF IPv6 working group, there is an ongoing discussion aboutthe semantics of flow label field.  There are three proposals: (1) thefield is for an end-to-end value (set by source, no rewrite onintermediate routers), (2) the field is an hop-by-hop value (rewritableon intermediate routers), or (3) hybrid.  As noted above, the draftassumes (1), based on existing uses of flow label field - which is RSVP.2.  Outbound trafficAfter the connect(2) system call is issued for a socket with a specificIPv6 address (non-unspecified address), the kernel will automaticallyfill in the flow label field, with a value selected for the socket.  Thevalue will be selected on connect(2), and will be used for subsequentoutgoing packets from the socket.  The kernel is responsible to pick asuitable (pseudorandom and unique) value for the flow label field.If no connect(2) system call was issued for a socket, the packets fromthe socket will have an unspecified flow label value (zero).  Whenmultiple connect(2) system calls were issued for a socket, a new valuemust be picked for the flow label field, every time the connect(2)system call was issued.HAGINO                  Expires: October 11, 2001               [Page 2]DRAFT                 API for IPv6 flow label field           April 2001With getsockname(2), an application can grab the flow label value pickedby the kernel, into the sin6_flowinfo member.  sin6_flowinfo membercarries the value in network byteorder.  The topmost 12 bits of thesin6_flowinfo member must be set to 0.Sample code would be as follows:     struct sockaddr_in6 src, dst, altdst;     u_int32_t value;  /* the value for flow label */     int s;            /* socket */     socklen_t slen;     slen = sizeof(dst);     dst.sin6_flowinfo = 0;  /* must be zero */     connect(s, (struct sockaddr *)&dst, slen);     /* sent with the flow label field filled */     send(s, buf, buflen);     /* obtain the flow label value */     slen = sizeof(src);     getsockname(s, (struct sockaddr *)&src, &slen);     printf("flowlabel=%x\n", ntohl(src.sin6_flowinfo & IPV6_FLOWLABEL_MASK));If an application wishes to disable the kernel behavior and wishes touse an unspecified value (zero) in the flow label field, the applicationshould issue the following setsockopt(2), prior to the connect(2) systemcall.  The default value for the socket option is implementation-dependent.  A portable application should inspect the initial setting byusing getsockopt(2).     const int off = 0;     const int on = 1;     int s;  /* socket */     /* disables automatic flow label */     setsockopt(s, IPPROTO_IPV6, IPV6_AUTOFLOWLABEL, &off, sizeof(off));     /* enables automatic flow label */     setsockopt(s, IPPROTO_IPV6, IPV6_AUTOFLOWLABEL, &on, sizeof(on));The kernel should honor the definition of "flow" when filling in flowlabel field.  For example, let us consider the suggestion in the IPv6specification [Deering, 1998] .  In the following cases, the kernelshould make a special consideration.  The kernel should fill the flowlabel field with an unspecified value (zero), or pick a new value.(a) The packet goes to a different IPv6 destination, from the    destination specified previously with a connect(2) system call.  The    situation happens with sendto(2) or sendmsg(2) system calls with a    destination specified.HAGINO                  Expires: October 11, 2001               [Page 3]DRAFT                 API for IPv6 flow label field           April 2001(b) The packet uses a different IPv6 source address than before.  It    happens when a bind(2) system call is issued.(c) The packet carries different IPv6 extension headers from we have    previously used.  The situation could be detected by the use of IPv6    advanced API setsockopt(2), or by the presense of ancillary data    items on sendmsg(2).3.  Inbound trafficWe define no option to inspect the flow label field on inbound traffic,at this moment.Even though we are able to grab the outgoing flow label value withgetsockname(2), the value should not affect the socket selection againstinbound traffic.Note:     Even if we are to define some mechanism to inspect the value on     inbound packets, we should not use the sin6_flowinfo member for     this.  There are many applications which do connect(2) or     sendto(2), with the value returned from recvfrom(2) or     getpeername(2).4.  sin6_flowinfo fieldThe draft defines no valid operation where a value is passed, from anapplication to the kernel, via the sin6_flowinfo member.  When theapplication issues system calls to the kernel, the application shouldfill the sin6_flowinfo member with 0, as suggested in IPv6 basic API.5.  Issueso Interaction with RSVP.  Is getsockname(2) enough to implement RSVP  application?o Is it necessary for an application to specify the flow label value  manually?  In this case, how should we check if the value is suitable  enough?  (how to check the number collision?)o The document assumes that the granularity of flows is equal to the  granularity of sockets, or connect(2) system calls.  As we still do  not have wide consensus about what the word "flow" means, this could  be controversial; for example, some may want multiple flows for a TCP  session, some may want to consider multiple TCP sessions as a single  flow.HAGINO                  Expires: October 11, 2001               [Page 4]DRAFT                 API for IPv6 flow label field           April 20016.  Security considerationThe document introduces no new security issue.The presense of a flow label value may help wiretappers to identify aflow out of packets on the wire.ReferencesGilligan, 2000.R. Gilligan, S. Thomson, J. Bound, and W. Stevens, "Basic SocketInterface Extensions for IPv6," internet draft (May 2000). work inprogress material.Stevens, 1999.W. Richard Stevens, Matt Thomas, and Eric Nordmark, "Advanced SocketsAPI for IPv6," internet draft (October 1999). work in progress material.Deering, 1998.S. Deering and R. Hinden, "Internet Protocol, Version 6 (IPv6)Specification" in RFC2460 (December 1998). ftp://ftp.isi.edu/in-notes/rfc2460.txt.Braden, 1997.R. Braden, L. Zhang, S. Berson, S. Herzog, and S. Jamin, "ResourceReSerVation Protocol (RSVP) -- Version 1 Functional Specification" inRFC2205 (September 1997). ftp://ftp.isi.edu/in-notes/rfc2205.txt.AcknowledgementsThe document was made possible by numerous invaluable comments frommembers of WIDE research group and KAME team.Change historyNone.Author's address     Jun-ichiro itojun HAGINO     Research Laboratory, Internet Initiative Japan Inc.     Takebashi Yasuda Bldg.,     3-13 Kanda Nishiki-cho,     Chiyoda-ku, Tokyo 101-0054, JAPAN     Tel: +81-3-5259-6350     Fax: +81-3-5259-6351     Email: itojun@iijlab.netHAGINO                  Expires: October 11, 2001               [Page 5]DRAFT                 API for IPv6 flow label field           April 2001HAGINO                  Expires: October 11, 2001               [Page 6]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区精品在线观看| 国产亚洲一区二区三区在线观看| 久久精品国产成人一区二区三区| 国产精品视频免费看| 欧美一二三区精品| 91在线视频在线| 国产九九视频一区二区三区| 日韩精品电影一区亚洲| 亚洲丝袜另类动漫二区| 久久九九久久九九| 欧美精品视频www在线观看| 99久久久国产精品| 国产精品一二二区| 精品在线免费观看| 天天综合天天综合色| 亚洲精品免费电影| 国产精品不卡在线| 久久色.com| 精品日韩av一区二区| 欧美日韩黄色影视| 在线观看国产日韩| 91福利社在线观看| 99久久婷婷国产综合精品| 国产成人精品综合在线观看| 青青草国产精品亚洲专区无| 亚洲国产中文字幕| 一区二区成人在线| 亚洲精品高清在线| 亚洲已满18点击进入久久| 自拍偷拍欧美精品| 亚洲欧美在线aaa| 欧美国产激情一区二区三区蜜月| 久久这里只有精品首页| 欧美精品一区二区三区视频| 日韩三区在线观看| 欧美成人三级在线| 精品国产三级a在线观看| 91网站视频在线观看| 黄色日韩网站视频| 中文字幕日韩一区二区| 欧洲一区在线电影| 一区二区三区四区亚洲| 久久久久一区二区三区四区| 欧美不卡123| 久久综合九色综合欧美98| 日韩三级电影网址| 欧美精品一区二区三区在线 | 北条麻妃国产九九精品视频| 国产高清亚洲一区| 成人黄色a**站在线观看| 成人av动漫在线| 色老头久久综合| 国产精品网友自拍| 国产精品久久久久影院| 亚洲精品一二三区| 日韩精品成人一区二区三区| 久久国产日韩欧美精品| 国产成人综合网站| 99麻豆久久久国产精品免费优播| 在线看不卡av| 久久99精品久久久久久动态图| 久久久无码精品亚洲日韩按摩| 欧洲一区在线电影| 欧美疯狂做受xxxx富婆| 欧美成人猛片aaaaaaa| 久久久www成人免费无遮挡大片| 国产欧美日韩中文久久| 亚洲精品中文在线| 秋霞影院一区二区| 国产精品66部| 色婷婷久久久综合中文字幕| 欧美二区在线观看| 国产日产欧美精品一区二区三区| 亚洲日本va午夜在线影院| 婷婷开心久久网| 国产成人小视频| 欧美日韩日日骚| 久久精品亚洲麻豆av一区二区 | 99久久伊人精品| 欧美日韩国产经典色站一区二区三区| 日韩一区二区三区在线观看| 中文字幕欧美国产| 日韩av电影免费观看高清完整版在线观看| 精品在线免费观看| 色综合激情五月| 日韩欧美国产小视频| 国产精品第五页| 日韩av电影免费观看高清完整版在线观看| 国产盗摄视频一区二区三区| 欧美三级电影网| 国产精品视频一二三| 日本一道高清亚洲日美韩| av中文字幕亚洲| 欧美tk—视频vk| 一区二区三区久久| 丁香五精品蜜臀久久久久99网站| 91.com在线观看| 亚洲欧美偷拍另类a∨色屁股| 老司机免费视频一区二区| 色婷婷精品大视频在线蜜桃视频| 久久久午夜精品理论片中文字幕| 亚洲一区二区欧美| 99国产一区二区三精品乱码| 精品国产一区二区三区四区四| 亚洲高清免费观看 | 成人爱爱电影网址| 精品国产电影一区二区| 一二三四区精品视频| 高清成人免费视频| 久久影音资源网| 日本强好片久久久久久aaa| 欧美又粗又大又爽| 亚洲人成人一区二区在线观看| 黑人巨大精品欧美黑白配亚洲| 91麻豆精品国产91久久久资源速度 | 中文一区二区在线观看| 麻豆精品新av中文字幕| 欧美日韩国产免费一区二区| 亚洲精品成a人| 色婷婷激情久久| √…a在线天堂一区| 国产69精品久久777的优势| 久久日一线二线三线suv| 美女精品一区二区| 在线综合+亚洲+欧美中文字幕| 亚洲国产成人av网| 欧美性大战久久久久久久| 尤物视频一区二区| 一本大道久久a久久精二百| 最好看的中文字幕久久| 91免费观看视频在线| 国产精品不卡在线观看| 99久久国产综合精品麻豆| 国产精品激情偷乱一区二区∴| 国产91精品在线观看| 欧美高清在线一区二区| 国产成人av一区二区三区在线观看| 久久综合色之久久综合| 国产在线看一区| 久久久久久久久久久久电影| 国产精品一区2区| 国产亚洲一区二区三区在线观看 | 精品一区二区av| 久久综合网色—综合色88| 国内精品国产成人| 日本一区二区视频在线观看| 成人午夜电影小说| 亚洲视频网在线直播| 在线观看欧美黄色| 日韩国产欧美在线观看| 日韩女优毛片在线| 国产高清久久久| 亚洲欧洲综合另类| 欧美色综合网站| 久久精品理论片| 国产精品热久久久久夜色精品三区| 成人中文字幕电影| 一区二区三区精品久久久| 这里只有精品视频在线观看| 国产一区二区不卡老阿姨| 国产精品电影一区二区| 欧美色国产精品| 国产在线精品不卡| 亚洲激情图片一区| 欧美精品视频www在线观看| 国产揄拍国内精品对白| 国产精品成人免费在线| 欧美男人的天堂一二区| 国产一级精品在线| 综合欧美亚洲日本| 制服丝袜在线91| 懂色av中文一区二区三区| 亚洲国产精品视频| 久久伊人中文字幕| 欧美偷拍一区二区| 国产精品一区二区三区网站| 亚洲激情图片qvod| 久久天天做天天爱综合色| 91小视频免费观看| 免费成人在线视频观看| ...av二区三区久久精品| 91精品综合久久久久久| 成人av在线观| 麻豆一区二区99久久久久| 综合电影一区二区三区| 欧美成人a在线| 在线免费不卡电影| 国产99久久久久久免费看农村| 亚洲国产日韩av| 国产精品日韩精品欧美在线| 9191成人精品久久| 99精品欧美一区二区三区综合在线| 日本网站在线观看一区二区三区| 亚洲欧洲一区二区在线播放| 日韩女优毛片在线| 欧美日韩精品一区二区在线播放| 丁香婷婷综合五月| 国产真实乱偷精品视频免| 午夜国产精品影院在线观看| 自拍偷在线精品自拍偷无码专区|