⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 ACE自适配通信环境(ADAPTIVE Communication Environment)是可以自由使用、开放源码的面向对象(OO)框架(Framework)
💻
字号:
This directory contains an example whichtests the setting of the Diffserv Codepoint (DSCP)values in theIP TOS field of a stream of UDP packets.Running the example===================(1)  On one host, run:         server [UDP port number]     If port number is omitted, a default port number of 20002     is used.(2)  On a second host, run:        diffserv_test [destination host] [destination port]        The host and port of where the server is running should        be specified.     A stream of UDP packets will be sent from to the server,     with various codepoints set.(3)  Look at the Diffserv Field (formerly known as the TOS field)     of your packets, using a protocol analyzer, such as Ethereal.Introduction============In RFC 2474, the Type of Service (TOS) field in the IP header was renamed the Diffserv (DS) field.The DS field is one octet (8 bits).        0   1   2   3   4   5   6   7      +---+---+---+---+---+---+---+---+      |         DSCP          |  ECN  |      +---+---+---+---+---+---+---+---+The first 6 bits of the field arereserved for the Diffserv Codepoint (DSCP).There are 64 possible values (0-63) for the DSCP.Bits 6 and 7 of the DS field are reservedfor Explicit Congestion Notification (ECN).ECN is defined in RFC 3168.Per-Hop Behaviors (PHB)=======================A Per-Hop Behavior (PHB) is a description of the externallyobservable forwarding treatment applied at a differentiatedservices compliant node.Certain PHB's are defined in RFC's and associated withdifferent DSCP values.  Other values are undefined and leftfor experimentation.  Please refer to the RFC's for a fullexplanation of the attributes of the various PHB's.DSCP value     PHB                          RFC(binary)-----------------------------------------------------------000000         Default (Best Effort)        2474001000         Class Selector (CS1)         2474010000         Class Selector (CS2)         2474011000         Class Selector (CS3)         2474100000         Class Selector (CS4)         2474101000         Class Selector (CS5)         2474110000         Class Selector (CS6)         2474111000         Class Selector (CS7)         2474001010         Assured Forwarding (AF11)    2597001100         Assured Forwarding (AF12)    2597001110         Assured Forwarding (AF13)    2597010010         Assured Forwarding (AF21)    2597010100         Assured Forwarding (AF22)    2597010110         Assured Forwarding (AF23)    2597011010         Assured Forwarding (AF31)    2597011100         Assured Forwarding (AF32)    2597011110         Assured Forwarding (AF33)    2597100010         Assured Forwarding (AF41)    2597100100         Assured Forwarding (AF42)    2597100110         Assured Forwarding (AF43)    2597101110         Expedited Forwarding (EF)    2598References==========RFC 2474, "Definition of the Differentiated Services (DS Field)           in the IPv4 and IPv6 Headers", http://www.ietf.org/rfc/rfc2474.txtRFC 2475, "An Architecture for Differentiated Services",           http://www.ietf.org/rfc/rfc2475.txtRFC 2597, "Assured Forwarding PHB Group", http://www.ietf.org/rfc/rfc2597.txtRFC 3246, "An Expedited Forwarding PHB", http://www.ietf.org/rfc/rfc3246.txtRFC 3247, "Supplemental Information for the New Definition of the EF PHB",           http://www.ietf.org/rfc/rfc3247.txtRFC 3168, "The Addition of Explicit Congestion Notification (ECN)           to IP", http://www.ietf.org/rfc/rfc3168.txtEthereal, http://www.ethereal.com

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -