Unix Network Programming, Volume 1: The Sockets Networking API (3rd Edition)

This socket option is processed by ICMPv6 and has a level of IPPROTO_ICMPV6 .

ICMP6_FILTER Socket Option

This option lets us fetch and set an icmp6_filter structure that specifies which of the 256 possible ICMPv6 message types will be passed to the process on a raw socket. We will discuss this option in Section 28.4.

Категории