TCP/IP Programming Manual
 unsigned long n_net;
};
TAL Declaration
?NOLIST, SOURCE SOCKDEFT
STRUCT naliase (*);
 BEGIN
 STRING .EXT ptrs;
 END;
STRUCT nptrs (naliase)[0:4];
STRUCT netent (*);
 BEGIN
 STRING .EXT n_name;
 STRING .EXT n_aliases(nptrs);
 INT(32) n_addrtype;
 INT(32) n_net
END;
n_name
points to the official name of the network.
n_aliases
points to an array of null-terminated pointers to various aliases for the network.
n_addrtype
indicates the type of network number returned; its value is always AF_INET, indicating the
network part of an Internet address.
n_net
is the network number, in host order.
open_info_message
This structure is used by the routines that deal with obtaining information for the primary and
backup processes of a NonStop process pair. It is defined in the netdb.h header file. This structure
is used by the socket_get_open_info and socket_backup routines. Additional information
about the parameters for this structure can be found in the description of the FILE_OPEN_ procedure
in the Guardian Procedure Calls Reference Manual.
C Declaration
#include <netdb.h>
struct open_info_message { 
 short filenum;
 char file_name[32];
 short filename_len;
 short flags;
 short sync;
 short access;
 short exclusion;
 short nowait;
 short options;
 };
TAL Declaration
?NOLIST, SOURCE SOCKDEFT
STRUCT open_info_message (*);
 BEGIN
 INT filenum;
 STRING file_name[0:31];
72 Data Structures










