Navigation bar
  Start Previous page  34 of 35  Next page End Home  24 25 26 27 28 29 30 31 32 33 34 35  

Embedded Web Server for the CR16
National Semiconductor
Jeff Wright
34
a segment.  On a dial-up connection, the MTU is essentially irrelevant.  PPP does impose an
arbitrary MTU of 1500 bytes, presumably to mimic that of Ethernet.   Since our TCP advertises
its MSS, the peer should never decide to fragment a segment.  This IP does not examine the
More Fragments (MF) bit.  Should a datagram be received with this bit set, this IP will not
treat it any differently that any other datagram.  This will eventually lead to checksum errors. 
 
·
IP Options 
IP defines several options, many or most of which never find any real use in common
applications, let alone an embedded one.  These Options provide IP with useful control functions
needed in some situations, but for the most part, are simply not implemented in many stacks. 
Options include - provisions for timestamps, security, and special routing.   
No IP options are supported in this stack, although provision is made to receive them.  If
received they are ignored.
·
ICMP
ICMP (Internet Control Message Protocol) was defined to be integral to IP, although logically it
sits above it.  What that means is that ICMP messages are transmitted in IP datagrams just
like TCP and UDP messages.  Nonetheless, ICMP is technically part of IP and all IP’s are
required to implement certain of its features.  ICMP messages are grouped into two classes:
1.
Error messages:
·
Destination Unreachable
·
Redirect
·
Source Quench
·
Time Exceeded
·
Parameter Problem 
2.
Query messages:
·
Echo
·
Information
·
Timestamp
·
Address Mask
·
3.2.2.6  Echo Request/Reply:
Types 8 and 0.  Every host MUST implement an ICMP Echo server function that receives Echo
Requests and sends matching Echo Replies.  The IP source address in an ICMP Echo Reply MUST
be the same as the specific-destination address (defined in Section 3.2.1.3) of the
corresponding ICMP Echo Request message.
·
3.2.2.6  Router Advertisement:
     
Microcontroller.com White Papers Previous page Top Next page