RASTUNNNELENDPOINT Structure

[This documentation is preliminary and is subject to change.]

This RASTUNNNELENDPOINT structure is used to define the end-point of a virtual private network (VPN) tunnel.

Syntax

typedef struct _RASTUNNNELENDPOINT {
  DWORD dwType;
        union;
} RASTUNNNELENDPOINT, 
 *PRASTUNNNELENDPOINT;

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
Minimum supported server Windows Server 2008 R2
Header Ras.h

See Also

Remote Access Service (RAS) Overview
Remote Access Service Structures
RasUpdateConnection

Send comments about this topic to Microsoft

Build date: 1/7/2009