FW_ACTIONS

This enumeration specifies the action the firewall takes for a packet. The action can be either to allow it or to block it. 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.

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

OS Versions: Windows CE .NET 4.2 and later.
Header: Fwapi.h.

See Also

Firewall Enumerations

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.