Exercises
17.1 | In Section 17.7, we said that the broadcast address returned by the SIOCGIFBRDADDR request is returned in the ifr_broadaddr member. But on p. 173 of TCPv2, notice that it is returned in the ifr_dstaddr member. Does this matter? |
Section 17.6 ignored the aliases 206.62.226.44 through 206.62.226.46, which is acceptable since they are on the same subnet as the primary address for the interface, 206.62.226.33. But if, in this example, an alias is on a different subnet, say 192.3.4.5, return an ifi_info structure with the information about the additional address. | |
Figure 17.7 to issue this request and use the return value as the initial buffer size guess. |