# RTP IPv6 endpoint address structure

When the endpoint type is MSP_ENDPOINT_RTPFDX_V6, MSP_ENDPOINT_RTPIN_V6, or MSP_ENDPOINT_RTPOUT_V6, the application provides the following endpoint address information:

typedef struct tag_RTPRTCP_V6_ENDPOINT_ADDR
{
char DestIpv6Address[46];
WORD nDestPort;
WORD ifc_idx;
char SrcIpv6Address[46];
WORD nSrcPort;
} RTPRTCP_V6_ENDPOINT_ADDR;

## RTPRTCP_ENDPOINT_ADDR

#### Dependent function: mspCreateEndpoint

Field | Type | Default | Units | Description
DestIPv6Address[46] | IPADDRESS | N/A | N/A | Destination IPv6 address. NULL for IPv6 RTP simplex receive (MSP_ENDPOINT_RTPIN_V6)endpoints.
nDestPort | WORD | N/A | N/A | Destination port number. NULL for IPv6 RTP simplex receive (MSP_ENDPOINT_RTPIN_V6) endpoints.
ifc_idx | WORD | N/A | N/A | CG board Ethernet interface number (1 or 2). Specifying 0 allows the IPv6 stack to choose.
SrcIPv6Address[46] | IPADDRESS | N/A | N/A | Source IPv6 address. NULL for IPv6 RTP simplex send (MSP_ENDPOINT_RTPOUT_V6) endpoints.
nSrcPort | WORD | N/A | N/A | Source port number. NULL for IPv6 RTP simplex SEND (MSP_ENDPOINT_RTPOUT_V6) endpoints.