January 1995
Intermediate to advanced
1200 pages
31h 3m
English
This chapter describes how Net/3 manages IP addressing information. We start with the in_ifaddr and sockaddr_in structures, which are based on the generic ifaddr and sockaddr structures.
The remainder of the chapter covers IP address assignment and several utility functions that search the interface data structures and manipulate IP addresses.
Although we assume that readers are familiar with the basic Internet addressing system, several issues are worth pointing out.
In the IP model, it is the network interfaces on a system (a host or a router) that are assigned addresses, not the system itself. In the case of a system with multiple interfaces, the system ...
Read now
Unlock full access