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

📄 addr.nr

📁 早期freebsd实现
💻 NR
字号:
.NC "NSAP Addresses & Routing".sh 1 "OSI Address Formats".ppARGO supports an ISO address family, AF_ISO, in addition to theDoD Internet address family, AF_INET.Addresses in the family AF_ISO take the form described by ISO 8348/DAD2, which is an addendum to theOSI network service standard that describes network layer addressing..sh 2 "ISO 8348/DAD2 Tutorial".pp.\" FIGURE.\".so figs/osi_addr.nr.so ../wisc/figs/addrfmt.nr.CFshows theformat of an OSI NSAP-address.The address has two major parts: the initial domain part(IDP) and the domain specific part (DSP). The IDP is further divided intotwo parts: the authority and format identifier (AFI) and theinitial domain identifier (IDI). The AFI specifies the format of theIDI, the authority responsible for allocating values of the IDI, andthe syntax of the DSP. The IDI specifies the network addressing domainfrom which DSP values are allocated, and the authority responsible forallocating DSP values..sh 2 "Supported Formats".ppARGO supports three types of ISO NSAP-addresses:one type with AFI 37(hex) and two types with AFI 47(hex)..sh 3 "AFI 37".ppThis value of the AFI defines the IDI to be an X.121 address or DTEaddress. The DTE address is encoded in binary coded decimal.  The DSP syntax is binary.This form is intended to be used when communicating across a public data network (PDN). The ARGO software and documentationrefer to this type of NSAP-address as a\*(lqtype 37.\*(rqaddress..sh 3 "AFI 47".ppThe value of 47 for the AFI defines the IDI to be a 4 digit InternationalCode Designator (ICD) allocated according to ISO 6523. ARGO support twoICD values..sh 4 "ICD 0004".ppThe ICD value of 0004 is assigned to OSINET,an experimental OSI network overseen by National Institute of Science and Technology.\**.(f\** formerly the National Bureau of Standards.)fWhen this style of NSAP-addressis used, the DSP is divided into four parts: an organization identifier (2 bytes),a subnet identifier (2 bytes), an SNPA-part (4-8 bytes), andan NSAP selector (1 byte). The use of these fields is defined by the OSINET steering committee.This type of address is known as an\*(lqOSINET\*(rqaddress..sh 4 "ICD 0006".ppThe ICD value of 0006 is assigned to the Department of Defense (DoD).In ARGO, NSAP-addresses with an ICD value of 0006 are of the format defined in RFC 986, a proposal for embedding DARPA Internetaddresses within an OSI NSAP-address. In this case, the DSP takes the form:version (1 byte), DARPA Internet Address (4 bytes), upper layer protocolidentifier (1 byte).This is called an\*(lqrfc986\*(rqaddress..sh 1 "Internal Representation".ppInternally, an NSAP address takes the form.(b\fC.TStab(+);l s s s s.struct iso_addr {.T&l l l l l.+u_char+isoa_afi;+/* authority &+++format id */+union+{+ ++struct addr_37+addr_37;+/* x.121 */++struct addr_osinet+addr_osinet;+/* OSINET */++struct addr_rfc986+addr_rfc986;+/* Internet*/+}+isoa_u;+u_char+isoa_len;+/* length */}.TE\fR.)bThe field \fIisoa_afi\fR contains the AFI for the address. The union\fIisoa_u\fR contains the remainder of the address. The length of the entire address (the AFI, IDI, and DSP) is stored in \fIisoa_len\fR..sh 1 "Network Layer Routing".ppRouting at the network layer is performed by the routing procedure \fIrtalloc()\fR as described in Chapter 5. \fIRtalloc()\fR was designed for used in the DoD Internetdomain.An unfortunateeffect of this is that routing decisions are based upon either theentire NSAP address or the network portion of the address. The problem is defining the network portion of an NSAP address. The location and extent of the network portion of an NSAP address depends on thestyle of NSAP address. This decision is made by the function \fIiso_netof()\fR..sh 2 "Network Portion of Type 37 Addresses".ppThere is no network portion of an X.121 address. In ARGO, the network portion of a type 37 address is defined to be just the AFI. The obvious consequence of this is that all type 37 addresses will match all other type 37 addressesin a network-portion comparison..sh 2 "Network Portion of OSINET Addresses".ppThe network portion of an OSINET address is the organization identifier andthe subnet identifier..sh 2 "Network Portion of RFC986 Addresses".ppThe network portion of an RFC986 address is the network portion of theembedded DARPA Internet address. ARGO does not support subnetting, a method of subdividing Internet addresses..sh 1 "NSAP Address / Subnetwork Point of Attachment Mapping".ppIn order to transmit a packet on a real subnetwork, the destinationNSAP addressmust be mapped to an SNPA address. An SNPA address is the real, "hardware" addressof a system on a network. This address corresponds to the 6 byte Ethernet or Token RingAdapter address, or to the DTE address, which may be up to 7 byteslong (14 decimal digits)..ppA table, \fIsnpa_cache\fR is kept in the kernel which contains the translation between NSAP-addresses and SNPA-addresses. This table is used by \fIiso_snparesolve()\fR whenever a datagram must be dispatched.The table is maintained by the the ISO ES-IS protocol entity.Entries can be added and deletedby the user program \fIclnlutil(8)\fR andby the CONS entity.

⌨️ 快捷键说明

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