IP status codes returned to transports and user IOCTLs.
VBS include
'IPStatus - begin
Public Const ipSuccess = &H0
Public Const ipStatusBase = &H2AF8 'Status Base.
Public Const ipBufferTooSmall = &H2AF9 'Buffer too small.
Public Const ipDestNetUnreachable = &H2AFA 'Destination net unreachable.
Public Const ipDestHosttUnreachable = &H2AFB 'Destination host unreachable.
Public Const ipDestProtUnreachable = &H2AFC 'Destination protocol unreachable.
Public Const ipDestPortUnreachable = &H2AFD 'Destination port unreachable.
Public Const ipNoResources = &H2AFE 'No resources.
Public Const ipBadOption = &H2AFF 'Bad option.
Public Const ipHWError = &H2B00 'HW Error.
Public Const ipPacketTooBig = &H2B01 'Packet too big.
Public Const ipRequestTimeout = &H2B02 'Request timeout.
Public Const ipBadRequest = &H2B03 'Bad request.
Public Const ipBadRoute = &H2B04 'Bad route.
Public Const ipExpiredTransit = &H2B05 'Expired transit.
Public Const ipExpiredReassem = &H2B06 'Expired reassem.
Public Const ipParamProblem = &H2B07 'Parameters problem.
Public Const ipSourceQuench = &H2B08 'Source quench.
Public Const ipOptionTooBig = &H2B09 'Option too big.
Public Const ipBadDestination = &H2B0A 'Bad destination.
Public Const ipAddrDeleted = &H2B0B 'Address deleted.
Public Const ipSpecMTUChange = &H2B0C 'Spec MTU change.
Public Const ipMTUChange = &H2B0D 'MTU change.
Public Const ipUnload = &H2B0E 'Unload.
Public Const ipGeneralFailure = &H2B2A 'General Failure.
Public Const ipPending = &H2BF7 'Pending.
'IPStatus - end
VB4 include
'IPStatus - begin
Public Const ipSuccess As Long = &H0
Public Const ipStatusBase As Long = &H2AF8 'Status Base.
Public Const ipBufferTooSmall As Long = &H2AF9 'Buffer too small.
Public Const ipDestNetUnreachable As Long = &H2AFA 'Destination net unreachable.
Public Const ipDestHosttUnreachable As Long = &H2AFB 'Destination host unreachable.
Public Const ipDestProtUnreachable As Long = &H2AFC 'Destination protocol unreachable.
Public Const ipDestPortUnreachable As Long = &H2AFD 'Destination port unreachable.
Public Const ipNoResources As Long = &H2AFE 'No resources.
Public Const ipBadOption As Long = &H2AFF 'Bad option.
Public Const ipHWError As Long = &H2B00 'HW Error.
Public Const ipPacketTooBig As Long = &H2B01 'Packet too big.
Public Const ipRequestTimeout As Long = &H2B02 'Request timeout.
Public Const ipBadRequest As Long = &H2B03 'Bad request.
Public Const ipBadRoute As Long = &H2B04 'Bad route.
Public Const ipExpiredTransit As Long = &H2B05 'Expired transit.
Public Const ipExpiredReassem As Long = &H2B06 'Expired reassem.
Public Const ipParamProblem As Long = &H2B07 'Parameters problem.
Public Const ipSourceQuench As Long = &H2B08 'Source quench.
Public Const ipOptionTooBig As Long = &H2B09 'Option too big.
Public Const ipBadDestination As Long = &H2B0A 'Bad destination.
Public Const ipAddrDeleted As Long = &H2B0B 'Address deleted.
Public Const ipSpecMTUChange As Long = &H2B0C 'Spec MTU change.
Public Const ipMTUChange As Long = &H2B0D 'MTU change.
Public Const ipUnload As Long = &H2B0E 'Unload.
Public Const ipGeneralFailure As Long = &H2B2A 'General Failure.
Public Const ipPending As Long = &H2BF7 'Pending.
'IPStatus - end
VB5 include
Public Enum IPStatus
ipSuccess = &H0
ipStatusBase = &H2AF8 'Status Base.
ipBufferTooSmall = &H2AF9 'Buffer too small.
ipDestNetUnreachable = &H2AFA 'Destination net unreachable.
ipDestHosttUnreachable = &H2AFB 'Destination host unreachable.
ipDestProtUnreachable = &H2AFC 'Destination protocol unreachable.
ipDestPortUnreachable = &H2AFD 'Destination port unreachable.
ipNoResources = &H2AFE 'No resources.
ipBadOption = &H2AFF 'Bad option.
ipHWError = &H2B00 'HW Error.
ipPacketTooBig = &H2B01 'Packet too big.
ipRequestTimeout = &H2B02 'Request timeout.
ipBadRequest = &H2B03 'Bad request.
ipBadRoute = &H2B04 'Bad route.
ipExpiredTransit = &H2B05 'Expired transit.
ipExpiredReassem = &H2B06 'Expired reassem.
ipParamProblem = &H2B07 'Parameters problem.
ipSourceQuench = &H2B08 'Source quench.
ipOptionTooBig = &H2B09 'Option too big.
ipBadDestination = &H2B0A 'Bad destination.
ipAddrDeleted = &H2B0B 'Address deleted.
ipSpecMTUChange = &H2B0C 'Spec MTU change.
ipMTUChange = &H2B0D 'MTU change.
ipUnload = &H2B0E 'Unload.
ipGeneralFailure = &H2B2A 'General Failure.
ipPending = &H2BF7 'Pending.
End Enum 'IPStatus
JScript include
//IPStatus - begin
var ipSuccess = 0x0;
var ipStatusBase = 0x2AF8; //Status Base.
var ipBufferTooSmall = 0x2AF9; //Buffer too small.
var ipDestNetUnreachable = 0x2AFA; //Destination net unreachable.
var ipDestHosttUnreachable = 0x2AFB; //Destination host unreachable.
var ipDestProtUnreachable = 0x2AFC; //Destination protocol unreachable.
var ipDestPortUnreachable = 0x2AFD; //Destination port unreachable.
var ipNoResources = 0x2AFE; //No resources.
var ipBadOption = 0x2AFF; //Bad option.
var ipHWError = 0x2B00; //HW Error.
var ipPacketTooBig = 0x2B01; //Packet too big.
var ipRequestTimeout = 0x2B02; //Request timeout.
var ipBadRequest = 0x2B03; //Bad request.
var ipBadRoute = 0x2B04; //Bad route.
var ipExpiredTransit = 0x2B05; //Expired transit.
var ipExpiredReassem = 0x2B06; //Expired reassem.
var ipParamProblem = 0x2B07; //Parameters problem.
var ipSourceQuench = 0x2B08; //Source quench.
var ipOptionTooBig = 0x2B09; //Option too big.
var ipBadDestination = 0x2B0A; //Bad destination.
var ipAddrDeleted = 0x2B0B; //Address deleted.
var ipSpecMTUChange = 0x2B0C; //Spec MTU change.
var ipMTUChange = 0x2B0D; //MTU change.
var ipUnload = 0x2B0E; //Unload.
var ipGeneralFailure = 0x2B2A; //General Failure.
var ipPending = 0x2BF7; //Pending.
//IPStatus - end
IDL include
// IPStatus
typedef [helpcontext(0x20021), helpstring("IP status codes returned to transports and user IOCTLs.")]
enum IPStatus{
[helpcontext(0x20021)]
ipSuccess = 0x0,
[helpcontext(0x20021), helpstring("Status Base.")]
ipStatusBase = 0x2AF8,
[helpcontext(0x20021), helpstring("Buffer too small.")]
ipBufferTooSmall = 0x2AF9,
[helpcontext(0x20021), helpstring("Destination net unreachable.")]
ipDestNetUnreachable = 0x2AFA,
[helpcontext(0x20021), helpstring("Destination host unreachable.")]
ipDestHosttUnreachable = 0x2AFB,
[helpcontext(0x20021), helpstring("Destination protocol unreachable.")]
ipDestProtUnreachable = 0x2AFC,
[helpcontext(0x20021), helpstring("Destination port unreachable.")]
ipDestPortUnreachable = 0x2AFD,
[helpcontext(0x20021), helpstring("No resources.")]
ipNoResources = 0x2AFE,
[helpcontext(0x20021), helpstring("Bad option.")]
ipBadOption = 0x2AFF,
[helpcontext(0x20021), helpstring("HW Error.")]
ipHWError = 0x2B00,
[helpcontext(0x20021), helpstring("Packet too big.")]
ipPacketTooBig = 0x2B01,
[helpcontext(0x20021), helpstring("Request timeout.")]
ipRequestTimeout = 0x2B02,
[helpcontext(0x20021), helpstring("Bad request.")]
ipBadRequest = 0x2B03,
[helpcontext(0x20021), helpstring("Bad route.")]
ipBadRoute = 0x2B04,
[helpcontext(0x20021), helpstring("Expired transit.")]
ipExpiredTransit = 0x2B05,
[helpcontext(0x20021), helpstring("Expired reassem.")]
ipExpiredReassem = 0x2B06,
[helpcontext(0x20021), helpstring("Parameters problem.")]
ipParamProblem = 0x2B07,
[helpcontext(0x20021), helpstring("Source quench.")]
ipSourceQuench = 0x2B08,
[helpcontext(0x20021), helpstring("Option too big.")]
ipOptionTooBig = 0x2B09,
[helpcontext(0x20021), helpstring("Bad destination.")]
ipBadDestination = 0x2B0A,
[helpcontext(0x20021), helpstring("Address deleted.")]
ipAddrDeleted = 0x2B0B,
[helpcontext(0x20021), helpstring("Spec MTU change.")]
ipSpecMTUChange = 0x2B0C,
[helpcontext(0x20021), helpstring("MTU change.")]
ipMTUChange = 0x2B0D,
[helpcontext(0x20021), helpstring("Unload.")]
ipUnload = 0x2B0E,
[helpcontext(0x20021), helpstring("General Failure.")]
ipGeneralFailure = 0x2B2A,
[helpcontext(0x20021), helpstring("Pending.")]
ipPending = 0x2BF7
} IPStatus;