TCP/IP Programming Manual

ifr_name[IFNAMESIZ]
contains the name of the SUBNET device. The name must begin with the pound sign (#),
followed by the interface name in all capital letters.
ifr_addr
is the interface address.
ifr_dstaddr
is the destination address at the other end of a point-to-point link.
ifr_broadaddr
is the broadcast address of this interface.
ifr_flags
contains a combination of one or more of the following flags:
Indicates that the interface is up.IFF_UP
Indicates that this is a broadcast-oriented interface (such as Ethernet).IFF_BROADCAST
Indicates that this is a loopback interface.IFF_LOOPBACK
Indicates that this is a point-to-point link.IFF_POINTTOPOINT
Indicates that the interface is active.IFF_RUNNING
Indicates that the interface does not support ARP.IFF_NOARP
ifr_metric
gets or sets the interface metric; it is used by routing programs. Refer to the TCP/IP Configuration
and Management Manual for details on routing.
ifr_data
contains the data associated with the request.
ifr_value
is any generic value.
ifr_index
is an interface index.
in_addr
This is a 4-byte structure that defines an Internet address. This structure is used by the socket routines
and is declared in the in.h header file.
C Declaration
#include <in.h>
struct in_addr {
in_addr_t s_addr;
};
TAL Declaration
?NOLIST, SOURCE SOCKDEFT
STRUCT in_addr (*);
BEGIN
INT(32) s_addr;
END;
s_addr
is the Internet address.
Data Structures 69