structure FWPM_CONNECTION0 (fwpmtypes.h)

La structure FWPM_CONNECTION0 stocke l’état associé à un objet de connexion.

Syntaxe

typedef struct FWPM_CONNECTION0_ {
  UINT64                 connectionId;
  FWP_IP_VERSION         ipVersion;
  union {
    UINT32 localV4Address;
    UINT8  localV6Address[16];
  };
  union {
    UINT32 remoteV4Address;
    UINT8  remoteV6Address[16];
  };
  GUID                   *providerKey;
  IPSEC_TRAFFIC_TYPE     ipsecTrafficModeType;
  IKEEXT_KEY_MODULE_TYPE keyModuleType;
  IKEEXT_PROPOSAL0       mmCrypto;
  IKEEXT_CREDENTIAL2     mmPeer;
  IKEEXT_CREDENTIAL2     emPeer;
  UINT64                 bytesTransferredIn;
  UINT64                 bytesTransferredOut;
  UINT64                 bytesTransferredTotal;
  FILETIME               startSysTime;
} FWPM_CONNECTION0;

Membres

connectionId

Type : UINT64

Identificateur au moment de l’exécution de la connexion.

ipVersion

Type : FWP_IP_VERSION

Version IP utilisée.

localV4Address

Type : UINT32

Adresse locale IPv4.

Disponible lorsque ipVersion est FWP_IP_VERSION_V4.

localV6Address[16]

Type : UINT8[16]

Adresse locale IPv6.

Disponible lorsque ipVersion est FWP_IP_VERSION_V6.

remoteV4Address

Type : UINT32

Adresse distante IPv4.

Disponible lorsque ipVersion est FWP_IP_VERSION_V4.

remoteV6Address[16]

Type : UINT8[16]

Adresse distante IPv6.

Disponible lorsque ipVersion est FWP_IP_VERSION_V6.

providerKey

Type : GUID*

Identifie de manière unique le fournisseur associé à cette connexion.

ipsecTrafficModeType

Type : IPSEC_TRAFFIC_TYPE

Type de trafic IPsec.

keyModuleType

Type : IKEEXT_KEY_MODULE_TYPE

Type de module de keying.

mmCrypto

Type : IKEEXT_PROPOSAL0

Une proposition de mode main IKE/AuthIP.

mmPeer

Type : IKEEXT_CREDENTIAL2

Informations d’identification du mode principal.

emPeer

Type : IKEEXT_CREDENTIAL2

Informations d’identification en mode étendu.

bytesTransferredIn

Type : UINT64

Nombre total d’octets entrants transférés par la connexion.

bytesTransferredOut

Type : UINT64

Nombre total d’octets sortants transférés par la connexion.

bytesTransferredTotal

Type : UINT64

Nombre total d’octets (entrants et sortants) transférés par la connexion.

startSysTime

Type : FILETIME

Heure à laquelle la connexion a été créée.

Spécifications

   
Client minimal pris en charge Windows 8 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2012 [applications de bureau uniquement]
En-tête fwpmtypes.h

Voir aussi

FWP_IP_VERSION

IKEEXT_CREDENTIAL2

IKEEXT_KEY_MODULE_TYPE

IKEEXT_PROPOSAL0

IPSEC_TRAFFIC_TYPE