Count the header and data
03The UDP header is eight octets; the Length field includes both that header and the payload.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
DIAGRAMFormat ↗
RFC 768 · FormatEXAMPLE
3 / 3
03
The example UDP Length is twenty octets.
The example UDP Length is twenty octets.
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
Read the updated RFC section ↗
The minimum UDP Length is eight.
- The minimum UDP Length is eight.
- The original 16-bit field bounds the ordinary UDP datagram length; IPv6 jumbograms are a separate extension.
The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.
Read the RFC section ↗Diagrams simplify the RFC. Read the linked sections for complete requirements.
Privacy