Protocol stack

Protocol stack of the OSI model

The protocol stack or network stack is an implementation of a computer networking protocol suite or protocol family. Some of these terms are used interchangeably but strictly speaking, the suite is the definition of the communication protocols, and the stack is the software implementation of them.[1]

Individual protocols within a suite are often designed with a single purpose in mind. This modularization simplifies design and evaluation. Because each protocol module usually communicates with two others, they are commonly imagined as layers in a stack of protocols. The lowest protocol always deals with low-level interaction with the communications hardware. Each higher layer adds additional capabilities. User applications usually deal only with the topmost layers.[2]

General protocol suite description

  T ~ ~ ~ T
 [A]     [B]_____[C]

Imagine three computers: A, B, and C. A and B both have radio equipment and can communicate via the airwaves using a suitable network protocol (such as IEEE 802.11). B and C are connected via a cable, using it to exchange data (again, with the help of a protocol, for example Point-to-Point Protocol). However, neither of these two protocols will be able to transport information from A to C, because these computers are conceptually on different networks. An inter-network protocol is required to connect them.

One could combine the two protocols to form a powerful third, mastering both cable and wireless transmission, but a different super-protocol would be needed for each possible combination of protocols. It is easier to leave the base protocols alone, and design a protocol that can work on top of any of them (the Internet Protocol is an example). This will make two stacks of two protocols each. The inter-network protocol will communicate with each of the base protocol in their simpler language; the base protocols will not talk directly to each other.

A request on computer A to send a chunk of data to C is taken by the upper protocol, which (through whatever means) knows that C is reachable through B. It, therefore, instructs the wireless protocol to transmit the data packet to B. On this computer, the lower layer handlers will pass the packet up to the inter-network protocol, which, on recognizing that B is not the final destination, will again invoke lower-level functions. This time, the cable protocol is used to send the data to C. There, the received packet is again passed to the upper protocol, which (with C being the destination) will pass it on to a higher protocol or application on C.

In practical implementation, protocol stacks are often divided into three major sections: media, transport, and applications. A particular operating system or platform will often have two well-defined software interfaces: one between the media and transport layers, and one between the transport layers and applications. The media-to-transport interface defines how transport protocol software makes use of particular media and hardware types and is associated with a device driver. For example, this interface level would define how TCP/IP transport software would talk to the network interface controller. Examples of these interfaces include ODI and NDIS in the Microsoft Windows and DOS environment. The application-to-transport interface defines how application programs make use of the transport layers. For example, this interface level would define how a web browser program would talk to TCP/IP transport software. Examples of these interfaces include Berkeley sockets and System V STREAMS in Unix-like environments, and Winsock for Microsoft Windows.

Examples

The network protocol stack used by Amiga software
Example protocol stack and corresponding layers
Protocol Layer
HTTP Application
TCP Transport
IP Internet or network
Ethernet Link or data link
IEEE 802.3ab Physical

Spanning layer

An important feature of many communities of interoperability based on a common protocol stack is a spanning layer, a term coined by David Clark[3]

Certain protocols are designed with the specific purpose of bridging differences at the lower layers, so that common agreements are not required there. Instead, the layer provides the definitions that permit translation to occur between a range of services or technologies used below. Thus, in somewhat abstract terms, at and above such a layer common standards contribute to interoperation, while below the layer translation is used. Such a layer is called a spanning layer in this paper. As a practical matter, real interoperation is achieved by the definition and use of effective spanning layers. But there are many different ways that a spanning layer can be crafted.

In the Internet protocol stack, the Internet Protocol Suite constitutes a spanning layer that defines a best-effort service for global routing of datagrams at Layer 3. The Internet is the community of interoperation based on this spanning layer.

See also

References

  1. ^ "What is a protocol stack?". WEBOPEDIA. 24 September 1997. Retrieved 2010-02-21. A [protocol stack is a] set of network protocol layers that work together. The OSI Reference Model that defines seven protocol layers is often called a stack, as is the set of TCP/IP protocols that define communication over the Internet.
  2. ^ Georg N. Strauß (2010-01-09). "The OSI Model, Part 10. The Application Layer". Ika-Reutte. Archived from the original on 2012-03-20. Retrieved 2010-02-21. The Application layer is the topmost layer of the OSI model, and it provides services that directly support user applications, such as database access, e-mail, and file transfers.
  3. ^ David Clark (1997). Interoperation, Open Interfaces, and Protocol Architecture. National Research Council. ISBN 9780309060363. {{cite book}}: |work= ignored (help)

Read other articles:

Art museum in Miami and Washington, D.C. Rubell MuseumFormer nameRubell Family CollectionEstablished1993 (1993)LocationMiami, Florida, and Washington, D.C.TypeArt museumCollectionsContemporary artCollection size7400FounderDon and Mera RubellDirectorJuan Roselione-ValadezArchitectSelldorf Architects (Miami)Beyer Blinder Belle (Washington, D.C.)Websiterubellmuseum.org The Rubell Museum, formerly the Rubell Family Collection, is a private contemporary art museum with locations in the Allapatta…

Questa voce o sezione sull'argomento Associazioni non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Comitato internazionale della Croce Rossa Sede centrale CICR a Ginevra Attiva1863 - presente Stato Svizzera ServizioProtezione e assistenza delle vittime dei conflitti armati e di altre situazioni di violenza TipoOrganizzazione umanitaria privata Dimensione…

Luca Penni (Firenze, tra il 1500 ed il 1504 – Parigi, 1556/1557) è stato un pittore italiano soprannominato Romanus, a scapito della sua origine fiorentina, probabilmente tramite il fratello Giovan Francesco. Biografia Giuramento di Ottone, Museo del Louvre, Parigi Operò in Inghilterra tra il 1531 e il 1533, presso la corte di Enrico VIII con l'altro fratello Bartolomeo, anch'egli pittore. Luca collaborò con Perin del Vaga a Lucca e a Genova, prima di trasferirsi in Francia, a Fontainebleau…

American politician Jessica GianninoMember of the Massachusetts House of Representativesfrom the 16th Suffolk districtIncumbentAssumed office January 6, 2021Preceded byRoseLee Vincent Personal detailsBorn1991 (age 32–33)Political partyDemocraticEducationSalem State University (BA) Jessica Ann Giannino (born 1991) is a State representative for Revere in the Massachusetts House of Representatives.[1] She was elected to the Massachusetts house in 2020. She served …

English journalist and television presenter Jon SnowHonFRIBABornJonathan George Snow (1947-09-28) 28 September 1947 (age 76)Ardingly, EnglandEducationScarborough TECUniversity of LiverpoolOccupation(s)Journalist, television presenter, news anchorYears active1973–presentNotable creditChannel 4 News (1989–2021)Spouse Precious Lunga ​(m. 2010)​PartnerMadeleine Colvin (separated)Children3RelativesGeorge Snow (father)Peter Snow (cousin)Dan Snow (cousin) Jona…

See also: 1928 Major League Baseball season The following are the baseball events of the year 1928 throughout the world. Overview of the events of 1928 in baseball Years in baseball ← 1925 1926 1927 1928 1929 1930 1931 → 1928 in sports Air sports American football Aquatic sports Association football Athletics Badminton Baseball Basketball Canadian football Chess Climbing Combat sports Sumo Cricket 1927–28 1928 1928–29 Cycling Dance sports Darts Equestrianism Esports Field hockey Flying d…

Bridge between Manhattan and the Bronx, New York Henry Hudson BridgeView from Inwood Hill ParkCoordinates40°52′40″N 73°55′18″W / 40.877861°N 73.921777°W / 40.877861; -73.921777Carries6 lanes (3 upper, 3 lower) of NY 9A / Henry Hudson ParkwayCrossesSpuyten Duyvil CreekLocaleSpuyten Duyvil, Bronx and Inwood, Manhattan, New York CityOfficial nameHenry Hudson BridgeMaintained byMTA Bridges and TunnelsCharacteristicsDesignDouble-decked arch bridgeTotal le…

Questa voce o sezione sull'argomento nobili francesi non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Antonio di Borbone-VendômeFrançois Clouet, ritratto di Antonio di Borbone, 1557, Castello di PauRe di NavarraStemma In carica25 maggio 1555 –17 novembre 1562(con la moglie Giovanna III) PredecessoreEnrico II SuccessoreGiovanna III Duca di VendômeIn …

2016年美國總統選舉 ← 2012 2016年11月8日 2020 → 538個選舉人團席位獲勝需270票民意調查投票率55.7%[1][2] ▲ 0.8 %   获提名人 唐納·川普 希拉莉·克林頓 政党 共和黨 民主党 家鄉州 紐約州 紐約州 竞选搭档 迈克·彭斯 蒂姆·凱恩 选举人票 304[3][4][註 1] 227[5] 胜出州/省 30 + 緬-2 20 + DC 民選得票 62,984,828[6] 65,853,514[6] 得…

Structural feature For the prehistoric biological event, see Grande Coupure. A coupure where the A2 motorway crosses the Diefdijk (Hollandic Water Line) in the Netherlands. A coupure with a shed for storing the materials used to close the coupure in Het Hogeland A coupure is a means of closing an opening in a wall, floodwall or levee (dike). The word comes from the French verb couper which means to cut. In historic times a coupure was a location where a breach in the city walls or the walls of a…

Hu Hanmin胡漢民 Ketua KuomintangMasa jabatan7 Desember 1935 – 12 Mei 1936PendahuluWu Zhihui, Li ShizengPenggantiChiang Kai-shekPresiden Yuan LegislatifMasa jabatan8 Oktober 1928 – 2 Maret 1931PendahuluKantor didirikanPenggantiLin Sen Informasi pribadiLahir9 Desember 1879KwangtungMeninggal12 Mei 1936KwangtungSebab kematianHemorrhagia cerebralKebangsaanRepublik TiongkokPartai politikKuomintangSunting kotak info • L • B Ini adalah nama Tionghoa; marganya …

Rue Charlemagne Rue Charlemagne adalah sebuah jalan di arondisemen ke-4 Paris, di kawasan Saint-Gervais, dekat kawasan Saint-Paul.[1] Catatan ^ LA RUE CHARLEMAGNE, PARIS Pranala luar Cari tahu mengenai Rue Charlemagne pada proyek-proyek Wikimedia lainnya: Definisi dan terjemahan dari Wiktionary Gambar dan media dari Commons Berita dari Wikinews Kutipan dari Wikiquote Teks sumber dari Wikisource Buku dari Wikibuku Wikivoyage memiliki panduan wisata Rue Charlemagne. lbsPariwisata di ParisL…

1724 book published in Britain A General History of the Robberies and Murders of the most notorious Pyrates Cover of the 2nd editionAuthorCaptain Charles Johnson(possibly a pen name)LanguageEnglishSubjectBiographiesPublisherCh. Rivington,J. Lacy, and J. StonePublication date14 May 1724Publication placeKingdom of Great BritainMedia typePrintPages304 A General History of the Robberies and Murders of the most notorious Pyrates, or simply A General History of the Pyrates, is a 1724 book publish…

Type of viruses that cause gastroenteritis Medical conditionNorovirusOther namesWinter vomiting bug,[1] stomach bugTransmission electron micrograph of Norwalk virus. The white bar = 50 nm.SpecialtyEmergency medicine, pediatricsSymptomsDiarrhea, vomiting, stomach pain, headache[2]ComplicationsDehydration[2]Usual onset12 to 48 hours after exposure[2]Duration1 to 3 days[2]CausesNorovirus[3]Diagnostic methodBased on symptoms[3]PreventionHand wa…

County in Vermont, United States Rutland County redirects here. For the county in England, see Rutland. County in VermontRutland CountyCountyRutland CourthouseLocation within the U.S. state of VermontVermont's location within the U.S.Coordinates: 43°34′48″N 73°02′12″W / 43.58009°N 73.03661°W / 43.58009; -73.03661Country United StatesState VermontFounded1781Named forRutland, MassachusettsShire TownRutlandLargest cityRutlandArea • Total945&…

1994 Spanish filmAll Men Are the SameTheatrical reelase posterSpanishTodos los hombres sois iguales Directed byManuel Gómez PereiraStarring Imanol Arias Antonio Resines Juanjo Puigcorbé Cristina Marcos María Barranco Pastora Vega Kiti Manver Release date 25 February 1994 (1994-02-25) Running time1h 42minCountrySpainLanguageSpanish All Men Are the Same (Spanish: Todos los hombres sois iguales) is a 1994 Spanish comedy film directed by Manuel Gómez Pereira.[1] Cast Imano…

Manufacturing company in Japan IHI CorporationNative name株式会社IHICompany typePublic KKTraded asTYO: 7013IndustryHeavy equipmentFounded5 December 1853; 170 years ago (1853-12-05)HeadquartersToyosu IHI Building, Tokyo, JapanKey peopleTsugio Mitsuoka [jp] (chairman)Hiroshi Ide [jp]​ (president and CEO)ProductsSpace developmentJet enginesDiesel enginesGas enginesIndustrial machineryBridge & steel structuresEnergy systemsetcRevenue¥14…

Study of geometry using a coordinate system This article is about coordinate geometry. For the geometry of analytic varieties, see Algebraic geometry § Analytic geometry. GeometryProjecting a sphere to a plane OutlineHistory (Timeline) Branches Euclidean Non-Euclidean Elliptic Spherical Hyperbolic Non-Archimedean geometry Projective Affine Synthetic Analytic Algebraic Arithmetic Diophantine Differential Riemannian Symplectic Discrete differential Complex Finite Discrete/Combinatorial Digit…

Disambiguazione – Se stai cercando altri significati, vedi Bibbiena (disambigua). Questa voce o sezione sull'argomento centri abitati della Toscana non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Bibbienacomune Bibbiena – VedutaVeduta panoramica di Bibbiena LocalizzazioneStato Italia Regione Toscana Provincia Arezzo AmministrazioneSindacoFil…

Railway station in Surrey, England BookhamGeneral informationLocationGreat Bookham, District of Mole ValleyEnglandGrid referenceTQ127556Managed bySouth Western RailwayPlatforms2Other informationStation codeBKAClassificationDfT category EHistoryOpened1885Passengers2018/19 0.322 million2019/20 0.291 million2020/21 45,4522021/22 0.134 million2022/23 0.168 million NotesPassenger statistics from the Office of Rail and Road Bookham railway station is in the village of Great Bookham in Surrey, England.…