December 2013
Beginner to intermediate
648 pages
18h 28m
English
CHAPTER 3
![]()
Internet Control Message Protocol (ICMP)
Chapter 2 discusses the netlink sockets implementation and how netlink sockets are used as a communication channel between the kernel and userspace. This chapter deals with the ICMP protocol, which is a Layer 4 protocol. Userspace applications can use the ICMP protocol (to send and receive ICMP packets) by using the sockets API (the best-known example is probably the ping utility). This chapter discusses how these ICMP packets are handled in the kernel and gives some examples.
The ICMP protocol is used primarily as a mandatory mechanism for sending error and control messages about the network ...
Read now
Unlock full access