mnIsTypeAllowedICMPB

This command is used to check whether the specified ICMP type is allowed for any local address.

This command also returns restriction information about whether some local interfaces or remote addresses are blocked for this port. For example, if the port is restricted to the local subnet only.

To determine whether the type and IP version are allowed with a specific local address use mnIsTypeAllowedICMPA.

Parameters

unsigned char Type: ICMP type. See http://www.iana.org/assignments/icmp-parameters for possible types.

int IPVersion: IP version of the traffic. 0 = V4, 1 = V6. This cannot be any (2).

Returns (Integer)

1 if the port is allowed and not restricted.

2 if the port is allowed and restricted.

3 if the port is not allowed and not restricted.

4 if the port is not allowed and restricted.

-1 if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Internet Control Message Protocol (ICMP)
(1) Windows Firewall
(0) DarkNet Help