Hex Artifact Content

Not logged in

Artifact 14fff92b77913fcbef0ed573cb424402afcbe6ca:


0000: 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  /***************
0010: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0020: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0030: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0040: 2a 2a 2a 2a 2a 2a 2a 2a 5c 0a 2a 20 20 20 20 20  ********\.*     
0050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0060: 20 20 20 20 20 20 20 20 20 20 69 70 69 66 63 6f            ipifco
0070: 6e 73 2e 64 20 20 20 20 20 20 20 20 20 20 20 20  ns.d            
0080: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0090: 20 20 2a 0a 2a 20 20 20 20 20 20 20 20 20 20 20    *.*           
00a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00d0: 20 20 20 20 20 20 20 20 20 20 20 20 2a 0a 2a 20              *.* 
00e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
00f0: 20 20 20 20 20 20 57 69 6e 64 6f 77 73 20 41 50        Windows AP
0100: 49 20 68 65 61 64 65 72 20 6d 6f 64 75 6c 65 20  I header module 
0110: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0120: 20 20 20 20 20 20 2a 0a 2a 20 20 20 20 20 20 20        *.*       
0130: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0140: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0150: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0160: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0170: 2a 0a 2a 20 20 20 20 20 20 20 20 20 20 20 20 20  *.*             
0180: 20 20 20 20 54 72 61 6e 73 6c 61 74 65 64 20 66      Translated f
0190: 72 6f 6d 20 4d 69 6e 47 57 20 57 69 6e 64 6f 77  rom MinGW Window
01a0: 73 20 68 65 61 64 65 72 73 20 20 20 20 20 20 20  s headers       
01b0: 20 20 20 20 20 20 20 20 20 20 2a 0a 2a 20 20 20            *.*   
01c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
01d0: 20 20 20 20 20 20 20 20 62 79 20 53 74 65 77 61          by Stewa
01e0: 72 74 20 47 6f 72 64 6f 6e 20 20 20 20 20 20 20  rt Gordon       
01f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0200: 20 20 20 20 2a 0a 2a 20 20 20 20 20 20 20 20 20      *.*         
0210: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0220: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0230: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0240: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 0a                *.
0250: 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  *               
0260: 20 20 20 20 20 20 20 20 50 6c 61 63 65 64 20 69          Placed i
0270: 6e 74 6f 20 70 75 62 6c 69 63 20 64 6f 6d 61 69  nto public domai
0280: 6e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  n               
0290: 20 20 20 20 20 20 20 20 2a 0a 5c 2a 2a 2a 2a 2a          *.\*****
02a0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
02b0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
02c0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
02d0: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
02e0: 2a 2a 2f 0a 6d 6f 64 75 6c 65 20 77 69 6e 33 32  **/.module win32
02f0: 2e 69 70 69 66 63 6f 6e 73 3b 0a 0a 2f 2f 20 46  .ipifcons;..// F
0300: 49 58 4d 45 3a 20 63 68 65 63 6b 20 74 79 70 65  IXME: check type
0310: 73 20 6f 66 20 63 6f 6e 73 74 61 6e 74 73 0a 0a  s of constants..
0320: 65 6e 75 6d 20 7b 0a 09 4d 49 42 5f 49 46 5f 41  enum {..MIB_IF_A
0330: 44 4d 49 4e 5f 53 54 41 54 55 53 5f 55 50 20 3d  DMIN_STATUS_UP =
0340: 20 31 2c 0a 09 4d 49 42 5f 49 46 5f 41 44 4d 49   1,..MIB_IF_ADMI
0350: 4e 5f 53 54 41 54 55 53 5f 44 4f 57 4e 2c 0a 09  N_STATUS_DOWN,..
0360: 4d 49 42 5f 49 46 5f 41 44 4d 49 4e 5f 53 54 41  MIB_IF_ADMIN_STA
0370: 54 55 53 5f 54 45 53 54 49 4e 47 2c 0a 7d 0a 0a  TUS_TESTING,.}..
0380: 65 6e 75 6d 20 7b 0a 09 4d 49 42 5f 49 46 5f 4f  enum {..MIB_IF_O
0390: 50 45 52 5f 53 54 41 54 55 53 5f 4e 4f 4e 5f 4f  PER_STATUS_NON_O
03a0: 50 45 52 41 54 49 4f 4e 41 4c 2c 0a 09 4d 49 42  PERATIONAL,..MIB
03b0: 5f 49 46 5f 4f 50 45 52 5f 53 54 41 54 55 53 5f  _IF_OPER_STATUS_
03c0: 55 4e 52 45 41 43 48 41 42 4c 45 2c 0a 09 4d 49  UNREACHABLE,..MI
03d0: 42 5f 49 46 5f 4f 50 45 52 5f 53 54 41 54 55 53  B_IF_OPER_STATUS
03e0: 5f 44 49 53 43 4f 4e 4e 45 43 54 45 44 2c 0a 09  _DISCONNECTED,..
03f0: 4d 49 42 5f 49 46 5f 4f 50 45 52 5f 53 54 41 54  MIB_IF_OPER_STAT
0400: 55 53 5f 43 4f 4e 4e 45 43 54 49 4e 47 2c 0a 09  US_CONNECTING,..
0410: 4d 49 42 5f 49 46 5f 4f 50 45 52 5f 53 54 41 54  MIB_IF_OPER_STAT
0420: 55 53 5f 43 4f 4e 4e 45 43 54 45 44 2c 0a 09 4d  US_CONNECTED,..M
0430: 49 42 5f 49 46 5f 4f 50 45 52 5f 53 54 41 54 55  IB_IF_OPER_STATU
0440: 53 5f 4f 50 45 52 41 54 49 4f 4e 41 4c 20 2f 2f  S_OPERATIONAL //
0450: 20 3d 20 35 0a 7d 0a 0a 65 6e 75 6d 20 7b 0a 09   = 5.}..enum {..
0460: 4d 49 42 5f 49 46 5f 54 59 50 45 5f 4f 54 48 45  MIB_IF_TYPE_OTHE
0470: 52 20 20 20 20 20 3d 20 20 31 2c 0a 09 4d 49 42  R     =  1,..MIB
0480: 5f 49 46 5f 54 59 50 45 5f 45 54 48 45 52 4e 45  _IF_TYPE_ETHERNE
0490: 54 20 20 3d 20 20 36 2c 0a 09 4d 49 42 5f 49 46  T  =  6,..MIB_IF
04a0: 5f 54 59 50 45 5f 54 4f 4b 45 4e 52 49 4e 47 20  _TYPE_TOKENRING 
04b0: 3d 20 20 39 2c 0a 09 4d 49 42 5f 49 46 5f 54 59  =  9,..MIB_IF_TY
04c0: 50 45 5f 46 44 44 49 20 20 20 20 20 20 3d 20 31  PE_FDDI      = 1
04d0: 35 2c 0a 09 4d 49 42 5f 49 46 5f 54 59 50 45 5f  5,..MIB_IF_TYPE_
04e0: 50 50 50 20 20 20 20 20 20 20 3d 20 32 33 2c 0a  PPP       = 23,.
04f0: 09 4d 49 42 5f 49 46 5f 54 59 50 45 5f 4c 4f 4f  .MIB_IF_TYPE_LOO
0500: 50 42 41 43 4b 20 20 3d 20 32 34 2c 0a 09 4d 49  PBACK  = 24,..MI
0510: 42 5f 49 46 5f 54 59 50 45 5f 53 4c 49 50 20 20  B_IF_TYPE_SLIP  
0520: 20 20 20 20 3d 20 32 38 0a 7d 0a                     = 28.}.