2 # MACTCP - event codes for the mactcp module
6 UDPDataArrival
=1 # A datagram has arrived
7 UDPICMPReceived
=2 # An ICMP error was received
10 TCPClosing
=1 # All incoming data has been received and read.
11 TCPULPTimeout
=2 # No response from remote process.
12 TCPTerminate
=3 # Connection terminated. Has a detail parameter.
13 TCPDataArrival
=4 # Data has arrived (and no Rcv call is outstanding)
14 TCPUrgent
=5 # Urgent data is outstanding
15 TCPICMPReceived
=6 # An ICMP error was received
16 PassiveOpenDone
=32766 # (python only) a PassiveOpen has completed.
18 # TCP termination reasons
22 TCPULPTimeoutTerminate
=5
28 ipBadLapErr
= -23000 # bad network configuration
29 ipBadCnfgErr
= -23001 # bad IP configuration error
30 ipNoCnfgErr
= -23002 # missing IP or LAP configuration error
31 ipLoadErr
= -23003 # error in MacTCP load
32 ipBadAddr
= -23004 # error in getting address
33 connectionClosing
= -23005 # connection is closing
34 invalidLength
= -23006
35 connectionExists
= -23007 # request conflicts with existing connection
36 connectionDoesntExist
= -23008 # connection does not exist
37 insufficientResources
= -23009 # insufficient resources to perform request
38 invalidStreamPtr
= -23010
39 streamAlreadyOpen
= -23011
40 connectionTerminated
= -23012
41 invalidBufPtr
= -23013
45 commandTimeout
= -23016
46 duplicateSocket
= -23017
48 # Error codes from internal IP functions
49 ipDontFragErr
= -23032 # Packet too large to send w/o fragmenting
50 ipDestDeadErr
= -23033 # destination not responding
51 icmpEchoTimeoutErr
= -23035 # ICMP echo timed-out
52 ipNoFragMemErr
= -23036 # no memory to send fragmented pkt
53 ipRouteErr
= -23037 # can't route packet off-net
55 nameSyntaxErr
= -23041