Thursday, October 29, 2009

11.9 Reply Processing

Team-Fly
 

 

TCP/IP Illustrated, Volume 2: The Implementation
By
Gary R. Wright, W. Richard Stevens
Table of Contents
Chapter 11. 
ICMP: Internet Control Message Protocol


11.9 Reply Processing


The kernel does not process any of the ICMP reply messages. ICMP requests are generated by processes, never by the kernel, so the kernel passes any replies that it receives to processes waiting for ICMP messages. In addition, the ICMP router discovery messages are passed to rip_input.



Figure 11.28. icmp_input function: reply messages.


307-322

No actions are required by the kernel for ICMP reply messages, so execution continues after the switch statement at raw. Note that the default case for the switch statement (unrecognized ICMP messages) also passes control to the code at raw.




    Team-Fly
     

     
    Top
     


    No comments: