This topic describes the following M3UA network address sub-structures:
The following NetAddrLst structure defines an array of network addresses. NetAddrLst is a substructure to the AssocCfg and M3UASctSapCfg structures.
typedef struct _NetAddrLst
{
U32 nmb; /* Number of Network Addresses */
NetAddr nAddr[SCT_MAX_NET_ADDRS]; /* List of Network Addresses */
} NetAddrLst;
The following table describes the fields in the NetAddrLst structure. These fields are not re-configurable.
Field |
Type |
Description |
nmb |
U32 |
Number of network addresses. |
nAddr[SCT_MAX_NET_ADDRS] |
NetAddr |
List of network addresses, defined by the NetAddr structure, where SCT_MAX_NET_ADDRS is an array of network addresses. For information, see NetAddr. |
The following NetAddr structure defines an IPv4 or IPv6 network address. NetAddr is a substructure to the AssocCfg and NetAddrLst structures.
typedef struct NetAddr
{
U8 type; /* type of network address */
union
{
U32 ipv4NetAddr; /* IP network address */
U8 ipv6NetAddr[16]; /* IPv6 network address */
}u;
} NetAddr;
The following table describes the fields in the NetAddr structure. These fields are not re-configurable.
Field |
Type |
Description |
type |
U8 |
Network address type. Valid values are: CM_NETADDR_IPV4 = IPV4 CM_NETADDR_IPV6 = IPV6
Note: IPV6 is not supported in the current release. |
ipv4NetAddr |
U32 |
IPv4 network address. |
ipv6NetAddr[16] |
U8 |
Not supported in the current release. |