PDU

2025. 7. 25. 00:17·Computer Science/Network

 

When data is transmitted between layers in a network stack,

the unit of data at each layer is referred to as a PDU (Protocol Data Unit).

 

A PDU typically consists of:

  • A header: control information specific to the layer
  • A payload: the actual data being transmitted

Each layer has its own name for the PDU:

  • Application Layer: Message
  • Transport Layer: Segment (TCP) / Datagram (UDP)
  • Internet Layer: Packet
  • Link Layer: Frame
  • Physical Layer: Bit

 

 

Among these, bits at the physical layer are the fastest and most efficient to transmit. However, at the application layer, data is typically transmitted as strings because it allows easy extension—such as including authorization tokens or metadata in headers.

 

 


Required Header Information

Although headers may be complex, they must always include two essential types of information:

  1. Layer-Specific Information (defined by the current layer)
    • Transport Layer (Layer 4):
      •    Handles segmentation and reassembly of large data.
      •    Includes fields like sequence number and acknowledgment number (in TCP) to ensure reliable delivery and correct ordering.
    • Internet Layer (Layer 3):
      •    Contains source and destination IP addresses to support logical routing.
    • Link Layer (Layer 2):
      •    Includes source and destination MAC addresses for physical delivery within a local network.
  2. Upper-Layer Protocol Identifier
    •    During decapsulation, the receiving system must determine which upper-layer protocol should handle the payload.
    •    Without this information in the header, the system cannot decide whether to pass the data to TCP, UDP, or other protocols.
    Examples of protocol identifiers:
    •    EtherType (at Layer 2)
    •    Protocol Number (at Layer 3)
    •    Port Number (at Layer 4)

⚠️ A common misconception is that port numbers, while defined in the Layer 4 header, actually indicate which application-layer protocol (e.g., HTTP, DNS) the payload belongs to.

Therefore, each layer's header must include metadata about the protocol used by the next upper layer, not itself.

 

'Computer Science > Network' 카테고리의 다른 글

ARP_Address Resolution Protocol  (0) 2025.07.30
Load Balancer  (0) 2025.07.25
The process of sending and receiving data between layers  (1) 2025.07.21
TCP/IP 4-layer model  (0) 2025.07.19
Network Bottleneck  (0) 2025.07.19
'Computer Science/Network' 카테고리의 다른 글
  • ARP_Address Resolution Protocol
  • Load Balancer
  • The process of sending and receiving data between layers
  • TCP/IP 4-layer model
히어운트예츠트
히어운트예츠트
건축학 -> 경제학 -> 호주 워홀 -> 해외영업 -> 개발자 -> ?
  • 히어운트예츠트
    기술블로그
    히어운트예츠트
  • 전체
    오늘
    어제
    • All About Programming;)
      • Other than Tech
        • 잡생각
      • Computer Science
        • Terminology and Concepts
        • Network
        • Operating System
        • Database
        • Data Structure
        • Web Development
        • Interview Prep
      • Frontend
        • Javascript Essentials
        • Perfomance Optimization
        • JS Patterns
        • React
        • Next.js
        • Flutter
        • Testing
      • Backend
        • Node.js
      • DevOps
        • Docker & Kubernetes
      • Coding Test
        • LeetCode
        • Programmers
      • Tech Books & Lectures
        • Javascript_Modern JS Deep d..
        • Network_IT 엔지니어를 위한 네트워크 입문
      • Projects
        • PolyLingo_2025
        • Build Your Body_2024
        • JStargram_2021
        • Covid19 Tracker_2021
        • JPortfolio_2021
        • Nativ_2026
      • BootCamp_Codestates
        • TIL
        • TILookCloser
        • Pre Tech Blog
        • IM Tech Blog
        • Daily Issues and DeBugging
        • First Project
        • Final Project
        • Sprint Review
        • Good to Know
        • Socrative Review
        • HTML & CSS
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

    • 글쓰기
    • 관리
  • 공지사항

  • 인기 글

  • 태그

    자바스크립트 딥다이브
    Threads and Multithreading
    개인의무한한능력이요구되는세상
    Time complexity and Space complexity
    indie hacker
    mobile app
    js pattern
    TCP/IP
    structure of os
    How memory manage data
    딥다이브
    프론트엔드 성능 최적화 가이드
    이벤트
    자바스크립트
    leetcode
    CPU scheduling algorithm
    모던 자바스크립트 Deep Dive
    Shared resources
    database
    polylingo
    Network
    Binary Tree BFS
    스코프
    Javascript Essentials
    Operating System
    testing
    VoiceJournal
    커리어
    Data Structure
    DOM
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
히어운트예츠트
PDU
상단으로

티스토리툴바