次の方法で共有


FW_ACTIONS (Windows Embedded CE 6.0)

1/6/2010

This enumeration defines values for the firewall actions for a packet. These values are used for the Action member of FW_RULE for logging rules. They are also used for the Action member of FW_LOG_ENTRY.

Syntax

typedef enum _FW_ACTIONS {
  FWA_BLOCK = 0x01,
  FWA_ALLOW = 0x02,
  FWA_ALLOW_RESPONSE = 0x03,
} FW_ACTIONS;

Elements

  • FWA_BLOCK
    Packet is blocked by the firewall.
  • FWA_ALLOW
    Packet is allowed by the firewall as a result of a firewall rule.
  • FWA_ALLOW_RESPONSE
    Packet is allowed by the firewall as a response to traffic initiated from the private side.

Requirements

Header fwapi.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IP Firewall Enumerations