2.2.14 FW_PORT_KEYWORD

This enumeration identifies (with bitmask flags) the ports used by specific well-known protocols.<2> The ports corresponding to these keywords change dynamically and are tracked by the PortsInUse object (see section 3.1.1). All the flags supported by a given schema version can be combined, except for the restrictions placed on the wPortKeywords field as stated in FW_RULE (section 2.2.37) and FW_CS_RULE (section 2.2.55).

 typedef  enum _tag_FW_PORT_KEYWORD
 {
   FW_PORT_KEYWORD_NONE = 0x00,
   FW_PORT_KEYWORD_DYNAMIC_RPC_PORTS = 0x01,
   FW_PORT_KEYWORD_RPC_EP = 0x02,
   FW_PORT_KEYWORD_TEREDO_PORT = 0x04,
   FW_PORT_KEYWORD_IP_TLS_IN = 0x08,
   FW_PORT_KEYWORD_IP_TLS_OUT = 0x10,
   FW_PORT_KEYWORD_DHCP = 0x20,
   FW_PORT_KEYWORD_PLAYTO_DISCOVERY = 0x40,
   FW_PORT_KEYWORD_MDNS = 0x80,
   FW_PORT_KEYWORD_CORTANA_OUT = 0x100,
   FW_PORT_KEYWORD_PROXIMAL_TCP_CDP = 0x200,
   FW_PORT_KEYWORD_MAX = 0x400,
   FW_PORT_KEYWORD_MAX_V2_1 = 0x08,
   FW_PORT_KEYWORD_MAX_V2_10 = 0x20,
   FW_PORT_KEYWORD_MAX_V2_20 = 0x80,
   FW_PORT_KEYWORD_MAX_V2_24 = 0x100,
   FW_PORT_KEYWORD_MAX_V2_25 = 0x200
 } FW_PORT_KEYWORD;

FW_PORT_KEYWORD_NONE:  Specifies that no port keywords are used.

FW_PORT_KEYWORD_DYNAMIC_RPC_PORTS:  Represents all ports in the PortsInUse collection where IsDynamicRPC is true.

FW_PORT_KEYWORD_RPC_EP:  Represents all ports in the PortsInUse collection where IsRPCEndpointMapper is true.

FW_PORT_KEYWORD_TEREDO_PORT:  Represents all ports in the PortsInUse collection where IsTeredo is true.

FW_PORT_KEYWORD_IP_TLS_IN:  Represents all ports in the PortsInUse collection where IsIPTLSIn is true. For schema versions 0x0200 and 0x0201, this value is invalid and MUST NOT be used. This symbolic constant has a value of 0x08.

FW_PORT_KEYWORD_IP_TLS_OUT:  Represents all ports in the PortsInUse collection where IsIPTLSOut is true. For schema versions 0x0200 and 0x0201, this value is invalid and MUST NOT be used. This symbolic constant has a value of 0x10.

FW_PORT_KEYWORD_DHCP:  Represents all ports in the PortsInUse collection where IsDHCPClient is true. For schema versions 0x0200, 0x0201, and 0x020A, this value is invalid and MUST NOT be used. This symbolic constant has a value of 0x20.

FW_PORT_KEYWORD_PLAYTO_DISCOVERY:  Represents all ports in the PortsInUse collection where IsPlayToDiscovery is true. For schema versions 0x0200, 0x0201, and 0x020A, this value is invalid and MUST NOT be used. This symbolic constant has a value of 0x40.

FW_PORT_KEYWORD_MDNS:  Represents all ports in the PortsInUse collection where IsMDNS is true. For schema versions 0x0200, 0x0201, 0x020A, and 0x0214, this value is invalid and MUST NOT be used. This symbolic constant has a value of 0x80.

FW_PORT_KEYWORD_CORTANA_OUT:  Represents all ports in the PortsInUse collection where IsCortanaOut is true. For schema versions 0x0200, 0x0201, 0x020A, 0x0214, 0x0216, 0x0218, and 0x0219, this value is invalid and MUST NOT be used. This symbolic constant has a value of 0x100.

FW_PORT_KEYWORD_PROXIMAL_TCP_CDP:  Represents all ports in the PortsInUse collection where IsProximalTCPCDP is true. For schema versions 0x0200, 0x0201, 0x020A, 0x0214, 0x0216, 0x0218, 0x0219, 0x021A, 0x021B, and 0x021C, this value is invalid and MUST NOT be used. This symbolic constant has a value of 0x200.

FW_PORT_KEYWORD_MAX:  This value and values that exceed this value are not valid and MUST NOT be used. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 0x400.<3>

FW_PORT_KEYWORD_MAX_V2_1:  This value and values that exceed this value are not valid and MUST NOT be used by servers and clients with schema version 0x0201 and earlier. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 0x08.

FW_PORT_KEYWORD_MAX_V2_10:  This value and values that exceed this value are not valid and MUST NOT be used by servers and clients with schema version 0x020A and earlier. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 0x20.

FW_PORT_KEYWORD_MAX_V2_20:  This value and values that exceed this value are not valid and MUST NOT be used by servers and clients with schema version 0x0214 and earlier. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 0x80.

FW_PORT_KEYWORD_MAX_V2_24:  This value and values that exceed this value are not valid and MUST NOT be used by servers and clients with schema version 0x0219 and earlier. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 0x100.

FW_PORT_KEYWORD_MAX_V2_25:  This value and values that exceed this value are not valid and MUST NOT be used by servers and clients with schema version 0x021B and earlier. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of 0x200.