FWPS_CONNECTION_POLICY0 structure (fwpsk.h)

The FWPS_CONNECTION_POLICY0 structure defines the connection policy for outbound network connections.

Syntax

typedef struct _FWPS_CONNECTION_POLICY0 {
  SOCKADDR_STORAGE localAddress;
  SOCKADDR_STORAGE nextHopAddress;
  IF_LUID          interfaceLuid;
} FWPS_CONNECTION_POLICY0;

Members

localAddress

The local address of the outbound connection. This is an IPV4 or IPV6 address and TCP/UDP port formatted as a SOCKADDR_STORAGE structure.

nextHopAddress

The next hop address for the outbound connection. This is an IPV4 or IPV6 address and TCP/UDP port formatted as a SOCKADDR_STORAGE structure.

interfaceLuid

The locally unique identifier (LUID) for the network interface used for the outbound connection.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header fwpsk.h

See also

SOCKADDR_STORAGE