In our IPv4 source route example at the end of
Section 27.3, what
changes if we specify each intermediate node to the client with the
-G option, instead of the -g option?
The length of the buffer specified to
setsockopt for the IP_OPTIONS socket option must
be a multiple of 4 bytes. What would we do if we did not place an
NOP at the beginning of the buffer, as shown in Figure 27.1?
In the example code from the rlogind
server at the end of Section 27.3 that
clears a received source route, why is the socket descriptor
argument for getsockopt and setsockopt 0?