The Generic Packet X is used as an introduction to Synchronous Data Transmission. As we explore more standards and protocols, we find that we can expand the frame structure (packet) into better defined sections that will allow easier understanding of different frame types (Ethernet, Token Ring, SDLC, HDLC, Frame Relay, ATM, Cell Relay, etc...). It also will provide a point of reference.
Basic Frame Structure
Preamble: Starting Delimiter/Alert Burst/Start of Header
At the beginning of each frame (packet), there will be a sequence of bytes (8 bit words), called the Preamble. The Preamble is used to:
The Preamble is a series of bytes with a specific bit pattern that is used only by the Preamble.
Names used by other protocols for the Preamble are: Starting Delimiter, Alert Burst and Start of Header. All perform the same 2 basic functions.
Address Field(s): Source and/or Destination
The Address Field consists of a Source Address and/or a Destination Address. The Source and Destination Addresses are hexadecimal numbers that identify the sender - Source and receiver - Destination. The Network Addresses reside in either the Network Interface Card's firmware or can be either assigned during the initialization of the NIC.
The purpose of the Source Address is to identify to the network who is sending data. The purpose of the Destination Address is to identify to the network who should be receiving the data.
Under some protocols, there may not be both Source and Destination Addresses. Only one address may be present.
The Control Field is used to indicate the Type of Information being sent as Data. The Type of Information can be Control information used when establishing a connection (handshaking) or it can be Data such as file transfers between clients and servers. The purpose of the Control Field is to identify what the purpose of the packet or frame is: Control or Data. It can also be used to indicate the size of the packet and Data.
Data/Message and optional Pad
The Data Field or Message is the actual information that is being transmitted. It can contain Control Information for handshaking or actual Data used by applications. The Control Field would indicate the Data Field size. The Data field is also called the Info field by some protocols.
The optional Pad is used to pad the data field when the protocol has a fixed Data Field size. If the Data Field size is fixed at 1200 bytes and only 300 bytes of information is available then the Pad will fill in the remaining 900 bytes with characters (e.g. 900 bytes of 00h). The protocol may also use the Pad to ensure a minimum Data field size.
CRC/ Frame Check Sequence
The CRC / Frame Check Sequence (FCS) contains an error checking number that the Destination can use to verify that the packet is okay and error-free. CRC is an abbreviation for Cyclic Redundancy Checking. The Frame Check Sequence typically incorporates a 32 Bit CRC check. Checksums work similarly but use a different algorithm.
As each packet is sent, the Source calculates a check number from the data using a predetermined algorithm (formula). The result of this calculation is appended to the packet in the Frame Check Sequence (FCS) field. At the Destination, the same calculation is performed and the result is compared to the transmitted Frame Check Sequence. If the result generated at the Destination is identical to the FCS, then it is assumed that the packet is error free at the bit level.
End Frame Delimiter
The End Frame Delimiter is a series of bytes that have a specific bit pattern that identifies the end of the packet to the Destination. Not all protocols have End Frame Delimiters fields, protocols with fixed packet size may not need the End Frame Delimiter field as the Destination may simply count the number of bytes it has received.
If this page has helped you, please consider donating $1.00 to support the cost of hosting this site, thanks.