2.2.80 FW_ENDPOINTS

This structure represents the two endpoints, source and destination, that participate in IP communication.

 typedef struct _tag_FW_ENDPOINTS {
   [range(FW_IP_VERSION_INVALID+1,FW_IP_VERSION_MAX-1)] 
     FW_IP_VERSION IpVersion;
   unsigned long dwSourceV4Address;
   unsigned long dwDestinationV4Address;
   unsigned char SourceV6Address[16];
   unsigned char DestinationV6Address[16];
 } FW_ENDPOINTS,
  *PFW_ENDPOINTS;

IpVersion: This field specifies the Internet Protocol version used. This field MUST contain a valid value from the FW_IP_VERSION enumeration.

dwSourceV4Address: This field is the IPv4 address of the source endpoint.

dwDestinationV4Address: This field is the IPv4 address of the destination endpoint.

SourceV6Address: This field is a 16-octet array that represents the IPv6 address of the source endpoint.

DestinationV6Address: This field is a 16-octet array that represents the IPv6 address of the destination endpoint.

The v4 versions or the v6 versions of the fields are used depending on the IpVersion field value.