RASTUNNELENDPOINT structure
This RASTUNNELENDPOINT structure is used to define the end-point of a virtual private network (VPN) tunnel.
Syntax
typedef struct _RASTUNNELENDPOINT {
DWORD dwType;
{
RASIPV4ADDR ipv4;
RASIPV6ADDR ipv6;
} union;
} RASTUNNELENDPOINT, *PRASTUNNELENDPOINT;
Members
dwType
A value that determines endpoint type. dwType can be one of the following values:Value Meaning RASTUNNELENDPOINT_UNKNOWN The endpoint type is unknown.
RASTUNNELENDPOINT_IPv4 The endpoint type is IPv4.
RASTUNNELENDPOINT_IPv6 The endpoint type is IPv6.
union
ipv4
A RASIPV4ADDR structure that contains the IPv4 address of the endpoint. ipv4 is valid only if dwType is RASTUNNELENDPOINT_IPv4.ipv6
A RASIPV6ADDR structure that contains the IPv6 address of the endpoint. ipv6 is valid only if dwType is RASTUNNELENDPOINT_IPv6.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
Ras.h |
See also
Remote Access Service (RAS) Overview