NET_FW_IP_PROTOCOL enumeration (icftypes.h)
[The Windows Firewall API is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For Windows Vista and later, use of the Windows Firewall with Advanced Security API is recommended.]
[The Windows Firewall API is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For Windows Vista and later, use of the Windows Firewall with Advanced Security API is recommended.]
The NET_FW_IP_PROTOCOL enumeration type specifies the Internet protocol.
Syntax
typedef enum NET_FW_IP_PROTOCOL_ {
NET_FW_IP_PROTOCOL_TCP = 6,
NET_FW_IP_PROTOCOL_UDP = 17,
NET_FW_IP_PROTOCOL_ANY = 256
} NET_FW_IP_PROTOCOL;
Constants
NET_FW_IP_PROTOCOL_TCP Value: 6 Transmission Control Protocol. |
NET_FW_IP_PROTOCOL_UDP Value: 17 User Datagram Protocol. |
NET_FW_IP_PROTOCOL_ANY Value: 256 |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only] |
Minimum supported server | None supported |
Header | icftypes.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for