TCP/IP Programming Manual
?NOLIST, SOURCE SOCKDEFT
STRUCT ip_mreq (*);
BEGIN
STRUCT imr_multiaddr (in_addr); !IP multicast group address
!local interface
STRUCT imr_interface (in_addr); !IP address
END;
imr_multiaddr
contains the address of the IP multicast group to join membership to or drop membership from.
imr_interface
is the interface IP address.
ipv6_mreq
The IP multicast request structure is used for IPv6 multicast socket I/O control operations. This
structure is used by the socket routines and is declared in the in6.h header file. This structure
applies to NonStop TCP/IP only.
C Declaration
#include <in6.h>
struct ipv6_mreq {
struct in6_addr ipv6mr_multiaddr; /* IPv6 multicast address */
unsigned int ipv6mr_interface; /* interface index */
};
TAL Declaration
?NOLIST, SOURCE SOCKDEFT
STRUCT .ipv6_mreq;
BEGIN
STRUCT sin6_addr(in6_addr); !IPv6 address
INT(32) ipv6mr_interface; !local interface
END;
ipv6mr_multiaddr
contains the address of the IPv6 multicast group to join membership to or drop membership
from. Can be specified with a value of 0, which allows an application to choose the default
multicast interface.
ipv6mr_interface
is the local interface IPv6 address.
netent
This structure is used by the support routines that deal with network names. It is defined in the
netdb.h header file. This structure is used by the getnetbyname and getnetbyaddr support
routines.
C Declaration
#include <netdb.h>
struct netent {
char *n_name;
char **n_aliases;
int n_addrtype;
Data Structures 71