enum
NatPMP::OP
Overview
Opcodes defined by the RFC 6886
"Otherwise, if the opcode in the request is less than 128, but is not a supported opcode (currently 0, 1, or 2)"
Defined in:
natpmp.crEnum Members
-
NOOP =
0_u8
-
UDP =
1_u8
-
TCP =
2_u8
Instance Method Summary
-
#noop?
Returns
true
if this enum value equalsNOOP
-
#tcp?
Returns
true
if this enum value equalsTCP
-
#udp?
Returns
true
if this enum value equalsUDP