English
Language : 

K60P100M100SF2RM Datasheet, PDF (1178/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Functional Description
44.4.2 IP and Higher Layers Frame Format
The following sections use the term datagram to describe the protocol specific data unit
that is found within the payload section of its container entity.
For example, an IP datagram specifies the payload section of an Ethernet frame. A TCP
datagram specifies the payload section within an IP datagram.
44.4.2.1 Ethernet Types
IP datagrams are carried in the payload section of an Ethernet frame. The Ethernet frame
type/length field discriminates several datagram types.
The following table lists the types of interest:
Table 44-57. Ethernet Type Value Examples
Type
0x8100
0x0800
0x0806
0x86DD
Description
VLAN-tagged frame. The actual type is found 4 octets later in the frame
IP
ARP
IPv6
44.4.2.2 IPv4 Datagram Format
The following figure shows the IP Version 4 (IPv4) header, which is located at the
beginning of an IP datagram. It is organized in 32-bit words. The first byte sent/received
is the leftmost byte of the first word (i.e. version/IHL field).
The IP header can contain further options, which are always padded if necessary to
guarantee the payload following the header is aligned to a 32-bit boundary.
The IP header is followed by the payload immediately, which can contain further
protocol headers (e.g., TCP or UDP as indicated by the protocol field value). The
complete IP datagram is transported in the payload section of an Ethernet frame.
Table 44-58. IPv4 Header Format
3
1
3
0
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1
9
1
8
1
7
1
6
1
5
1
4
1
3
1
2
1
1
1
0
9
8
7
6
5
4
3
2
1
0
Version
IHL
TOS
Length
Table continues on the next page...
1178
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.