Added 'list_only' option (and modified 'run()' to respect it).
[python/dscho.git] / Mac / Unsupported / mactcp / MACTCPconst.py
blob47b9d68daafe948f7a552e400fd893e01d514158
2 # MACTCP - event codes for the mactcp module
5 # UDP asr event codes
6 UDPDataArrival=1 # A datagram has arrived
7 UDPICMPReceived=2 # An ICMP error was received
9 # TCP asr event codes
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
19 TCPRemoteAbort=2
20 TCPNetworkFailure=3
21 TCPSecPrecMismatch=4
22 TCPULPTimeoutTerminate=5
23 TCPULPAbort=6
24 TCPULPClose=7
25 TCPServiceError=8
27 # MacTCP/DNR errors
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
42 invalidRDS = -23014
43 invalidWDS = -23014
44 openFailed = -23015
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
56 cacheFault = -23042
57 noResultProc = -23043
58 noNameServer = -23044
59 authNameErr = -23045
60 noAnsErr = -23046
61 dnrErr = -23047
62 outOfMemory = -23048