home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / c / netlib < prev    next >
ArcFS Archive  |  1996-10-17  |  290.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: ArcFS Archive (archive/arcFS).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert ArcFS Archive (archive/arcFS) magic Supported
100% file RISC OS archive (ArcFS format) default
99% file data default
100% TrID Acorn ArcFS Archive default
100% gt2 Kopftext: 'Archive' default (weak)
100% detectItEasy Archive: ArcFS default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | 04 11 00 00 64 11 00 00 |Archive.|....d...|
|00000010| 28 00 00 00 64 00 00 00 | 00 00 00 00 00 00 00 00 |(...d...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 82 21 4e 65 74 4c 69 62 | 00 74 00 00 ff ff ff ff |.!NetLib|.t......|
|00000070| 46 dc fd ff 99 98 c6 99 | 00 00 00 00 ff ff ff ff |F.......|........|
|00000080| 08 07 00 80 82 21 42 6f | 6f 74 00 00 00 00 00 00 |.....!Bo|ot......|
|00000090| 77 00 00 00 46 eb ff ff | c6 66 bf 1d 03 00 db 1f |w...F...|.f......|
|000000a0| 77 00 00 00 0e 04 00 00 | 82 21 52 75 6e 00 00 00 |w.......|.!Run...|
|000000b0| 00 00 00 00 15 00 00 00 | 45 eb ff ff 16 13 3f bb |........|E.....?.|
|000000c0| 03 00 bb 1d 15 00 00 00 | a9 04 00 00 82 21 53 70 |........|.....!Sp|
|000000d0| 72 69 74 65 73 00 00 00 | 8c 01 00 00 46 f9 ff ff |rites...|....F...|
|000000e0| 83 6e 38 1d 03 00 5f 65 | 8c 01 00 00 e2 04 00 00 |.n8..._e|........|
|000000f0| 82 21 53 70 72 69 74 65 | 73 32 32 00 e0 02 00 00 |.!Sprite|s22.....|
|00000100| 46 f9 ff ff 59 71 38 1d | 03 00 25 2b e0 02 00 00 |F...Yq8.|..%+....|
|00000110| 92 06 00 00 82 61 72 70 | 61 00 00 00 00 00 00 00 |.....arp|a.......|
|00000120| ff ff ff ff 46 dc fd ff | 00 99 c6 99 00 00 00 00 |....F...|........|
|00000130| ff ff ff ff 8c 01 00 80 | 82 68 00 61 64 4d 65 31 |........|.h.adMe1|
|00000140| 73 74 00 00 ff ff ff ff | 46 dc fd ff 0e 99 c6 99 |st......|F.......|
|00000150| 00 00 00 00 ff ff ff ff | 68 01 00 80 82 69 6e 65 |........|h....ine|
|00000160| 74 00 00 00 00 00 00 00 | 2e 09 00 00 46 ff ff ff |t.......|....F...|
|00000170| e7 b6 8e 16 03 00 3f df | 2e 09 00 00 96 09 00 00 |......?.|........|
|00000180| 82 6e 61 6d 65 73 65 72 | 00 00 00 00 d1 31 00 00 |.nameser|.....1..|
|00000190| 46 ff ff ff 6f e4 c3 99 | 33 00 1b 5a d1 31 00 00 |F...o...|3..Z.1..|
|000001a0| e8 12 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 52 65 61 64 4d 65 31 |........|.ReadMe1|
|000001d0| 73 74 00 00 c6 03 00 00 | 46 ff ff ff 37 85 c5 99 |st......|F...7...|
|000001e0| 03 0c 61 90 a8 02 00 00 | 24 00 00 00 82 68 00 00 |..a.....|$....h..|
|000001f0| 00 00 00 00 00 00 00 00 | ff ff ff ff 46 dc fd ff |........|....F...|
|00000200| 62 99 c6 99 00 00 00 00 | ff ff ff ff f8 01 00 80 |b.......|........|
|00000210| 82 6e 65 74 64 62 00 31 | 73 74 00 00 ef 15 00 00 |.netdb.1|st......|
|00000220| 46 ff ff ff 7b 7f b5 43 | 03 00 f9 10 ef 15 00 00 |F...{..C|........|
|00000230| dd 44 00 00 00 52 65 61 | 64 4d 65 31 73 74 00 00 |.D...Rea|dMe1st..|
|00000240| c6 03 00 00 46 ff ff ff | 37 85 c5 99 03 0c 61 90 |....F...|7.....a.|
|00000250| a8 02 00 00 24 00 00 00 | 82 6e 65 74 69 6e 65 74 |....$...|.netinet|
|00000260| 00 00 00 00 ff ff ff ff | 46 dc fd ff 99 99 c6 99 |........|F.......|
|00000270| 00 00 00 00 ff ff ff ff | 84 03 00 80 82 68 00 61 |........|.....h.a|
|00000280| 64 4d 65 31 73 74 00 00 | ff ff ff ff 46 dc fd ff |dMe1st..|....F...|
|00000290| ac 99 c6 99 00 00 00 00 | ff ff ff ff 60 03 00 80 |........|....`...|
|000002a0| 82 69 6e 00 00 00 00 00 | 00 00 00 00 11 1a 00 00 |.in.....|........|
|000002b0| 46 ff ff ff 46 ee 7d 16 | 03 00 f5 9a 11 1a 00 00 |F...F.}.|........|
|000002c0| f0 5a 00 00 82 69 6e 5f | 73 79 73 74 6d 00 00 00 |.Z...in_|systm...|
|000002d0| 6a 01 00 00 45 ff ff ff | 5e 81 be 9d 03 00 1e 47 |j...E...|^......G|
|000002e0| 6a 01 00 00 25 75 00 00 | 82 69 70 00 00 00 00 00 |j...%u..|.ip.....|
|000002f0| 00 00 00 00 90 0e 00 00 | 46 ff ff ff 44 11 13 16 |........|F...D...|
|00000300| 03 00 d6 32 90 0e 00 00 | b3 76 00 00 82 69 70 5f |...2....|.v...ip_|
|00000310| 69 63 6d 70 00 00 00 00 | e3 10 00 00 46 ff ff ff |icmp....|....F...|
|00000320| 51 eb 13 16 03 00 4d 99 | e3 10 00 00 67 85 00 00 |Q.....M.|....g...|
|00000330| 82 69 70 5f 76 61 72 00 | 00 00 00 00 ad 0e 00 00 |.ip_var.|........|
|00000340| 46 ff ff ff 2d 2c 14 16 | 03 00 88 f6 ad 0e 00 00 |F...-,..|........|
|00000350| 6e 96 00 00 82 74 63 70 | 00 00 00 00 00 00 00 00 |n....tcp|........|
|00000360| f9 07 00 00 46 ff ff ff | 4c 43 ef 7e 03 00 f7 e5 |....F...|LC.~....|
|00000370| f9 07 00 00 3f a5 00 00 | 82 75 64 70 00 00 00 00 |....?...|.udp....|
|00000380| 00 00 00 00 53 01 00 00 | 46 ff ff ff d2 04 15 16 |....S...|F.......|
|00000390| 03 00 21 48 53 01 00 00 | 5c ad 00 00 00 00 00 00 |..!HS...|\.......|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 52 65 61 64 4d 65 31 | 73 74 00 00 c6 03 00 00 |.ReadMe1|st......|
|000003d0| 46 ff ff ff 37 85 c5 99 | 03 0c 61 90 a8 02 00 00 |F...7...|..a.....|
|000003e0| 24 00 00 00 82 6f 00 00 | 00 00 00 00 00 00 00 00 |$....o..|........|
|000003f0| ff ff ff ff 46 dc fd ff | 7e 9a c6 99 00 00 00 00 |....F...|~.......|
|00000400| ff ff ff ff a4 04 00 80 | 82 4e 65 74 4c 69 62 00 |........|.NetLib.|
|00000410| 73 74 00 00 9c 71 00 00 | 46 fd ff ff 50 e9 f0 5b |st...q..|F...P..[|
|00000420| 03 00 8a 3c 9c 71 00 00 | d3 ae 00 00 82 4e 65 74 |...<.q..|.....Net|
|00000430| 4c 69 62 48 00 74 00 00 | 5c 6e 00 00 46 fd ff ff |LibH.t..|\n..F...|
|00000440| 4d e2 35 72 03 00 99 26 | 5c 6e 00 00 93 20 01 00 |M.5r...&|\n... ..|
|00000450| 82 4e 65 74 4c 69 62 48 | 7a 6d 00 00 0c 6e 00 00 |.NetLibH|zm...n..|
|00000460| 46 fd ff ff bb e1 35 72 | 03 00 94 64 0c 6e 00 00 |F.....5r|...d.n..|
|00000470| 13 8f 01 00 82 4e 65 74 | 4c 69 62 7a 4d 00 00 00 |.....Net|LibzM...|
|00000480| 4c 71 00 00 46 fd ff ff | b0 d8 f0 5b 03 00 88 d4 |Lq..F...|...[....|
|00000490| 4c 71 00 00 43 fd 01 00 | 82 4f 6e 6c 79 53 6f 63 |Lq..C...|.OnlySoc|
|000004a0| 6b 00 00 00 64 64 00 00 | 46 fd ff ff bf e9 f0 5b |k...dd..|F......[|
|000004b0| 03 00 38 11 64 64 00 00 | b3 6e 02 00 82 4f 6e 6c |..8.dd..|.n...Onl|
|000004c0| 79 53 6f 63 6b 7a 4d 00 | 74 63 00 00 46 fd ff ff |ySockzM.|tc..F...|
|000004d0| 22 d9 f0 5b 03 00 e5 ef | 74 63 00 00 3b d3 02 00 |"..[....|tc..;...|
|000004e0| 00 52 65 61 64 4d 65 31 | 73 74 00 00 c6 03 00 00 |.ReadMe1|st......|
|000004f0| 46 ff ff ff 37 85 c5 99 | 03 0c 61 90 a8 02 00 00 |F...7...|..a.....|
|00000500| 24 00 00 00 82 52 45 41 | 44 4d 45 00 00 00 00 00 |$....REA|DME.....|
|00000510| 4d 07 00 00 46 ff ff ff | 93 73 c6 99 03 00 1a 05 |M...F...|.s......|
|00000520| 4d 07 00 00 d3 36 03 00 | 82 73 79 73 00 00 00 00 |M....6..|.sys....|
|00000530| 00 00 00 00 ff ff ff ff | 46 dc fd ff b3 9b c6 99 |........|F.......|
|00000540| 00 00 00 00 ff ff ff ff | e4 06 00 80 82 68 00 61 |........|.....h.a|
|00000550| 64 4d 65 31 73 74 00 00 | ff ff ff ff 46 dc fd ff |dMe1st..|....F...|
|00000560| bd 9b c6 99 00 00 00 00 | ff ff ff ff c0 06 00 80 |........|........|
|00000570| 82 62 79 74 65 6f 72 64 | 65 72 00 00 15 03 00 00 |.byteord|er......|
|00000580| 46 ff ff ff 3f 3a 11 16 | 03 00 72 75 15 03 00 00 |F...?:..|..ru....|
|00000590| 44 3e 03 00 82 65 72 72 | 6e 6f 00 00 00 00 00 00 |D>...err|no......|
|000005a0| 96 08 00 00 46 ff ff ff | 36 f3 0f 16 03 00 59 dc |....F...|6.....Y.|
|000005b0| 96 08 00 00 7d 41 03 00 | 82 66 69 6c 69 6f 00 00 |....}A..|.filio..|
|000005c0| 00 00 00 00 6b 01 00 00 | 46 ff ff ff 75 18 89 16 |....k...|F...u...|
|000005d0| 03 00 f1 84 6b 01 00 00 | 37 4a 03 00 82 69 66 00 |....k...|7J...if.|
|000005e0| 00 00 00 00 00 00 00 00 | dd 0a 00 00 46 ff ff ff |........|....F...|
|000005f0| b6 09 11 17 03 00 5d 4f | dd 0a 00 00 c6 4b 03 00 |......]O|.....K..|
|00000600| 82 69 6f 63 6f 6d 6d 00 | 00 00 00 00 ea 02 00 00 |.iocomm.|........|
|00000610| 46 ff ff ff 8f 46 11 16 | 03 00 f7 dc ea 02 00 00 |F....F..|........|
|00000620| c7 56 03 00 82 69 6f 63 | 74 6c 00 00 00 00 00 00 |.V...ioc|tl......|
|00000630| 42 02 00 00 46 ff ff ff | b2 24 89 16 03 00 49 9d |B...F...|.$....I.|
|00000640| 42 02 00 00 d5 59 03 00 | 82 73 65 6c 65 63 74 00 |B....Y..|.select.|
|00000650| 00 00 00 00 7d 04 00 00 | 46 ff ff ff 57 3e 89 16 |....}...|F...W>..|
|00000660| 03 00 8b c5 7d 04 00 00 | 3b 5c 03 00 82 73 6f 63 |....}...|;\...soc|
|00000670| 6b 65 74 00 00 00 00 00 | a5 24 00 00 46 ff ff ff |ket.....|.$..F...|
|00000680| 3f ad b2 43 03 00 5e df | a5 24 00 00 dc 60 03 00 |?..C..^.|.$...`..|
|00000690| 82 73 6f 63 6b 69 6f 00 | 00 00 00 00 16 07 00 00 |.sockio.|........|
|000006a0| 46 ff ff ff de 36 89 16 | 03 00 95 c6 16 07 00 00 |F....6..|........|
|000006b0| a5 85 03 00 82 74 69 6d | 65 00 00 00 00 00 00 00 |.....tim|e.......|
|000006c0| 26 06 00 00 46 ff ff ff | 72 46 89 16 03 00 1e 96 |&...F...|rF......|
|000006d0| 26 06 00 00 df 8c 03 00 | 82 74 79 70 65 73 00 00 |&.......|.types..|
|000006e0| 00 00 00 00 49 01 00 00 | 46 ff ff ff eb 61 11 16 |....I...|F....a..|
|000006f0| 03 00 f9 83 49 01 00 00 | 29 93 03 00 00 00 00 00 |....I...|).......|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 52 65 61 64 4d 65 31 | 73 74 00 00 c6 03 00 00 |.ReadMe1|st......|
|00000730| 46 ff ff ff 37 85 c5 99 | 03 0c 61 90 a8 02 00 00 |F...7...|..a.....|
|00000740| 24 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |$.......|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 82 4e 65 74 4c 69 62 53 |........|.NetLibS|
|00000770| 72 63 00 00 ff ff ff ff | 46 dc fd ff e0 9c c6 99 |rc......|F.......|
|00000780| 00 00 00 00 ff ff ff ff | bc 10 00 80 82 21 53 65 |........|.....!Se|
|00000790| 74 44 69 72 00 00 00 00 | 0f 00 00 00 46 eb ff ff |tDir....|....F...|
|000007a0| ce c0 8f 10 03 00 a2 9a | 0f 00 00 00 96 94 03 00 |........|........|
|000007b0| 82 63 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |.c......|........|
|000007c0| 46 dc fd ff fe 9c c6 99 | 00 00 00 00 ff ff ff ff |F.......|........|
|000007d0| 48 09 00 80 82 61 64 64 | 72 00 65 31 73 74 00 00 |H....add|r.e1st..|
|000007e0| 5c 05 00 00 45 ff ff ff | 63 21 3f eb 03 00 ac f9 |\...E...|c!?.....|
|000007f0| 5c 05 00 00 c9 94 03 00 | 82 61 74 6f 6e 00 65 31 |\.......|.aton.e1|
|00000800| 73 74 00 00 2f 0f 00 00 | 46 ff ff ff 0d d4 8f 16 |st../...|F.......|
|00000810| 03 00 63 38 2f 0f 00 00 | 49 9a 03 00 82 68 6f 73 |..c8/...|I....hos|
|00000820| 74 00 65 31 73 74 00 00 | 6d 13 00 00 46 ff ff ff |t.e1st..|m...F...|
|00000830| 02 11 13 17 03 00 d9 61 | 6d 13 00 00 9c a9 03 00 |.......a|m.......|
|00000840| 82 6c 6e 61 6f 66 00 31 | 73 74 00 00 69 02 00 00 |.lnaof.1|st..i...|
|00000850| 45 ff ff ff 6f 1b 3f eb | 03 00 9a f1 69 02 00 00 |E...o.?.|....i...|
|00000860| 2d bd 03 00 82 6d 61 6b | 65 61 64 64 72 00 00 00 |-....mak|eaddr...|
|00000870| 03 01 00 00 45 ff ff ff | 7d 19 3f eb 03 00 69 dc |....E...|}.?...i.|
|00000880| 03 01 00 00 ba bf 03 00 | 82 6e 65 74 00 4d 65 31 |........|.net.Me1|
|00000890| 73 74 00 00 4b 0f 00 00 | 45 ff ff ff 20 17 3f eb |st..K...|E... .?.|
|000008a0| 03 00 c0 3c 4b 0f 00 00 | e1 c0 03 00 82 6e 65 74 |...<K...|.....net|
|000008b0| 6f 66 00 31 73 74 00 00 | 5a 02 00 00 45 ff ff ff |of.1st..|Z...E...|
|000008c0| bc 13 3f eb 03 00 2a 10 | 5a 02 00 00 50 d0 03 00 |..?...*.|Z...P...|
|000008d0| 82 6e 65 74 77 6f 72 6b | 00 74 00 00 30 01 00 00 |.network|.t..0...|
|000008e0| 45 ff ff ff e7 0f 3f eb | 03 00 1b 62 30 01 00 00 |E.....?.|...b0...|
|000008f0| ce d2 03 00 82 6e 74 6f | 61 00 65 31 73 74 00 00 |.....nto|a.e1st..|
|00000900| 8e 01 00 00 45 ff ff ff | f1 09 3f eb 03 00 4a 1b |....E...|..?...J.|
|00000910| 8e 01 00 00 22 d4 03 00 | 82 70 72 6f 74 6f 00 31 |...."...|.proto.1|
|00000920| 73 74 00 00 af 0f 00 00 | 45 ff ff ff d3 ef 15 d3 |st......|E.......|
|00000930| 03 00 b2 f9 af 0f 00 00 | d4 d5 03 00 82 72 65 61 |........|.....rea|
|00000940| 64 6c 69 6e 65 00 00 00 | 7d 02 00 00 45 ff ff ff |dline...|}...E...|
|00000950| e4 ae 10 d2 03 00 f8 8d | 7d 02 00 00 a7 e5 03 00 |........|}.......|
|00000960| 82 73 65 72 76 00 65 31 | 73 74 00 00 17 11 00 00 |.serv.e1|st......|
|00000970| 45 ff ff ff b9 d7 4e dc | 03 00 84 f3 17 11 00 00 |E.....N.|........|
|00000980| 48 e8 03 00 00 52 65 61 | 64 4d 65 31 73 74 00 00 |H....Rea|dMe1st..|
|00000990| c6 03 00 00 46 ff ff ff | 37 85 c5 99 03 0c 61 90 |....F...|7.....a.|
|000009a0| a8 02 00 00 24 00 00 00 | 82 68 00 00 00 00 00 00 |....$...|.h......|
|000009b0| 00 00 00 00 ff ff ff ff | 46 dc fd ff 4b 9e c6 99 |........|F...K...|
|000009c0| 00 00 00 00 ff ff ff ff | b4 09 00 80 82 73 6f 63 |........|.....soc|
|000009d0| 6b 65 74 6c 69 62 00 00 | d2 00 00 00 45 ff ff ff |ketlib..|....E...|
|000009e0| b8 55 00 c7 03 00 da 45 | d2 00 00 00 83 f9 03 00 |.U.....E|........|
|000009f0| 00 52 65 61 64 4d 65 31 | 73 74 00 00 c6 03 00 00 |.ReadMe1|st......|
|00000a00| 46 ff ff ff 37 85 c5 99 | 03 0c 61 90 a8 02 00 00 |F...7...|..a.....|
|00000a10| 24 00 00 00 82 68 64 72 | 00 00 00 00 00 00 00 00 |$....hdr|........|
|00000a20| ff ff ff ff 46 dc fd ff | 6a 9e c6 99 00 00 00 00 |....F...|j.......|
|00000a30| ff ff ff ff 68 0a 00 80 | 82 52 65 67 73 00 65 31 |....h...|.Regs.e1|
|00000a40| 73 74 00 00 a5 05 00 00 | 46 ff ff ff 7a 4b 1e 41 |st......|F...zK.A|
|00000a50| 03 00 82 03 a5 05 00 00 | 79 fa 03 00 82 53 6f 63 |........|y....Soc|
|00000a60| 6b 65 74 53 57 49 73 00 | 80 06 00 00 46 ff ff ff |ketSWIs.|....F...|
|00000a70| c0 20 98 4f 03 00 3c 02 | 80 06 00 00 42 00 04 00 |. .O..<.|....B...|
|00000a80| 82 56 61 72 73 00 65 31 | 73 74 00 00 67 03 00 00 |.Vars.e1|st..g...|
|00000a90| 46 ff ff ff db bd f0 5b | 03 00 6f 98 67 03 00 00 |F......[|..o.g...|
|00000aa0| e6 06 04 00 00 52 65 61 | 64 4d 65 31 73 74 00 00 |.....Rea|dMe1st..|
|00000ab0| c6 03 00 00 46 ff ff ff | 37 85 c5 99 03 0c 61 90 |....F...|7.....a.|
|00000ac0| a8 02 00 00 24 00 00 00 | 82 4d 61 6b 65 66 69 6c |....$...|.Makefil|
|00000ad0| 65 00 00 00 58 34 00 00 | 46 e1 ff ff e7 fa 35 72 |e...X4..|F.....5r|
|00000ae0| 03 00 50 c8 58 34 00 00 | 71 0a 04 00 82 6f 63 00 |..P.X4..|q....oc.|
|00000af0| 00 00 00 00 00 00 00 00 | ff ff ff ff 46 dc fd ff |........|....F...|
|00000b00| dc 9e c6 99 00 00 00 00 | ff ff ff ff d4 0a 00 80 |........|........|
|00000b10| 00 52 65 61 64 4d 65 31 | 73 74 00 00 c6 03 00 00 |.ReadMe1|st......|
|00000b20| 46 ff ff ff 37 85 c5 99 | 03 0c 61 90 a8 02 00 00 |F...7...|..a.....|
|00000b30| 24 00 00 00 82 6f 63 7a | 6d 00 00 00 00 00 00 00 |$....ocz|m.......|
|00000b40| ff ff ff ff 46 dc fd ff | ea 9e c6 99 00 00 00 00 |....F...|........|
|00000b50| ff ff ff ff 1c 0b 00 80 | 00 52 65 61 64 4d 65 31 |........|.ReadMe1|
|00000b60| 73 74 00 00 c6 03 00 00 | 46 ff ff ff 37 85 c5 99 |st......|F...7...|
|00000b70| 03 0c 61 90 a8 02 00 00 | 24 00 00 00 82 6f 73 00 |..a.....|$....os.|
|00000b80| 00 00 00 00 00 00 00 00 | ff ff ff ff 46 dc fd ff |........|....F...|
|00000b90| 08 9f c6 99 00 00 00 00 | ff ff ff ff 64 0b 00 80 |........|....d...|
|00000ba0| 00 52 65 61 64 4d 65 31 | 73 74 00 00 c6 03 00 00 |.ReadMe1|st......|
|00000bb0| 46 ff ff ff 37 85 c5 99 | 03 0c 61 90 a8 02 00 00 |F...7...|..a.....|
|00000bc0| 24 00 00 00 82 6f 73 7a | 6d 00 00 00 00 00 00 00 |$....osz|m.......|
|00000bd0| ff ff ff ff 46 dc fd ff | 17 9f c6 99 00 00 00 00 |....F...|........|
|00000be0| ff ff ff ff ac 0b 00 80 | 00 52 65 61 64 4d 65 31 |........|.ReadMe1|
|00000bf0| 73 74 00 00 c6 03 00 00 | 46 ff ff ff 37 85 c5 99 |st......|F...7...|
|00000c00| 03 0c 61 90 a8 02 00 00 | 24 00 00 00 82 73 00 00 |..a.....|$....s..|
|00000c10| 00 00 00 00 00 00 00 00 | ff ff ff ff 46 dc fd ff |........|....F...|
|00000c20| 26 9f c6 99 00 00 00 00 | ff ff ff ff 98 10 00 80 |&.......|........|
|00000c30| 82 61 63 63 65 70 74 00 | 73 74 00 00 f6 00 00 00 |.accept.|st......|
|00000c40| 46 ff ff ff 34 d2 a5 4f | 03 00 1c 3b f6 00 00 00 |F...4..O|...;....|
|00000c50| ed 3e 04 00 82 62 69 6e | 64 00 65 31 73 74 00 00 |.>...bin|d.e1st..|
|00000c60| f0 00 00 00 46 ff ff ff | 65 d0 a5 4f 03 00 14 49 |....F...|e..O...I|
|00000c70| f0 00 00 00 07 40 04 00 | 82 63 6c 6f 73 65 00 31 |.....@..|.close.1|
|00000c80| 73 74 00 00 f3 00 00 00 | 46 ff ff ff ad ce a5 4f |st......|F......O|
|00000c90| 03 00 f3 bf f3 00 00 00 | 1b 41 04 00 82 63 6f 6e |........|.A...con|
|00000ca0| 6e 65 63 74 00 74 00 00 | f9 00 00 00 46 ff ff ff |nect.t..|....F...|
|00000cb0| ed cc a5 4f 03 00 78 ac | f9 00 00 00 32 42 04 00 |...O..x.|....2B..|
|00000cc0| 82 67 65 74 70 65 65 72 | 6e 61 6d 00 05 01 00 00 |.getpeer|nam.....|
|00000cd0| 46 ff ff ff 24 cb a5 4f | 03 00 8b 83 05 01 00 00 |F...$..O|........|
|00000ce0| 4f 43 04 00 82 67 65 74 | 73 6f 63 6b 6e 61 6d 00 |OC...get|socknam.|
|00000cf0| 05 01 00 00 46 ff ff ff | 87 c9 a5 4f 03 00 61 7f |....F...|...O..a.|
|00000d00| 05 01 00 00 78 44 04 00 | 82 67 65 74 73 6f 63 6b |....xD..|.getsock|
|00000d10| 6f 70 74 00 1c 01 00 00 | 46 ff ff ff 68 c7 a5 4f |opt.....|F...h..O|
|00000d20| 03 00 f3 37 1c 01 00 00 | a1 45 04 00 82 67 65 74 |...7....|.E...get|
|00000d30| 74 69 6d 65 00 74 00 00 | f5 15 00 00 46 ff ff ff |time.t..|....F...|
|00000d40| 7a db ba 43 03 00 2e 10 | f5 15 00 00 e1 46 04 00 |z..C....|.....F..|
|00000d50| 82 67 65 74 74 73 69 7a | 65 00 00 00 fc 00 00 00 |.gettsiz|e.......|
|00000d60| 46 ff ff ff 26 c5 a5 4f | 03 00 44 ec fc 00 00 00 |F...&..O|..D.....|
|00000d70| fa 5c 04 00 82 68 6f 73 | 74 62 79 61 64 64 72 00 |.\...hos|tbyaddr.|
|00000d80| 04 01 00 00 45 ff ff ff | c1 d7 42 eb 03 00 80 16 |....E...|..B.....|
|00000d90| 04 01 00 00 1a 5e 04 00 | 82 68 6f 73 74 62 79 6e |.....^..|.hostbyn|
|00000da0| 61 6d 65 00 ec 00 00 00 | 45 ff ff ff 81 d4 42 eb |ame.....|E.....B.|
|00000db0| 03 00 71 13 ec 00 00 00 | 42 5f 04 00 82 68 74 6f |..q.....|B_...hto|
|00000dc0| 6e 6c 00 31 73 74 00 00 | ae 00 00 00 45 ff ff ff |nl.1st..|....E...|
|00000dd0| b8 71 aa a8 03 00 ba 0a | ae 00 00 00 52 60 04 00 |.q......|....R`..|
|00000de0| 82 68 74 6f 6e 73 00 31 | 73 74 00 00 a2 00 00 00 |.htons.1|st......|
|00000df0| 46 ff ff ff c9 14 09 1e | 03 00 67 bb a2 00 00 00 |F.......|..g.....|
|00000e00| 24 61 04 00 82 69 6f 63 | 74 6c 00 31 73 74 00 00 |$a...ioc|tl.1st..|
|00000e10| f3 00 00 00 46 ff ff ff | e5 c0 a5 4f 03 00 1f 13 |....F...|...O....|
|00000e20| f3 00 00 00 ea 61 04 00 | 82 6c 69 73 74 65 6e 00 |.....a..|.listen.|
|00000e30| 73 74 00 00 f6 00 00 00 | 46 ff ff ff 23 bf a5 4f |st......|F...#..O|
|00000e40| 03 00 3e 08 f6 00 00 00 | 01 63 04 00 82 6e 74 6f |..>.....|.c...nto|
|00000e50| 68 6c 00 31 73 74 00 00 | ae 00 00 00 45 ff ff ff |hl.1st..|....E...|
|00000e60| 73 18 10 c6 03 00 93 52 | ae 00 00 00 1b 64 04 00 |s......R|.....d..|
|00000e70| 82 6e 74 6f 68 73 00 31 | 73 74 00 00 a2 00 00 00 |.ntohs.1|st......|
|00000e80| 46 ff ff ff 6b 0f 09 1e | 03 00 53 64 a2 00 00 00 |F...k...|..Sd....|
|00000e90| ed 64 04 00 82 72 65 61 | 64 76 00 31 73 74 00 00 |.d...rea|dv.1st..|
|00000ea0| f3 00 00 00 46 ff ff ff | 05 bc a5 4f 03 00 10 e7 |....F...|...O....|
|00000eb0| f3 00 00 00 b3 65 04 00 | 82 72 65 63 76 00 65 31 |.....e..|.recv.e1|
|00000ec0| 73 74 00 00 f0 00 00 00 | 46 ff ff ff a5 b9 a5 4f |st......|F......O|
|00000ed0| 03 00 b4 76 f0 00 00 00 | ca 66 04 00 82 72 65 63 |...v....|.f...rec|
|00000ee0| 76 66 72 6f 6d 00 00 00 | 32 01 00 00 46 ff ff ff |vfrom...|2...F...|
|00000ef0| f9 b7 a5 4f 03 00 bf 0d | 32 01 00 00 de 67 04 00 |...O....|2....g..|
|00000f00| 82 72 65 63 76 6d 73 67 | 00 74 00 00 f9 00 00 00 |.recvmsg|.t......|
|00000f10| 46 ff ff ff a0 b5 a5 4f | 03 00 24 7e f9 00 00 00 |F......O|..$~....|
|00000f20| 34 69 04 00 82 73 65 6c | 65 63 74 00 73 74 00 00 |4i...sel|ect.st..|
|00000f30| 10 01 00 00 46 ff ff ff | 6d b3 a5 4f 03 00 f0 b8 |....F...|m..O....|
|00000f40| 10 01 00 00 51 6a 04 00 | 82 73 65 6e 64 00 65 31 |....Qj..|.send.e1|
|00000f50| 73 74 00 00 f0 00 00 00 | 46 ff ff ff 8a b1 a5 4f |st......|F......O|
|00000f60| 03 00 b5 d4 f0 00 00 00 | 85 6b 04 00 82 73 65 6e |........|.k...sen|
|00000f70| 64 6d 73 67 00 74 00 00 | f9 00 00 00 46 ff ff ff |dmsg.t..|....F...|
|00000f80| b9 ae a5 4f 03 00 dc 34 | f9 00 00 00 99 6c 04 00 |...O...4|.....l..|
|00000f90| 82 73 65 6e 64 74 6f 00 | 73 74 00 00 2c 01 00 00 |.sendto.|st..,...|
|00000fa0| 46 ff ff ff c5 a0 a5 4f | 03 00 08 a5 2c 01 00 00 |F......O|....,...|
|00000fb0| b6 6d 04 00 82 73 65 6e | 64 74 6f 73 6d 00 00 00 |.m...sen|dtosm...|
|00000fc0| fc 00 00 00 46 ff ff ff | f5 9e a5 4f 03 00 93 67 |....F...|...O...g|
|00000fd0| fc 00 00 00 06 6f 04 00 | 82 73 65 74 73 6f 63 6b |.....o..|.setsock|
|00000fe0| 6f 70 74 00 1c 01 00 00 | 46 ff ff ff ab 9c a5 4f |opt.....|F......O|
|00000ff0| 03 00 68 bb 1c 01 00 00 | 26 70 04 00 82 73 68 75 |..h.....|&p...shu|
|00001000| 74 64 6f 77 6e 00 00 00 | fc 00 00 00 46 ff ff ff |tdown...|....F...|
|00001010| 5b 9a a5 4f 03 00 0d 41 | fc 00 00 00 66 71 04 00 |[..O...A|....fq..|
|00001020| 82 73 6f 63 6b 65 74 00 | 73 74 00 00 f5 00 00 00 |.socket.|st......|
|00001030| 46 ff ff ff 9d 98 a5 4f | 03 00 70 c3 f5 00 00 00 |F......O|..p.....|
|00001040| 86 72 04 00 82 73 6f 63 | 6b 73 74 61 74 00 00 00 |.r...soc|kstat...|
|00001050| f8 00 00 00 46 ff ff ff | b2 95 a5 4f 03 00 43 5b |....F...|...O..C[|
|00001060| f8 00 00 00 9f 73 04 00 | 82 73 72 65 61 64 00 31 |.....s..|.sread.1|
|00001070| 73 74 00 00 f2 00 00 00 | 46 ff ff ff b6 92 a5 4f |st......|F......O|
|00001080| 03 00 c2 bc f2 00 00 00 | bb 74 04 00 82 73 77 72 |........|.t...swr|
|00001090| 69 74 65 00 73 74 00 00 | f5 00 00 00 46 ff ff ff |ite.st..|....F...|
|000010a0| b6 90 a5 4f 03 00 37 c4 | f5 00 00 00 d1 75 04 00 |...O..7.|.....u..|
|000010b0| 82 77 72 69 74 65 76 00 | 73 74 00 00 f6 00 00 00 |.writev.|st......|
|000010c0| 46 ff ff ff f0 8d a5 4f | 03 00 5f 61 f6 00 00 00 |F......O|.._a....|
|000010d0| ea 76 04 00 00 52 65 61 | 64 4d 65 31 73 74 00 00 |.v...Rea|dMe1st..|
|000010e0| c6 03 00 00 46 ff ff ff | 37 85 c5 99 03 0c 61 90 |....F...|7.....a.|
|000010f0| a8 02 00 00 24 00 00 00 | 00 00 00 00 00 00 00 00 |....$...|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 82 52 65 61 |........|.....Rea|
|00001120| 64 4d 65 31 73 74 00 00 | c6 03 00 00 46 ff ff ff |dMe1st..|....F...|
|00001130| 37 85 c5 99 03 00 61 90 | c6 03 00 00 24 00 00 00 |7.....a.|....$...|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 46 69 6c 65 | 44 61 74 61 82 52 65 61 |....File|Data.Rea|
|00001170| 64 4d 65 31 73 74 00 00 | c6 03 00 00 46 ff ff ff |dMe1st..|....F...|
|00001180| 37 85 c5 99 03 00 61 90 | 20 0a 4e 65 74 4c 69 62 |7.....a.| .NetLib|
|00001190| 20 2d 20 74 68 65 20 70 | 72 6f 67 72 61 6d 6d 65 | - the p|rogramme|
|000011a0| 72 27 73 20 69 6e 74 65 | 72 66 61 63 65 20 74 6f |r's inte|rface to|
|000011b0| 20 46 72 65 65 4e 65 74 | 2e 20 0a 0a 52 65 61 64 | FreeNet|. ..Read|
|000011c0| 20 21 4e 65 74 4c 69 62 | 2e 52 45 41 44 4d 45 20 | !NetLib|.README |
|000011d0| 66 6f 72 20 6d 6f 72 65 | 20 69 6e 66 6f 72 6d 61 |for more| informa|
|000011e0| 74 69 6f 6e 20 28 69 6e | 63 6c 75 64 69 6e 67 20 |tion (in|cluding |
|000011f0| 63 68 61 6e 67 65 6c 6f | 67 29 0a 0a 54 68 65 20 |changelo|g)..The |
|00001200| 73 6f 75 72 63 65 73 20 | 61 72 65 20 73 65 70 65 |sources |are sepe|
|00001210| 72 61 74 65 64 20 6f 75 | 74 20 69 6e 74 6f 20 4e |rated ou|t into N|
|00001220| 65 74 4c 69 62 53 72 63 | 20 77 68 65 72 65 20 74 |etLibSrc| where t|
|00001230| 68 65 79 20 63 61 6e 20 | 62 65 20 72 65 62 75 69 |hey can |be rebui|
|00001240| 6c 74 20 0a 77 69 74 68 | 20 74 68 65 20 73 75 70 |lt .with| the sup|
|00001250| 70 6c 69 65 64 20 4d 61 | 6b 65 46 69 6c 65 20 69 |plied Ma|keFile i|
|00001260| 66 20 6e 65 63 65 73 73 | 61 72 79 2e 20 20 54 68 |f necess|ary. Th|
|00001270| 65 20 21 4e 65 74 4c 69 | 62 20 64 69 72 65 63 74 |e !NetLi|b direct|
|00001280| 6f 72 79 20 64 65 66 69 | 6e 65 73 20 0a 32 20 70 |ory defi|nes .2 p|
|00001290| 61 74 68 73 20 28 4e 65 | 74 4c 69 62 24 50 61 74 |aths (Ne|tLib$Pat|
|000012a0| 68 20 61 6e 64 20 49 6e | 74 65 72 6e 65 74 24 50 |h and In|ternet$P|
|000012b0| 61 74 68 29 2e 20 20 54 | 68 65 20 21 4e 65 74 4c |ath). T|he !NetL|
|000012c0| 69 62 20 64 69 72 65 63 | 74 6f 72 79 20 63 6f 6e |ib direc|tory con|
|000012d0| 74 61 69 6e 73 20 0a 61 | 6c 6c 20 74 68 65 20 68 |tains .a|ll the h|
|000012e0| 65 61 64 65 72 73 20 66 | 69 6c 65 73 20 69 6e 20 |eaders f|iles in |
|000012f0| 74 68 65 20 75 73 75 61 | 6c 20 55 4e 49 58 20 70 |the usua|l UNIX p|
|00001300| 6c 61 63 65 73 2e 20 0a | 20 0a 4e 6f 74 65 20 74 |laces. .| .Note t|
|00001310| 68 61 74 20 74 68 65 73 | 65 20 68 65 61 64 65 72 |hat thes|e header|
|00001320| 73 20 61 72 65 20 41 63 | 6f 72 6e 20 43 20 63 6f |s are Ac|orn C co|
|00001330| 6d 70 69 6c 65 72 20 73 | 70 65 63 69 66 69 63 20 |mpiler s|pecific |
|00001340| 28 61 73 73 75 6d 65 73 | 20 31 36 62 69 74 20 73 |(assumes| 16bit s|
|00001350| 68 6f 72 74 73 29 20 0a | 20 0a 4e 6f 74 65 20 79 |horts) .| .Note y|
|00001360| 6f 75 20 63 61 6e 6e 6f | 74 20 75 73 65 20 70 61 |ou canno|t use pa|
|00001370| 74 68 73 20 69 6e 20 23 | 69 6e 63 6c 75 64 65 20 |ths in #|include |
|00001380| 73 74 61 74 65 6d 65 6e | 74 73 20 6c 69 6b 65 3a |statemen|ts like:|
|00001390| 20 20 20 22 6e 65 74 6c | 69 62 3a 6e 65 74 69 6e | "netl|ib:netin|
|000013a0| 65 74 2f 69 6e 2e 68 22 | 20 0a 49 20 72 65 63 6f |et/in.h"| .I reco|
|000013b0| 6d 6d 65 6e 64 20 75 73 | 69 6e 67 20 23 69 6e 63 |mmend us|ing #inc|
|000013c0| 6c 75 64 65 20 22 6e 65 | 74 69 6e 65 74 2f 69 6e |lude "ne|tinet/in|
|000013d0| 2e 68 22 20 61 6e 64 20 | 68 61 76 69 6e 67 20 2d |.h" and |having -|
|000013e0| 49 6e 65 74 6c 69 62 3a | 20 6f 6e 20 74 68 65 20 |Inetlib:| on the |
|000013f0| 63 6f 6d 6d 61 6e 64 20 | 0a 6c 69 6e 65 20 74 6f |command |.line to|
|00001400| 20 63 63 2e 20 0a 20 0a | 54 68 65 20 68 65 61 64 | cc. . .|The head|
|00001410| 65 72 73 20 61 72 65 20 | 73 75 62 6a 65 63 74 20 |ers are |subject |
|00001420| 74 6f 20 63 68 61 6e 67 | 65 2e 20 0a 0a 4e 4f 54 |to chang|e. ..NOT|
|00001430| 45 3a 20 74 77 6f 20 66 | 75 6e 63 74 69 6f 6e 73 |E: two f|unctions|
|00001440| 20 28 63 6c 6f 73 65 20 | 26 20 73 68 75 74 64 6f | (close |& shutdo|
|00001450| 77 6e 29 20 68 61 76 65 | 20 6e 6f 20 70 72 6f 74 |wn) have| no prot|
|00001460| 6f 74 79 70 65 20 69 6e | 20 74 68 65 73 65 20 68 |otype in| these h|
|00001470| 65 61 64 65 72 0a 66 69 | 6c 65 73 2c 20 73 69 6e |eader.fi|les, sin|
|00001480| 63 65 20 74 68 65 72 65 | 20 69 73 20 61 20 70 6f |ce there| is a po|
|00001490| 74 65 6e 74 69 61 6c 20 | 6c 69 62 72 61 72 79 20 |tential |library |
|000014a0| 6e 61 6d 65 20 63 6c 61 | 73 68 20 77 69 74 68 20 |name cla|sh with |
|000014b0| 74 68 65 73 65 20 66 75 | 6e 63 74 69 6f 6e 73 2e |these fu|nctions.|
|000014c0| 0a 49 66 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |.If you |want to |
|000014d0| 70 72 6f 74 6f 74 79 70 | 65 20 74 68 65 6d 2c 20 |prototyp|e them, |
|000014e0| 74 68 65 6e 20 74 68 65 | 20 70 72 6f 74 6f 74 79 |then the| prototy|
|000014f0| 70 65 73 20 79 6f 75 20 | 6e 65 65 64 20 61 72 65 |pes you |need are|
|00001500| 3a 0a 0a 65 78 74 65 72 | 6e 20 69 6e 74 20 63 6c |:..exter|n int cl|
|00001510| 6f 73 65 28 69 6e 74 20 | 2f 2a 73 2a 2f 29 3b 0a |ose(int |/*s*/);.|
|00001520| 65 78 74 65 72 6e 20 69 | 6e 74 20 73 68 75 74 64 |extern i|nt shutd|
|00001530| 6f 77 6e 28 69 6e 74 20 | 2f 2a 73 2a 2f 2c 20 69 |own(int |/*s*/, i|
|00001540| 6e 74 20 2f 2a 68 6f 77 | 2a 2f 29 3b 0a 0a 46 69 |nt /*how|*/);..Fi|
|00001550| 6c 65 44 61 74 61 82 21 | 42 6f 6f 74 00 00 00 00 |leData.!|Boot....|
|00001560| 00 00 77 00 00 00 46 eb | ff ff c6 66 bf 1d 03 00 |..w...F.|...f....|
|00001570| db 1f 53 65 74 20 4e 65 | 74 4c 69 62 24 44 69 72 |..Set Ne|tLib$Dir|
|00001580| 20 3c 4f 62 65 79 24 44 | 69 72 3e 0a 53 65 74 20 | <Obey$D|ir>.Set |
|00001590| 4e 65 74 6c 69 62 24 50 | 61 74 68 20 3c 4e 65 74 |Netlib$P|ath <Net|
|000015a0| 4c 69 62 24 44 69 72 3e | 2e 0a 53 65 74 20 49 6e |Lib$Dir>|..Set In|
|000015b0| 74 65 72 6e 65 74 24 50 | 61 74 68 20 3c 4e 65 74 |ternet$P|ath <Net|
|000015c0| 4c 69 62 24 44 69 72 3e | 2e 0a 49 63 6f 6e 53 70 |Lib$Dir>|..IconSp|
|000015d0| 72 69 74 65 73 20 3c 4f | 62 65 79 24 44 69 72 3e |rites <O|bey$Dir>|
|000015e0| 2e 21 53 70 72 69 74 65 | 73 46 69 6c 65 44 61 74 |.!Sprite|sFileDat|
|000015f0| 61 82 21 52 75 6e 00 00 | 00 00 00 00 00 15 00 00 |a.!Run..|........|
|00001600| 00 45 eb ff ff 16 13 3f | bb 03 00 bb 1d 4f 62 65 |.E.....?|.....Obe|
|00001610| 79 20 3c 4f 62 65 79 24 | 44 69 72 3e 2e 21 42 6f |y <Obey$|Dir>.!Bo|
|00001620| 6f 74 46 69 6c 65 44 61 | 74 61 82 21 53 70 72 69 |otFileDa|ta.!Spri|
|00001630| 74 65 73 00 00 00 8c 01 | 00 00 46 f9 ff ff 83 6e |tes.....|..F....n|
|00001640| 38 1d 03 00 5f 65 01 00 | 00 00 10 00 00 00 90 01 |8..._e..|........|
|00001650| 00 00 80 01 00 00 21 6e | 65 74 6c 69 62 00 00 00 |......!n|etlib...|
|00001660| 00 00 04 00 00 00 10 00 | 00 00 00 00 00 00 07 00 |........|........|
|00001670| 00 00 2c 00 00 00 2c 00 | 00 00 0c 00 00 00 00 00 |..,...,.|........|
|00001680| 00 00 00 03 00 30 00 00 | 00 00 00 00 00 ee ee 00 |.....0..|........|
|00001690| 00 00 03 00 03 33 00 02 | 30 33 00 30 33 30 03 00 |.....3..|03.030..|
|000016a0| ee ee eb 00 00 00 30 30 | 30 00 03 03 03 30 00 30 |......00|0....0.0|
|000016b0| 00 03 30 ee ee eb eb 00 | 00 00 00 02 00 33 00 03 |..0.....|.....3..|
|000016c0| 30 33 00 30 00 03 ee ee | eb eb eb 00 00 00 20 12 |03.0....|...... .|
|000016d0| 00 00 00 00 00 00 00 00 | 00 ee ee eb eb eb bb 00 |........|........|
|000016e0| 00 00 30 00 00 00 00 00 | 00 00 00 00 ee ee eb eb |..0.....|........|
|000016f0| eb bb bb 00 00 00 03 00 | 00 00 00 00 00 00 00 ee |........|........|
|00001700| ee eb eb eb bb bb 1b 00 | 00 00 30 00 00 00 00 00 |........|..0.....|
|00001710| 00 00 ee ee eb eb eb bb | bb 1b 11 00 00 00 20 12 |........|...... .|
|00001720| 00 00 00 00 00 ee ee eb | eb eb bb bb 1b 11 20 00 |........|...... .|
|00001730| 00 00 00 00 00 00 00 00 | ee ee eb eb eb bb bb 1b |........|........|
|00001740| 11 00 03 00 00 00 00 00 | 00 03 03 e2 ee eb eb eb |........|........|
|00001750| bb bb 3b 11 00 00 03 00 | 00 00 00 00 00 30 20 9e |..;.....|.....0 .|
|00001760| 9c eb eb bb bb 3b 22 00 | 00 00 03 00 00 00 00 00 |.....;".|........|
|00001770| 00 00 e0 99 ee ee be bb | 1b 11 00 00 00 00 20 00 |........|...... .|
|00001780| 00 00 00 00 30 33 99 ee | 2e 2e be 1b 11 00 00 30 |....03..|.......0|
|00001790| 00 00 00 00 00 00 00 00 | 30 70 47 3e 3e 2e 42 14 |........|0pG>>.B.|
|000017a0| 30 33 00 33 03 00 00 00 | 00 00 00 00 30 22 22 41 |03.3....|....0""A|
|000017b0| 41 11 24 32 30 00 03 30 | 00 00 00 00 00 00 00 00 |A.$20..0|........|
|000017c0| 30 33 03 10 13 00 30 03 | 30 00 03 20 03 22 22 00 |03....0.|0.. ."".|
|000017d0| 00 00 46 69 6c 65 44 61 | 74 61 82 21 53 70 72 69 |..FileDa|ta.!Spri|
|000017e0| 74 65 73 32 32 00 e0 02 | 00 00 46 f9 ff ff 59 71 |tes22...|..F...Yq|
|000017f0| 38 1d 03 00 25 2b 01 00 | 00 00 10 00 00 00 e4 02 |8...%+..|........|
|00001800| 00 00 d4 02 00 00 21 6e | 65 74 6c 69 62 00 00 00 |......!n|etlib...|
|00001810| 00 00 04 00 00 00 21 00 | 00 00 00 00 00 00 07 00 |......!.|........|
|00001820| 00 00 2c 00 00 00 2c 00 | 00 00 1f 00 00 00 00 00 |..,...,.|........|
|00001830| 00 00 00 30 00 00 03 00 | 00 00 00 00 00 ee ee 00 |...0....|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 03 00 00 00 00 00 |........|........|
|00001850| e0 ee be 00 00 00 03 00 | 03 33 00 33 00 33 03 00 |........|.3.3.3..|
|00001860| 30 33 30 03 ee ee eb 00 | 00 00 30 30 30 00 03 30 |030.....|..000..0|
|00001870| 30 00 03 00 30 00 03 e0 | ee be be 00 00 00 30 30 |0...0...|......00|
|00001880| 30 00 03 30 30 00 03 00 | 30 00 03 ee ee eb eb 00 |0..00...|0.......|
|00001890| 00 00 00 03 30 00 03 30 | 30 00 03 00 30 00 e3 ee |....0..0|0...0...|
|000018a0| be be be 00 00 00 00 03 | 00 33 00 30 00 33 03 00 |........|.3.0.3..|
|000018b0| 30 00 ee ee eb eb eb 00 | 00 00 00 00 00 00 00 00 |0.......|........|
|000018c0| 00 00 00 00 00 e0 ee be | be be be 00 00 00 00 03 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 ee ee eb eb eb bb 00 |........|........|
|000018e0| 00 00 30 00 00 00 00 00 | 00 00 00 00 e0 ee be be |..0.....|........|
|000018f0| be be bb 00 00 00 30 00 | 00 00 00 00 00 00 00 00 |......0.|........|
|00001900| ee ee eb eb eb bb bb 00 | 00 00 30 00 00 00 00 00 |........|..0.....|
|00001910| 00 00 00 e0 ee be be be | be bb bb 00 00 00 03 00 |........|........|
|00001920| 00 00 00 00 00 00 00 ee | ee eb eb eb bb bb 1b 00 |........|........|
|00001930| 00 00 30 00 00 00 00 00 | 00 00 e0 ee be be be be |..0.....|........|
|00001940| bb bb 11 00 00 00 30 00 | 00 00 00 00 00 00 ee ee |......0.|........|
|00001950| eb eb eb bb bb 1b 01 00 | 00 00 30 00 00 00 00 00 |........|..0.....|
|00001960| 00 e0 ee be be be be bb | bb 11 00 00 00 00 00 03 |........|........|
|00001970| 00 00 00 00 00 ee ee eb | eb eb bb bb 1b 01 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | e0 ee be be be be bb bb |........|........|
|00001990| 11 00 30 00 00 00 00 00 | 00 00 00 00 ee ee eb eb |..0.....|........|
|000019a0| eb bb bb 1b 01 00 03 00 | 00 00 00 00 30 00 00 e0 |........|....0...|
|000019b0| ee be be be be bb bb 15 | 00 00 03 00 00 00 00 00 |........|........|
|000019c0| 00 03 03 e3 ee eb eb eb | bb bb 1b 51 00 00 03 00 |........|...Q....|
|000019d0| 00 00 00 00 00 03 03 9e | 99 be be be bb bb 55 33 |........|......U3|
|000019e0| 00 00 03 00 00 00 00 00 | 00 30 30 9e 9c eb eb bb |........|.00.....|
|000019f0| bb 1b 05 00 00 00 03 00 | 00 00 00 00 00 30 e0 c9 |........|.....0..|
|00001a00| 99 be be bb bb 15 30 03 | 00 00 30 00 00 00 00 00 |......0.|..0.....|
|00001a10| 00 00 e0 99 ee ee be bb | 1b 01 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 9e e9 | ee ee be bb 11 00 00 00 |........|........|
|00001a30| 00 00 00 00 00 00 00 00 | 30 33 99 ee 2e 2e be 1b |........|03......|
|00001a40| 01 00 00 30 00 00 00 00 | 00 00 00 00 30 40 e9 e2 |...0....|....0@..|
|00001a50| e2 23 e3 11 00 00 00 30 | 00 00 00 00 00 00 00 00 |.#.....0|........|
|00001a60| 30 40 44 3e 3e 2e 51 05 | 30 33 00 33 03 00 00 00 |0@D>>.Q.|03.3....|
|00001a70| 00 00 00 00 30 42 77 e3 | 52 11 05 30 30 00 03 30 |....0Bw.|R..00..0|
|00001a80| 00 00 00 00 00 00 00 00 | 30 70 27 51 51 00 33 33 |........|0p'QQ.33|
|00001a90| 30 00 03 30 00 00 00 00 | 00 00 00 00 30 00 11 00 |0..0....|....0...|
|00001aa0| 03 00 03 00 30 00 03 30 | 00 00 00 00 00 00 00 00 |....0..0|........|
|00001ab0| 30 33 03 00 03 00 30 03 | 30 00 03 00 03 33 33 00 |03....0.|0....33.|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 46 69 | 6c 65 44 61 74 61 82 69 |......Fi|leData.i|
|00001ae0| 6e 65 74 00 00 00 00 00 | 00 00 2e 09 00 00 46 ff |net.....|......F.|
|00001af0| ff ff e7 b6 8e 16 03 00 | 3f df 2f 2a 0a 20 2a 20 |........|?./*. * |
|00001b00| 43 6f 70 79 72 69 67 68 | 74 20 28 63 29 20 31 39 |Copyrigh|t (c) 19|
|00001b10| 38 33 20 52 65 67 65 6e | 74 73 20 6f 66 20 74 68 |83 Regen|ts of th|
|00001b20| 65 20 55 6e 69 76 65 72 | 73 69 74 79 20 6f 66 20 |e Univer|sity of |
|00001b30| 43 61 6c 69 66 6f 72 6e | 69 61 2e 0a 20 2a 20 41 |Californ|ia.. * A|
|00001b40| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv|
|00001b50| 65 64 2e 0a 20 2a 0a 20 | 2a 20 52 65 64 69 73 74 |ed.. *. |* Redist|
|00001b60| 72 69 62 75 74 69 6f 6e | 20 61 6e 64 20 75 73 65 |ribution| and use|
|00001b70| 20 69 6e 20 73 6f 75 72 | 63 65 20 61 6e 64 20 62 | in sour|ce and b|
|00001b80| 69 6e 61 72 79 20 66 6f | 72 6d 73 20 61 72 65 20 |inary fo|rms are |
|00001b90| 70 65 72 6d 69 74 74 65 | 64 0a 20 2a 20 70 72 6f |permitte|d. * pro|
|00001ba0| 76 69 64 65 64 20 74 68 | 61 74 3a 20 28 31 29 20 |vided th|at: (1) |
|00001bb0| 73 6f 75 72 63 65 20 64 | 69 73 74 72 69 62 75 74 |source d|istribut|
|00001bc0| 69 6f 6e 73 20 72 65 74 | 61 69 6e 20 74 68 69 73 |ions ret|ain this|
|00001bd0| 20 65 6e 74 69 72 65 20 | 63 6f 70 79 72 69 67 68 | entire |copyrigh|
|00001be0| 74 0a 20 2a 20 6e 6f 74 | 69 63 65 20 61 6e 64 20 |t. * not|ice and |
|00001bf0| 63 6f 6d 6d 65 6e 74 2c | 20 61 6e 64 20 28 32 29 |comment,| and (2)|
|00001c00| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 73 20 69 | distrib|utions i|
|00001c10| 6e 63 6c 75 64 69 6e 67 | 20 62 69 6e 61 72 69 65 |ncluding| binarie|
|00001c20| 73 20 64 69 73 70 6c 61 | 79 0a 20 2a 20 74 68 65 |s displa|y. * the|
|00001c30| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 61 63 6b 6e 6f | followi|ng ackno|
|00001c40| 77 6c 65 64 67 65 6d 65 | 6e 74 3a 20 20 60 60 54 |wledgeme|nt: ``T|
|00001c50| 68 69 73 20 70 72 6f 64 | 75 63 74 20 69 6e 63 6c |his prod|uct incl|
|00001c60| 75 64 65 73 20 73 6f 66 | 74 77 61 72 65 0a 20 2a |udes sof|tware. *|
|00001c70| 20 64 65 76 65 6c 6f 70 | 65 64 20 62 79 20 74 68 | develop|ed by th|
|00001c80| 65 20 55 6e 69 76 65 72 | 73 69 74 79 20 6f 66 20 |e Univer|sity of |
|00001c90| 43 61 6c 69 66 6f 72 6e | 69 61 2c 20 42 65 72 6b |Californ|ia, Berk|
|00001ca0| 65 6c 65 79 20 61 6e 64 | 20 69 74 73 20 63 6f 6e |eley and| its con|
|00001cb0| 74 72 69 62 75 74 6f 72 | 73 27 27 0a 20 2a 20 69 |tributor|s''. * i|
|00001cc0| 6e 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |n the do|cumentat|
|00001cd0| 69 6f 6e 20 6f 72 20 6f | 74 68 65 72 20 6d 61 74 |ion or o|ther mat|
|00001ce0| 65 72 69 61 6c 73 20 70 | 72 6f 76 69 64 65 64 20 |erials p|rovided |
|00001cf0| 77 69 74 68 20 74 68 65 | 20 64 69 73 74 72 69 62 |with the| distrib|
|00001d00| 75 74 69 6f 6e 0a 20 2a | 20 61 6e 64 20 69 6e 20 |ution. *| and in |
|00001d10| 61 6c 6c 20 61 64 76 65 | 72 74 69 73 69 6e 67 20 |all adve|rtising |
|00001d20| 6d 61 74 65 72 69 61 6c | 73 20 6d 65 6e 74 69 6f |material|s mentio|
|00001d30| 6e 69 6e 67 20 66 65 61 | 74 75 72 65 73 20 6f 72 |ning fea|tures or|
|00001d40| 20 75 73 65 20 6f 66 20 | 74 68 69 73 0a 20 2a 20 | use of |this. * |
|00001d50| 73 6f 66 74 77 61 72 65 | 2e 20 4e 65 69 74 68 65 |software|. Neithe|
|00001d60| 72 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |r the na|me of th|
|00001d70| 65 20 55 6e 69 76 65 72 | 73 69 74 79 20 6e 6f 72 |e Univer|sity nor|
|00001d80| 20 74 68 65 20 6e 61 6d | 65 73 20 6f 66 20 69 74 | the nam|es of it|
|00001d90| 73 0a 20 2a 20 63 6f 6e | 74 72 69 62 75 74 6f 72 |s. * con|tributor|
|00001da0| 73 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 74 6f |s may be| used to|
|00001db0| 20 65 6e 64 6f 72 73 65 | 20 6f 72 20 70 72 6f 6d | endorse| or prom|
|00001dc0| 6f 74 65 20 70 72 6f 64 | 75 63 74 73 20 64 65 72 |ote prod|ucts der|
|00001dd0| 69 76 65 64 0a 20 2a 20 | 66 72 6f 6d 20 74 68 69 |ived. * |from thi|
|00001de0| 73 20 73 6f 66 74 77 61 | 72 65 20 77 69 74 68 6f |s softwa|re witho|
|00001df0| 75 74 20 73 70 65 63 69 | 66 69 63 20 70 72 69 6f |ut speci|fic prio|
|00001e00| 72 20 77 72 69 74 74 65 | 6e 20 70 65 72 6d 69 73 |r writte|n permis|
|00001e10| 73 69 6f 6e 2e 0a 20 2a | 20 54 48 49 53 20 53 4f |sion.. *| THIS SO|
|00001e20| 46 54 57 41 52 45 20 49 | 53 20 50 52 4f 56 49 44 |FTWARE I|S PROVID|
|00001e30| 45 44 20 60 60 41 53 20 | 49 53 27 27 20 41 4e 44 |ED ``AS |IS'' AND|
|00001e40| 20 57 49 54 48 4f 55 54 | 20 41 4e 59 20 45 58 50 | WITHOUT| ANY EXP|
|00001e50| 52 45 53 53 20 4f 52 0a | 20 2a 20 49 4d 50 4c 49 |RESS OR.| * IMPLI|
|00001e60| 45 44 20 57 41 52 52 41 | 4e 54 49 45 53 2c 20 49 |ED WARRA|NTIES, I|
|00001e70| 4e 43 4c 55 44 49 4e 47 | 2c 20 57 49 54 48 4f 55 |NCLUDING|, WITHOU|
|00001e80| 54 20 4c 49 4d 49 54 41 | 54 49 4f 4e 2c 20 54 48 |T LIMITA|TION, TH|
|00001e90| 45 20 49 4d 50 4c 49 45 | 44 0a 20 2a 20 57 41 52 |E IMPLIE|D. * WAR|
|00001ea0| 52 41 4e 54 49 45 53 20 | 4f 46 20 4d 45 52 43 48 |RANTIES |OF MERCH|
|00001eb0| 41 4e 54 41 42 49 4c 49 | 54 59 20 41 4e 44 20 46 |ANTABILI|TY AND F|
|00001ec0| 49 54 4e 45 53 53 20 46 | 4f 52 20 41 20 50 41 52 |ITNESS F|OR A PAR|
|00001ed0| 54 49 43 55 4c 41 52 20 | 50 55 52 50 4f 53 45 2e |TICULAR |PURPOSE.|
|00001ee0| 0a 20 2a 0a 20 2a 09 40 | 28 23 29 69 6e 65 74 2e |. *. *.@|(#)inet.|
|00001ef0| 68 09 35 2e 34 20 28 42 | 65 72 6b 65 6c 65 79 29 |h.5.4 (B|erkeley)|
|00001f00| 20 36 2f 31 2f 39 30 0a | 20 2a 2f 0a 0a 23 69 66 | 6/1/90.| */..#if|
|00001f10| 6e 64 65 66 20 5f 5f 61 | 72 70 61 5f 69 6e 65 74 |ndef __a|rpa_inet|
|00001f20| 5f 68 0a 23 64 65 66 69 | 6e 65 20 5f 5f 61 72 70 |_h.#defi|ne __arp|
|00001f30| 61 5f 69 6e 65 74 5f 68 | 0a 0a 2f 2a 20 46 72 65 |a_inet_h|../* Fre|
|00001f40| 65 6e 65 74 20 70 72 6f | 67 72 61 6d 6d 65 72 73 |enet pro|grammers|
|00001f50| 20 69 6e 74 65 72 66 61 | 63 65 20 2d 20 61 72 70 | interfa|ce - arp|
|00001f60| 61 2f 69 6e 65 74 2e 68 | 20 2d 20 65 64 69 74 65 |a/inet.h| - edite|
|00001f70| 64 20 62 79 20 61 6e 64 | 79 20 32 33 2f 35 2f 39 |d by and|y 23/5/9|
|00001f80| 35 20 2a 2f 0a 0a 23 69 | 6e 63 6c 75 64 65 20 22 |5 */..#i|nclude "|
|00001f90| 6e 65 74 69 6e 65 74 2f | 69 6e 2e 68 22 0a 23 69 |netinet/|in.h".#i|
|00001fa0| 6e 63 6c 75 64 65 20 22 | 73 79 73 2f 74 79 70 65 |nclude "|sys/type|
|00001fb0| 73 2e 68 22 0a 0a 2f 2a | 0a 20 2a 20 43 68 65 63 |s.h"../*|. * Chec|
|00001fc0| 6b 20 77 68 65 74 68 65 | 72 20 22 63 70 22 20 69 |k whethe|r "cp" i|
|00001fd0| 73 20 61 20 76 61 6c 69 | 64 20 61 73 63 69 69 20 |s a vali|d ascii |
|00001fe0| 72 65 70 72 65 73 65 6e | 74 61 74 69 6f 6e 0a 20 |represen|tation. |
|00001ff0| 2a 20 6f 66 20 61 6e 20 | 49 6e 74 65 72 6e 65 74 |* of an |Internet|
|00002000| 20 61 64 64 72 65 73 73 | 20 61 6e 64 20 63 6f 6e | address| and con|
|00002010| 76 65 72 74 20 74 6f 20 | 61 20 62 69 6e 61 72 79 |vert to |a binary|
|00002020| 20 61 64 64 72 65 73 73 | 2e 0a 20 2a 20 52 65 74 | address|.. * Ret|
|00002030| 75 72 6e 73 20 31 20 69 | 66 20 74 68 65 20 61 64 |urns 1 i|f the ad|
|00002040| 64 72 65 73 73 20 69 73 | 20 76 61 6c 69 64 2c 20 |dress is| valid, |
|00002050| 30 20 69 66 20 6e 6f 74 | 2e 0a 20 2a 20 54 68 69 |0 if not|.. * Thi|
|00002060| 73 20 72 65 70 6c 61 63 | 65 73 20 69 6e 65 74 5f |s replac|es inet_|
|00002070| 61 64 64 72 2c 20 74 68 | 65 20 72 65 74 75 72 6e |addr, th|e return|
|00002080| 20 76 61 6c 75 65 20 66 | 72 6f 6d 20 77 68 69 63 | value f|rom whic|
|00002090| 68 0a 20 2a 20 63 61 6e | 6e 6f 74 20 64 69 73 74 |h. * can|not dist|
|000020a0| 69 6e 67 75 69 73 68 20 | 62 65 74 77 65 65 6e 20 |inguish |between |
|000020b0| 66 61 69 6c 75 72 65 20 | 61 6e 64 20 61 20 6c 6f |failure |and a lo|
|000020c0| 63 61 6c 20 62 72 6f 61 | 64 63 61 73 74 20 61 64 |cal broa|dcast ad|
|000020d0| 64 72 65 73 73 2e 0a 20 | 2a 2f 0a 0a 65 78 74 65 |dress.. |*/..exte|
|000020e0| 72 6e 20 75 5f 6c 6f 6e | 67 20 69 6e 65 74 5f 61 |rn u_lon|g inet_a|
|000020f0| 74 6f 6e 28 63 6f 6e 73 | 74 20 63 68 61 72 20 2a |ton(cons|t char *|
|00002100| 20 2f 2a 63 70 2a 2f 2c | 20 73 74 72 75 63 74 20 | /*cp*/,| struct |
|00002110| 69 6e 5f 61 64 64 72 20 | 2a 20 2f 2a 61 64 64 72 |in_addr |* /*addr|
|00002120| 2a 2f 29 3b 0a 0a 2f 2a | 0a 20 2a 20 43 6f 6e 76 |*/);../*|. * Conv|
|00002130| 65 72 74 20 73 74 72 69 | 6e 67 20 63 6f 6e 74 61 |ert stri|ng conta|
|00002140| 69 6e 69 6e 67 20 27 64 | 6f 74 74 65 64 27 20 61 |ining 'd|otted' a|
|00002150| 64 64 72 65 73 73 20 69 | 6e 74 6f 20 6e 75 6d 65 |ddress i|nto nume|
|00002160| 72 69 63 0a 20 2a 20 69 | 6e 74 65 72 6e 65 74 20 |ric. * i|nternet |
|00002170| 61 64 64 72 65 73 73 0a | 20 2a 2f 0a 65 78 74 65 |address.| */.exte|
|00002180| 72 6e 20 75 5f 6c 6f 6e | 67 20 69 6e 65 74 5f 61 |rn u_lon|g inet_a|
|00002190| 64 64 72 28 63 6f 6e 73 | 74 20 63 68 61 72 20 2a |ddr(cons|t char *|
|000021a0| 2f 2a 63 70 2a 2f 29 3b | 0a 0a 2f 2a 0a 20 2a 20 |/*cp*/);|../*. * |
|000021b0| 43 6f 6e 76 65 72 74 20 | 73 74 72 69 6e 67 20 63 |Convert |string c|
|000021c0| 6f 6e 74 61 69 6e 69 6e | 67 20 27 64 6f 74 74 65 |ontainin|g 'dotte|
|000021d0| 64 27 20 61 64 64 72 65 | 73 73 20 69 6e 74 6f 20 |d' addre|ss into |
|000021e0| 6e 75 6d 65 72 69 63 0a | 20 2a 20 69 6e 74 65 72 |numeric.| * inter|
|000021f0| 6e 65 74 20 6e 65 74 77 | 6f 72 6b 20 6e 75 6d 62 |net netw|ork numb|
|00002200| 65 72 0a 20 2a 2f 0a 65 | 78 74 65 72 6e 20 75 5f |er. */.e|xtern u_|
|00002210| 6c 6f 6e 67 20 69 6e 65 | 74 5f 6e 65 74 77 6f 72 |long ine|t_networ|
|00002220| 6b 28 63 6f 6e 73 74 20 | 63 68 61 72 20 2a 2f 2a |k(const |char */*|
|00002230| 63 70 2a 2f 29 3b 0a 0a | 2f 2a 0a 20 2a 20 46 6f |cp*/);..|/*. * Fo|
|00002240| 72 6d 73 20 61 6e 20 69 | 6e 74 65 72 6e 65 74 20 |rms an i|nternet |
|00002250| 61 64 64 72 65 73 73 20 | 66 72 6f 6d 20 61 20 6e |address |from a n|
|00002260| 65 74 77 6f 72 6b 20 6e | 75 6d 62 65 72 20 61 6e |etwork n|umber an|
|00002270| 64 20 61 0a 20 2a 20 6c | 6f 63 61 6c 20 6e 65 74 |d a. * l|ocal net|
|00002280| 77 6f 72 6b 20 61 64 64 | 72 65 73 73 0a 20 2a 2f |work add|ress. */|
|00002290| 0a 65 78 74 65 72 6e 20 | 73 74 72 75 63 74 20 69 |.extern |struct i|
|000022a0| 6e 5f 61 64 64 72 20 69 | 6e 65 74 5f 6d 61 6b 65 |n_addr i|net_make|
|000022b0| 61 64 64 72 28 75 5f 6c | 6f 6e 67 20 2f 2a 6e 65 |addr(u_l|ong /*ne|
|000022c0| 74 2a 2f 2c 75 5f 6c 6f | 6e 67 20 2f 2a 6c 6e 61 |t*/,u_lo|ng /*lna|
|000022d0| 2a 2f 29 3b 0a 0a 2f 2a | 0a 20 2a 20 45 78 74 72 |*/);../*|. * Extr|
|000022e0| 61 63 74 20 74 68 65 20 | 6c 6f 63 61 6c 20 6e 65 |act the |local ne|
|000022f0| 74 77 6f 72 6b 20 61 64 | 64 72 65 73 73 20 66 72 |twork ad|dress fr|
|00002300| 6f 6d 20 61 6e 20 69 6e | 74 65 72 6e 65 74 20 61 |om an in|ternet a|
|00002310| 64 64 72 65 73 73 0a 20 | 2a 2f 0a 65 78 74 65 72 |ddress. |*/.exter|
|00002320| 6e 20 75 5f 6c 6f 6e 67 | 20 69 6e 65 74 5f 6c 6e |n u_long| inet_ln|
|00002330| 61 6f 66 28 73 74 72 75 | 63 74 20 69 6e 5f 61 64 |aof(stru|ct in_ad|
|00002340| 64 72 20 2f 2a 69 6e 2a | 2f 29 3b 0a 0a 2f 2a 0a |dr /*in*|/);../*.|
|00002350| 20 2a 20 45 78 74 72 61 | 63 74 20 74 68 65 20 6e | * Extra|ct the n|
|00002360| 65 74 77 6f 72 6b 20 6e | 75 6d 62 65 72 20 66 72 |etwork n|umber fr|
|00002370| 6f 6d 20 61 6e 20 69 6e | 74 65 72 6e 65 74 20 61 |om an in|ternet a|
|00002380| 64 64 72 65 73 73 0a 20 | 2a 2f 0a 65 78 74 65 72 |ddress. |*/.exter|
|00002390| 6e 20 75 5f 6c 6f 6e 67 | 20 69 6e 65 74 5f 6e 65 |n u_long| inet_ne|
|000023a0| 74 6f 66 28 73 74 72 75 | 63 74 20 69 6e 5f 61 64 |tof(stru|ct in_ad|
|000023b0| 64 72 20 2f 2a 69 6e 2a | 2f 29 3b 0a 0a 2f 2a 0a |dr /*in*|/);../*.|
|000023c0| 20 2a 20 46 6f 72 6d 61 | 74 20 61 6e 20 69 6e 74 | * Forma|t an int|
|000023d0| 65 72 6e 65 74 20 61 64 | 64 72 65 73 73 20 69 6e |ernet ad|dress in|
|000023e0| 20 73 74 72 69 6e 67 20 | 66 6f 72 6d 0a 20 2a 2f | string |form. */|
|000023f0| 0a 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 69 6e |.extern |char *in|
|00002400| 65 74 5f 6e 74 6f 61 28 | 73 74 72 75 63 74 20 69 |et_ntoa(|struct i|
|00002410| 6e 5f 61 64 64 72 20 2f | 2a 69 6e 2a 2f 29 3b 0a |n_addr /|*in*/);.|
|00002420| 0a 23 65 6e 64 69 66 0a | 46 69 6c 65 44 61 74 61 |.#endif.|FileData|
|00002430| 82 6e 61 6d 65 73 65 72 | 00 00 00 00 d1 31 00 00 |.nameser|.....1..|
|00002440| 47 fd ff ff 9d 2f 62 1e | 03 00 1b 5a 2f 2a 0a 20 |G..../b.|...Z/*. |
|00002450| 2a 20 2b 2b 43 6f 70 79 | 72 69 67 68 74 2b 2b 20 |* ++Copy|right++ |
|00002460| 31 39 38 33 2c 20 31 39 | 38 39 2c 20 31 39 39 33 |1983, 19|89, 1993|
|00002470| 0a 20 2a 20 2d 0a 20 2a | 20 43 6f 70 79 72 69 67 |. * -. *| Copyrig|
|00002480| 68 74 20 28 63 29 20 31 | 39 38 33 2c 20 31 39 38 |ht (c) 1|983, 198|
|00002490| 39 2c 20 31 39 39 33 0a | 20 2a 20 20 20 20 54 68 |9, 1993.| * Th|
|000024a0| 65 20 52 65 67 65 6e 74 | 73 20 6f 66 20 74 68 65 |e Regent|s of the|
|000024b0| 20 55 6e 69 76 65 72 73 | 69 74 79 20 6f 66 20 43 | Univers|ity of C|
|000024c0| 61 6c 69 66 6f 72 6e 69 | 61 2e 20 20 41 6c 6c 20 |aliforni|a. All |
|000024d0| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|000024e0| 0a 20 2a 20 0a 20 2a 20 | 52 65 64 69 73 74 72 69 |. * . * |Redistri|
|000024f0| 62 75 74 69 6f 6e 20 61 | 6e 64 20 75 73 65 20 69 |bution a|nd use i|
|00002500| 6e 20 73 6f 75 72 63 65 | 20 61 6e 64 20 62 69 6e |n source| and bin|
|00002510| 61 72 79 20 66 6f 72 6d | 73 2c 20 77 69 74 68 20 |ary form|s, with |
|00002520| 6f 72 20 77 69 74 68 6f | 75 74 0a 20 2a 20 6d 6f |or witho|ut. * mo|
|00002530| 64 69 66 69 63 61 74 69 | 6f 6e 2c 20 61 72 65 20 |dificati|on, are |
|00002540| 70 65 72 6d 69 74 74 65 | 64 20 70 72 6f 76 69 64 |permitte|d provid|
|00002550| 65 64 20 74 68 61 74 20 | 74 68 65 20 66 6f 6c 6c |ed that |the foll|
|00002560| 6f 77 69 6e 67 20 63 6f | 6e 64 69 74 69 6f 6e 73 |owing co|nditions|
|00002570| 0a 20 2a 20 61 72 65 20 | 6d 65 74 3a 0a 20 2a 20 |. * are |met:. * |
|00002580| 31 2e 20 52 65 64 69 73 | 74 72 69 62 75 74 69 6f |1. Redis|tributio|
|00002590| 6e 73 20 6f 66 20 73 6f | 75 72 63 65 20 63 6f 64 |ns of so|urce cod|
|000025a0| 65 20 6d 75 73 74 20 72 | 65 74 61 69 6e 20 74 68 |e must r|etain th|
|000025b0| 65 20 61 62 6f 76 65 20 | 63 6f 70 79 72 69 67 68 |e above |copyrigh|
|000025c0| 74 0a 20 2a 20 20 20 20 | 6e 6f 74 69 63 65 2c 20 |t. * |notice, |
|000025d0| 74 68 69 73 20 6c 69 73 | 74 20 6f 66 20 63 6f 6e |this lis|t of con|
|000025e0| 64 69 74 69 6f 6e 73 20 | 61 6e 64 20 74 68 65 20 |ditions |and the |
|000025f0| 66 6f 6c 6c 6f 77 69 6e | 67 20 64 69 73 63 6c 61 |followin|g discla|
|00002600| 69 6d 65 72 2e 0a 20 2a | 20 32 2e 20 52 65 64 69 |imer.. *| 2. Redi|
|00002610| 73 74 72 69 62 75 74 69 | 6f 6e 73 20 69 6e 20 62 |stributi|ons in b|
|00002620| 69 6e 61 72 79 20 66 6f | 72 6d 20 6d 75 73 74 20 |inary fo|rm must |
|00002630| 72 65 70 72 6f 64 75 63 | 65 20 74 68 65 20 61 62 |reproduc|e the ab|
|00002640| 6f 76 65 20 63 6f 70 79 | 72 69 67 68 74 0a 20 2a |ove copy|right. *|
|00002650| 20 20 20 20 6e 6f 74 69 | 63 65 2c 20 74 68 69 73 | noti|ce, this|
|00002660| 20 6c 69 73 74 20 6f 66 | 20 63 6f 6e 64 69 74 69 | list of| conditi|
|00002670| 6f 6e 73 20 61 6e 64 20 | 74 68 65 20 66 6f 6c 6c |ons and |the foll|
|00002680| 6f 77 69 6e 67 20 64 69 | 73 63 6c 61 69 6d 65 72 |owing di|sclaimer|
|00002690| 20 69 6e 20 74 68 65 0a | 20 2a 20 20 20 20 64 6f | in the.| * do|
|000026a0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 61 6e 64 2f |cumentat|ion and/|
|000026b0| 6f 72 20 6f 74 68 65 72 | 20 6d 61 74 65 72 69 61 |or other| materia|
|000026c0| 6c 73 20 70 72 6f 76 69 | 64 65 64 20 77 69 74 68 |ls provi|ded with|
|000026d0| 20 74 68 65 20 64 69 73 | 74 72 69 62 75 74 69 6f | the dis|tributio|
|000026e0| 6e 2e 0a 20 2a 20 33 2e | 20 41 6c 6c 20 61 64 76 |n.. * 3.| All adv|
|000026f0| 65 72 74 69 73 69 6e 67 | 20 6d 61 74 65 72 69 61 |ertising| materia|
|00002700| 6c 73 20 6d 65 6e 74 69 | 6f 6e 69 6e 67 20 66 65 |ls menti|oning fe|
|00002710| 61 74 75 72 65 73 20 6f | 72 20 75 73 65 20 6f 66 |atures o|r use of|
|00002720| 20 74 68 69 73 20 73 6f | 66 74 77 61 72 65 0a 20 | this so|ftware. |
|00002730| 2a 20 20 20 20 6d 75 73 | 74 20 64 69 73 70 6c 61 |* mus|t displa|
|00002740| 79 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |y the fo|llowing |
|00002750| 61 63 6b 6e 6f 77 6c 65 | 64 67 65 6d 65 6e 74 3a |acknowle|dgement:|
|00002760| 0a 20 2a 20 09 54 68 69 | 73 20 70 72 6f 64 75 63 |. * .Thi|s produc|
|00002770| 74 20 69 6e 63 6c 75 64 | 65 73 20 73 6f 66 74 77 |t includ|es softw|
|00002780| 61 72 65 20 64 65 76 65 | 6c 6f 70 65 64 20 62 79 |are deve|loped by|
|00002790| 20 74 68 65 20 55 6e 69 | 76 65 72 73 69 74 79 20 | the Uni|versity |
|000027a0| 6f 66 0a 20 2a 20 09 43 | 61 6c 69 66 6f 72 6e 69 |of. * .C|aliforni|
|000027b0| 61 2c 20 42 65 72 6b 65 | 6c 65 79 20 61 6e 64 20 |a, Berke|ley and |
|000027c0| 69 74 73 20 63 6f 6e 74 | 72 69 62 75 74 6f 72 73 |its cont|ributors|
|000027d0| 2e 0a 20 2a 20 34 2e 20 | 4e 65 69 74 68 65 72 20 |.. * 4. |Neither |
|000027e0| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|000027f0| 55 6e 69 76 65 72 73 69 | 74 79 20 6e 6f 72 20 74 |Universi|ty nor t|
|00002800| 68 65 20 6e 61 6d 65 73 | 20 6f 66 20 69 74 73 20 |he names| of its |
|00002810| 63 6f 6e 74 72 69 62 75 | 74 6f 72 73 0a 20 2a 20 |contribu|tors. * |
|00002820| 20 20 20 6d 61 79 20 62 | 65 20 75 73 65 64 20 74 | may b|e used t|
|00002830| 6f 20 65 6e 64 6f 72 73 | 65 20 6f 72 20 70 72 6f |o endors|e or pro|
|00002840| 6d 6f 74 65 20 70 72 6f | 64 75 63 74 73 20 64 65 |mote pro|ducts de|
|00002850| 72 69 76 65 64 20 66 72 | 6f 6d 20 74 68 69 73 20 |rived fr|om this |
|00002860| 73 6f 66 74 77 61 72 65 | 0a 20 2a 20 20 20 20 77 |software|. * w|
|00002870| 69 74 68 6f 75 74 20 73 | 70 65 63 69 66 69 63 20 |ithout s|pecific |
|00002880| 70 72 69 6f 72 20 77 72 | 69 74 74 65 6e 20 70 65 |prior wr|itten pe|
|00002890| 72 6d 69 73 73 69 6f 6e | 2e 0a 20 2a 20 0a 20 2a |rmission|.. * . *|
|000028a0| 20 54 48 49 53 20 53 4f | 46 54 57 41 52 45 20 49 | THIS SO|FTWARE I|
|000028b0| 53 20 50 52 4f 56 49 44 | 45 44 20 42 59 20 54 48 |S PROVID|ED BY TH|
|000028c0| 45 20 52 45 47 45 4e 54 | 53 20 41 4e 44 20 43 4f |E REGENT|S AND CO|
|000028d0| 4e 54 52 49 42 55 54 4f | 52 53 20 60 60 41 53 20 |NTRIBUTO|RS ``AS |
|000028e0| 49 53 27 27 20 41 4e 44 | 0a 20 2a 20 41 4e 59 20 |IS'' AND|. * ANY |
|000028f0| 45 58 50 52 45 53 53 20 | 4f 52 20 49 4d 50 4c 49 |EXPRESS |OR IMPLI|
|00002900| 45 44 20 57 41 52 52 41 | 4e 54 49 45 53 2c 20 49 |ED WARRA|NTIES, I|
|00002910| 4e 43 4c 55 44 49 4e 47 | 2c 20 42 55 54 20 4e 4f |NCLUDING|, BUT NO|
|00002920| 54 20 4c 49 4d 49 54 45 | 44 20 54 4f 2c 20 54 48 |T LIMITE|D TO, TH|
|00002930| 45 0a 20 2a 20 49 4d 50 | 4c 49 45 44 20 57 41 52 |E. * IMP|LIED WAR|
|00002940| 52 41 4e 54 49 45 53 20 | 4f 46 20 4d 45 52 43 48 |RANTIES |OF MERCH|
|00002950| 41 4e 54 41 42 49 4c 49 | 54 59 20 41 4e 44 20 46 |ANTABILI|TY AND F|
|00002960| 49 54 4e 45 53 53 20 46 | 4f 52 20 41 20 50 41 52 |ITNESS F|OR A PAR|
|00002970| 54 49 43 55 4c 41 52 20 | 50 55 52 50 4f 53 45 0a |TICULAR |PURPOSE.|
|00002980| 20 2a 20 41 52 45 20 44 | 49 53 43 4c 41 49 4d 45 | * ARE D|ISCLAIME|
|00002990| 44 2e 20 20 49 4e 20 4e | 4f 20 45 56 45 4e 54 20 |D. IN N|O EVENT |
|000029a0| 53 48 41 4c 4c 20 54 48 | 45 20 52 45 47 45 4e 54 |SHALL TH|E REGENT|
|000029b0| 53 20 4f 52 20 43 4f 4e | 54 52 49 42 55 54 4f 52 |S OR CON|TRIBUTOR|
|000029c0| 53 20 42 45 20 4c 49 41 | 42 4c 45 0a 20 2a 20 46 |S BE LIA|BLE. * F|
|000029d0| 4f 52 20 41 4e 59 20 44 | 49 52 45 43 54 2c 20 49 |OR ANY D|IRECT, I|
|000029e0| 4e 44 49 52 45 43 54 2c | 20 49 4e 43 49 44 45 4e |NDIRECT,| INCIDEN|
|000029f0| 54 41 4c 2c 20 53 50 45 | 43 49 41 4c 2c 20 45 58 |TAL, SPE|CIAL, EX|
|00002a00| 45 4d 50 4c 41 52 59 2c | 20 4f 52 20 43 4f 4e 53 |EMPLARY,| OR CONS|
|00002a10| 45 51 55 45 4e 54 49 41 | 4c 0a 20 2a 20 44 41 4d |EQUENTIA|L. * DAM|
|00002a20| 41 47 45 53 20 28 49 4e | 43 4c 55 44 49 4e 47 2c |AGES (IN|CLUDING,|
|00002a30| 20 42 55 54 20 4e 4f 54 | 20 4c 49 4d 49 54 45 44 | BUT NOT| LIMITED|
|00002a40| 20 54 4f 2c 20 50 52 4f | 43 55 52 45 4d 45 4e 54 | TO, PRO|CUREMENT|
|00002a50| 20 4f 46 20 53 55 42 53 | 54 49 54 55 54 45 20 47 | OF SUBS|TITUTE G|
|00002a60| 4f 4f 44 53 0a 20 2a 20 | 4f 52 20 53 45 52 56 49 |OODS. * |OR SERVI|
|00002a70| 43 45 53 3b 20 4c 4f 53 | 53 20 4f 46 20 55 53 45 |CES; LOS|S OF USE|
|00002a80| 2c 20 44 41 54 41 2c 20 | 4f 52 20 50 52 4f 46 49 |, DATA, |OR PROFI|
|00002a90| 54 53 3b 20 4f 52 20 42 | 55 53 49 4e 45 53 53 20 |TS; OR B|USINESS |
|00002aa0| 49 4e 54 45 52 52 55 50 | 54 49 4f 4e 29 0a 20 2a |INTERRUP|TION). *|
|00002ab0| 20 48 4f 57 45 56 45 52 | 20 43 41 55 53 45 44 20 | HOWEVER| CAUSED |
|00002ac0| 41 4e 44 20 4f 4e 20 41 | 4e 59 20 54 48 45 4f 52 |AND ON A|NY THEOR|
|00002ad0| 59 20 4f 46 20 4c 49 41 | 42 49 4c 49 54 59 2c 20 |Y OF LIA|BILITY, |
|00002ae0| 57 48 45 54 48 45 52 20 | 49 4e 20 43 4f 4e 54 52 |WHETHER |IN CONTR|
|00002af0| 41 43 54 2c 20 53 54 52 | 49 43 54 0a 20 2a 20 4c |ACT, STR|ICT. * L|
|00002b00| 49 41 42 49 4c 49 54 59 | 2c 20 4f 52 20 54 4f 52 |IABILITY|, OR TOR|
|00002b10| 54 20 28 49 4e 43 4c 55 | 44 49 4e 47 20 4e 45 47 |T (INCLU|DING NEG|
|00002b20| 4c 49 47 45 4e 43 45 20 | 4f 52 20 4f 54 48 45 52 |LIGENCE |OR OTHER|
|00002b30| 57 49 53 45 29 20 41 52 | 49 53 49 4e 47 20 49 4e |WISE) AR|ISING IN|
|00002b40| 20 41 4e 59 20 57 41 59 | 0a 20 2a 20 4f 55 54 20 | ANY WAY|. * OUT |
|00002b50| 4f 46 20 54 48 45 20 55 | 53 45 20 4f 46 20 54 48 |OF THE U|SE OF TH|
|00002b60| 49 53 20 53 4f 46 54 57 | 41 52 45 2c 20 45 56 45 |IS SOFTW|ARE, EVE|
|00002b70| 4e 20 49 46 20 41 44 56 | 49 53 45 44 20 4f 46 20 |N IF ADV|ISED OF |
|00002b80| 54 48 45 20 50 4f 53 53 | 49 42 49 4c 49 54 59 20 |THE POSS|IBILITY |
|00002b90| 4f 46 0a 20 2a 20 53 55 | 43 48 20 44 41 4d 41 47 |OF. * SU|CH DAMAG|
|00002ba0| 45 2e 0a 20 2a 20 2d 0a | 20 2a 20 50 6f 72 74 69 |E.. * -.| * Porti|
|00002bb0| 6f 6e 73 20 43 6f 70 79 | 72 69 67 68 74 20 28 63 |ons Copy|right (c|
|00002bc0| 29 20 31 39 39 33 20 62 | 79 20 44 69 67 69 74 61 |) 1993 b|y Digita|
|00002bd0| 6c 20 45 71 75 69 70 6d | 65 6e 74 20 43 6f 72 70 |l Equipm|ent Corp|
|00002be0| 6f 72 61 74 69 6f 6e 2e | 0a 20 2a 20 0a 20 2a 20 |oration.|. * . * |
|00002bf0| 50 65 72 6d 69 73 73 69 | 6f 6e 20 74 6f 20 75 73 |Permissi|on to us|
|00002c00| 65 2c 20 63 6f 70 79 2c | 20 6d 6f 64 69 66 79 2c |e, copy,| modify,|
|00002c10| 20 61 6e 64 20 64 69 73 | 74 72 69 62 75 74 65 20 | and dis|tribute |
|00002c20| 74 68 69 73 20 73 6f 66 | 74 77 61 72 65 20 66 6f |this sof|tware fo|
|00002c30| 72 20 61 6e 79 0a 20 2a | 20 70 75 72 70 6f 73 65 |r any. *| purpose|
|00002c40| 20 77 69 74 68 20 6f 72 | 20 77 69 74 68 6f 75 74 | with or| without|
|00002c50| 20 66 65 65 20 69 73 20 | 68 65 72 65 62 79 20 67 | fee is |hereby g|
|00002c60| 72 61 6e 74 65 64 2c 20 | 70 72 6f 76 69 64 65 64 |ranted, |provided|
|00002c70| 20 74 68 61 74 20 74 68 | 65 20 61 62 6f 76 65 0a | that th|e above.|
|00002c80| 20 2a 20 63 6f 70 79 72 | 69 67 68 74 20 6e 6f 74 | * copyr|ight not|
|00002c90| 69 63 65 20 61 6e 64 20 | 74 68 69 73 20 70 65 72 |ice and |this per|
|00002ca0| 6d 69 73 73 69 6f 6e 20 | 6e 6f 74 69 63 65 20 61 |mission |notice a|
|00002cb0| 70 70 65 61 72 20 69 6e | 20 61 6c 6c 20 63 6f 70 |ppear in| all cop|
|00002cc0| 69 65 73 2c 20 61 6e 64 | 20 74 68 61 74 0a 20 2a |ies, and| that. *|
|00002cd0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 44 69 67 | the nam|e of Dig|
|00002ce0| 69 74 61 6c 20 45 71 75 | 69 70 6d 65 6e 74 20 43 |ital Equ|ipment C|
|00002cf0| 6f 72 70 6f 72 61 74 69 | 6f 6e 20 6e 6f 74 20 62 |orporati|on not b|
|00002d00| 65 20 75 73 65 64 20 69 | 6e 20 61 64 76 65 72 74 |e used i|n advert|
|00002d10| 69 73 69 6e 67 20 6f 72 | 0a 20 2a 20 70 75 62 6c |ising or|. * publ|
|00002d20| 69 63 69 74 79 20 70 65 | 72 74 61 69 6e 69 6e 67 |icity pe|rtaining|
|00002d30| 20 74 6f 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e | to dist|ribution|
|00002d40| 20 6f 66 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 | of the |document|
|00002d50| 20 6f 72 20 73 6f 66 74 | 77 61 72 65 20 77 69 74 | or soft|ware wit|
|00002d60| 68 6f 75 74 0a 20 2a 20 | 73 70 65 63 69 66 69 63 |hout. * |specific|
|00002d70| 2c 20 77 72 69 74 74 65 | 6e 20 70 72 69 6f 72 20 |, writte|n prior |
|00002d80| 70 65 72 6d 69 73 73 69 | 6f 6e 2e 0a 20 2a 20 0a |permissi|on.. * .|
|00002d90| 20 2a 20 54 48 45 20 53 | 4f 46 54 57 41 52 45 20 | * THE S|OFTWARE |
|00002da0| 49 53 20 50 52 4f 56 49 | 44 45 44 20 22 41 53 20 |IS PROVI|DED "AS |
|00002db0| 49 53 22 20 41 4e 44 20 | 44 49 47 49 54 41 4c 20 |IS" AND |DIGITAL |
|00002dc0| 45 51 55 49 50 4d 45 4e | 54 20 43 4f 52 50 2e 20 |EQUIPMEN|T CORP. |
|00002dd0| 44 49 53 43 4c 41 49 4d | 53 20 41 4c 4c 0a 20 2a |DISCLAIM|S ALL. *|
|00002de0| 20 57 41 52 52 41 4e 54 | 49 45 53 20 57 49 54 48 | WARRANT|IES WITH|
|00002df0| 20 52 45 47 41 52 44 20 | 54 4f 20 54 48 49 53 20 | REGARD |TO THIS |
|00002e00| 53 4f 46 54 57 41 52 45 | 2c 20 49 4e 43 4c 55 44 |SOFTWARE|, INCLUD|
|00002e10| 49 4e 47 20 41 4c 4c 20 | 49 4d 50 4c 49 45 44 20 |ING ALL |IMPLIED |
|00002e20| 57 41 52 52 41 4e 54 49 | 45 53 0a 20 2a 20 4f 46 |WARRANTI|ES. * OF|
|00002e30| 20 4d 45 52 43 48 41 4e | 54 41 42 49 4c 49 54 59 | MERCHAN|TABILITY|
|00002e40| 20 41 4e 44 20 46 49 54 | 4e 45 53 53 2e 20 20 20 | AND FIT|NESS. |
|00002e50| 49 4e 20 4e 4f 20 45 56 | 45 4e 54 20 53 48 41 4c |IN NO EV|ENT SHAL|
|00002e60| 4c 20 44 49 47 49 54 41 | 4c 20 45 51 55 49 50 4d |L DIGITA|L EQUIPM|
|00002e70| 45 4e 54 0a 20 2a 20 43 | 4f 52 50 4f 52 41 54 49 |ENT. * C|ORPORATI|
|00002e80| 4f 4e 20 42 45 20 4c 49 | 41 42 4c 45 20 46 4f 52 |ON BE LI|ABLE FOR|
|00002e90| 20 41 4e 59 20 53 50 45 | 43 49 41 4c 2c 20 44 49 | ANY SPE|CIAL, DI|
|00002ea0| 52 45 43 54 2c 20 49 4e | 44 49 52 45 43 54 2c 20 |RECT, IN|DIRECT, |
|00002eb0| 4f 52 20 43 4f 4e 53 45 | 51 55 45 4e 54 49 41 4c |OR CONSE|QUENTIAL|
|00002ec0| 0a 20 2a 20 44 41 4d 41 | 47 45 53 20 4f 52 20 41 |. * DAMA|GES OR A|
|00002ed0| 4e 59 20 44 41 4d 41 47 | 45 53 20 57 48 41 54 53 |NY DAMAG|ES WHATS|
|00002ee0| 4f 45 56 45 52 20 52 45 | 53 55 4c 54 49 4e 47 20 |OEVER RE|SULTING |
|00002ef0| 46 52 4f 4d 20 4c 4f 53 | 53 20 4f 46 20 55 53 45 |FROM LOS|S OF USE|
|00002f00| 2c 20 44 41 54 41 20 4f | 52 0a 20 2a 20 50 52 4f |, DATA O|R. * PRO|
|00002f10| 46 49 54 53 2c 20 57 48 | 45 54 48 45 52 20 49 4e |FITS, WH|ETHER IN|
|00002f20| 20 41 4e 20 41 43 54 49 | 4f 4e 20 4f 46 20 43 4f | AN ACTI|ON OF CO|
|00002f30| 4e 54 52 41 43 54 2c 20 | 4e 45 47 4c 49 47 45 4e |NTRACT, |NEGLIGEN|
|00002f40| 43 45 20 4f 52 20 4f 54 | 48 45 52 20 54 4f 52 54 |CE OR OT|HER TORT|
|00002f50| 49 4f 55 53 0a 20 2a 20 | 41 43 54 49 4f 4e 2c 20 |IOUS. * |ACTION, |
|00002f60| 41 52 49 53 49 4e 47 20 | 4f 55 54 20 4f 46 20 4f |ARISING |OUT OF O|
|00002f70| 52 20 49 4e 20 43 4f 4e | 4e 45 43 54 49 4f 4e 20 |R IN CON|NECTION |
|00002f80| 57 49 54 48 20 54 48 45 | 20 55 53 45 20 4f 52 20 |WITH THE| USE OR |
|00002f90| 50 45 52 46 4f 52 4d 41 | 4e 43 45 20 4f 46 20 54 |PERFORMA|NCE OF T|
|00002fa0| 48 49 53 0a 20 2a 20 53 | 4f 46 54 57 41 52 45 2e |HIS. * S|OFTWARE.|
|00002fb0| 0a 20 2a 20 2d 0a 20 2a | 20 2d 2d 43 6f 70 79 72 |. * -. *| --Copyr|
|00002fc0| 69 67 68 74 2d 2d 0a 20 | 2a 2f 0a 0a 2f 2a 0a 20 |ight--. |*/../*. |
|00002fd0| 2a 20 20 20 20 20 20 40 | 28 23 29 6e 61 6d 65 73 |* @|(#)names|
|00002fe0| 65 72 2e 68 09 38 2e 31 | 20 28 42 65 72 6b 65 6c |er.h.8.1| (Berkel|
|00002ff0| 65 79 29 20 36 2f 32 2f | 39 33 0a 20 2a 09 24 49 |ey) 6/2/|93. *.$I|
|00003000| 64 3a 20 6e 61 6d 65 73 | 65 72 2e 68 2c 76 20 38 |d: names|er.h,v 8|
|00003010| 2e 32 20 31 39 39 35 2f | 30 36 2f 32 39 20 30 39 |.2 1995/|06/29 09|
|00003020| 3a 32 36 3a 31 31 20 76 | 69 78 69 65 20 45 78 70 |:26:11 v|ixie Exp|
|00003030| 20 24 0a 20 2a 2f 0a 0a | 23 69 66 6e 64 65 66 20 | $. */..|#ifndef |
|00003040| 5f 4e 41 4d 45 53 45 52 | 5f 48 5f 0a 23 64 65 66 |_NAMESER|_H_.#def|
|00003050| 69 6e 65 09 5f 4e 41 4d | 45 53 45 52 5f 48 5f 0a |ine._NAM|ESER_H_.|
|00003060| 0a 2f 2a 20 46 72 65 65 | 6e 65 74 20 70 72 6f 67 |./* Free|net prog|
|00003070| 72 61 6d 6d 65 72 73 20 | 69 6e 74 65 72 66 61 63 |rammers |interfac|
|00003080| 65 20 2d 20 61 72 70 61 | 2f 6e 61 6d 65 73 65 72 |e - arpa|/nameser|
|00003090| 2e 68 20 2d 20 65 64 69 | 74 65 64 20 62 79 20 73 |.h - edi|ted by s|
|000030a0| 74 65 77 61 72 74 20 32 | 2f 32 2f 39 36 20 2a 2f |tewart 2|/2/96 */|
|000030b0| 0a 0a 2f 2a 0a 20 2a 20 | 54 68 69 73 20 66 69 6c |../*. * |This fil|
|000030c0| 65 20 69 73 20 73 65 76 | 65 72 65 6c 79 20 68 61 |e is sev|erely ha|
|000030d0| 63 6b 65 64 20 74 6f 20 | 63 6f 6d 70 69 6c 65 20 |cked to |compile |
|000030e0| 63 6c 65 61 6e 6c 79 20 | 77 69 74 68 20 74 68 65 |cleanly |with the|
|000030f0| 20 72 65 73 74 20 6f 66 | 20 4e 65 74 4c 69 62 0a | rest of| NetLib.|
|00003100| 20 2a 20 6f 6e 20 41 52 | 4d 20 70 72 6f 63 65 73 | * on AR|M proces|
|00003110| 73 6f 72 73 20 28 69 6e | 20 6c 69 74 74 6c 65 2d |sors (in| little-|
|00003120| 65 6e 64 69 61 6e 20 6d | 6f 64 65 29 0a 20 2a 0a |endian m|ode). *.|
|00003130| 20 2a 20 53 2e 4e 2e 42 | 72 6f 64 69 65 40 65 63 | * S.N.B|rodie@ec|
|00003140| 73 2e 73 6f 74 6f 6e 2e | 61 63 2e 75 6b 20 61 64 |s.soton.|ac.uk ad|
|00003150| 64 65 64 20 74 68 69 73 | 20 62 6c 6f 63 6b 20 66 |ded this| block f|
|00003160| 6f 72 20 52 49 53 43 20 | 4f 53 20 4e 65 74 4c 69 |or RISC |OS NetLi|
|00003170| 62 0a 20 2a 2f 0a 23 69 | 6e 63 6c 75 64 65 20 22 |b. */.#i|nclude "|
|00003180| 4e 65 74 4c 69 62 3a 73 | 79 73 2e 68 2e 74 79 70 |NetLib:s|ys.h.typ|
|00003190| 65 73 22 0a 23 64 65 66 | 69 6e 65 20 69 6e 74 31 |es".#def|ine int1|
|000031a0| 36 5f 74 09 09 73 68 6f | 72 74 0a 23 64 65 66 69 |6_t..sho|rt.#defi|
|000031b0| 6e 65 20 75 5f 69 6e 74 | 31 36 5f 74 09 75 6e 73 |ne u_int|16_t.uns|
|000031c0| 69 67 6e 65 64 20 73 68 | 6f 72 74 0a 23 64 65 66 |igned sh|ort.#def|
|000031d0| 69 6e 65 20 69 6e 74 33 | 32 5f 74 09 09 6c 6f 6e |ine int3|2_t..lon|
|000031e0| 67 0a 23 64 65 66 69 6e | 65 20 75 5f 69 6e 74 33 |g.#defin|e u_int3|
|000031f0| 32 5f 74 09 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |2_t.unsi|gned lon|
|00003200| 67 0a 23 69 66 6e 64 65 | 66 20 42 53 44 0a 23 64 |g.#ifnde|f BSD.#d|
|00003210| 65 66 69 6e 65 20 42 53 | 44 20 31 39 39 31 30 33 |efine BS|D 199103|
|00003220| 0a 23 65 6e 64 69 66 0a | 2f 2a 20 45 6e 64 20 53 |.#endif.|/* End S|
|00003230| 2e 4e 2e 42 2e 20 61 64 | 64 69 74 69 6f 6e 20 2a |.N.B. ad|dition *|
|00003240| 2f 0a 0a 2f 2a 0a 20 2a | 20 72 65 76 69 73 69 6f |/../*. *| revisio|
|00003250| 6e 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2e 20 20 |n inform|ation. |
|00003260| 74 68 69 73 20 69 73 20 | 74 68 65 20 72 65 6c 65 |this is |the rele|
|00003270| 61 73 65 20 64 61 74 65 | 20 69 6e 20 59 59 59 59 |ase date| in YYYY|
|00003280| 4d 4d 44 44 20 66 6f 72 | 6d 61 74 2e 0a 20 2a 20 |MMDD for|mat.. * |
|00003290| 69 74 20 63 61 6e 20 63 | 68 61 6e 67 65 20 65 76 |it can c|hange ev|
|000032a0| 65 72 79 20 64 61 79 20 | 73 6f 20 74 68 65 20 72 |ery day |so the r|
|000032b0| 69 67 68 74 20 74 68 69 | 6e 67 20 74 6f 20 64 6f |ight thi|ng to do|
|000032c0| 20 77 69 74 68 20 69 74 | 20 69 73 20 75 73 65 20 | with it| is use |
|000032d0| 69 74 0a 20 2a 20 69 6e | 20 70 72 65 70 72 6f 63 |it. * in| preproc|
|000032e0| 65 73 73 6f 72 20 63 6f | 6d 6d 61 6e 64 73 20 73 |essor co|mmands s|
|000032f0| 75 63 68 20 61 73 20 22 | 23 69 66 20 28 5f 5f 42 |uch as "|#if (__B|
|00003300| 49 4e 44 20 3e 20 31 39 | 39 33 31 31 30 34 29 22 |IND > 19|931104)"|
|00003310| 2e 20 20 64 6f 20 6e 6f | 74 0a 20 2a 20 63 6f 6d |. do no|t. * com|
|00003320| 70 61 72 65 20 66 6f 72 | 20 65 71 75 61 6c 69 74 |pare for| equalit|
|00003330| 79 3b 20 72 61 74 68 65 | 72 2c 20 75 73 65 20 69 |y; rathe|r, use i|
|00003340| 74 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 77 |t to det|ermine w|
|00003350| 68 65 74 68 65 72 20 79 | 6f 75 72 20 72 65 73 6f |hether y|our reso|
|00003360| 6c 76 65 72 0a 20 2a 20 | 69 73 20 6e 65 77 20 65 |lver. * |is new e|
|00003370| 6e 6f 75 67 68 20 74 6f | 20 63 6f 6e 74 61 69 6e |nough to| contain|
|00003380| 20 61 20 63 65 72 74 61 | 69 6e 20 66 65 61 74 75 | a certa|in featu|
|00003390| 72 65 2e 0a 20 2a 2f 0a | 0a 23 64 65 66 69 6e 65 |re.. */.|.#define|
|000033a0| 09 5f 5f 42 49 4e 44 09 | 09 31 39 39 35 30 36 32 |.__BIND.|.1995062|
|000033b0| 31 09 2f 2a 20 69 6e 74 | 65 72 66 61 63 65 20 76 |1./* int|erface v|
|000033c0| 65 72 73 69 6f 6e 20 73 | 74 61 6d 70 20 2a 2f 0a |ersion s|tamp */.|
|000033d0| 0a 2f 2a 0a 20 2a 20 44 | 65 66 69 6e 65 20 63 6f |./*. * D|efine co|
|000033e0| 6e 73 74 61 6e 74 73 20 | 62 61 73 65 64 20 6f 6e |nstants |based on|
|000033f0| 20 72 66 63 38 38 33 0a | 20 2a 2f 0a 23 64 65 66 | rfc883.| */.#def|
|00003400| 69 6e 65 20 50 41 43 4b | 45 54 53 5a 09 35 31 32 |ine PACK|ETSZ.512|
|00003410| 09 09 2f 2a 20 6d 61 78 | 69 6d 75 6d 20 70 61 63 |../* max|imum pac|
|00003420| 6b 65 74 20 73 69 7a 65 | 20 2a 2f 0a 23 64 65 66 |ket size| */.#def|
|00003430| 69 6e 65 20 4d 41 58 44 | 4e 41 4d 45 09 32 35 36 |ine MAXD|NAME.256|
|00003440| 09 09 2f 2a 20 6d 61 78 | 69 6d 75 6d 20 64 6f 6d |../* max|imum dom|
|00003450| 61 69 6e 20 6e 61 6d 65 | 20 2a 2f 0a 23 64 65 66 |ain name| */.#def|
|00003460| 69 6e 65 20 4d 41 58 43 | 44 4e 41 4d 45 09 32 35 |ine MAXC|DNAME.25|
|00003470| 35 09 09 2f 2a 20 6d 61 | 78 69 6d 75 6d 20 63 6f |5../* ma|ximum co|
|00003480| 6d 70 72 65 73 73 65 64 | 20 64 6f 6d 61 69 6e 20 |mpressed| domain |
|00003490| 6e 61 6d 65 20 2a 2f 0a | 23 64 65 66 69 6e 65 20 |name */.|#define |
|000034a0| 4d 41 58 4c 41 42 45 4c | 09 36 33 09 09 2f 2a 20 |MAXLABEL|.63../* |
|000034b0| 6d 61 78 69 6d 75 6d 20 | 6c 65 6e 67 74 68 20 6f |maximum |length o|
|000034c0| 66 20 64 6f 6d 61 69 6e | 20 6c 61 62 65 6c 20 2a |f domain| label *|
|000034d0| 2f 0a 23 64 65 66 69 6e | 65 09 48 46 49 58 45 44 |/.#defin|e.HFIXED|
|000034e0| 53 5a 09 31 32 09 09 2f | 2a 20 23 2f 62 79 74 65 |SZ.12../|* #/byte|
|000034f0| 73 20 6f 66 20 66 69 78 | 65 64 20 64 61 74 61 20 |s of fix|ed data |
|00003500| 69 6e 20 68 65 61 64 65 | 72 20 2a 2f 0a 23 64 65 |in heade|r */.#de|
|00003510| 66 69 6e 65 20 51 46 49 | 58 45 44 53 5a 09 34 09 |fine QFI|XEDSZ.4.|
|00003520| 09 2f 2a 20 23 2f 62 79 | 74 65 73 20 6f 66 20 66 |./* #/by|tes of f|
|00003530| 69 78 65 64 20 64 61 74 | 61 20 69 6e 20 71 75 65 |ixed dat|a in que|
|00003540| 72 79 20 2a 2f 0a 23 64 | 65 66 69 6e 65 20 52 52 |ry */.#d|efine RR|
|00003550| 46 49 58 45 44 53 5a 09 | 31 30 09 09 2f 2a 20 23 |FIXEDSZ.|10../* #|
|00003560| 2f 62 79 74 65 73 20 6f | 66 20 66 69 78 65 64 20 |/bytes o|f fixed |
|00003570| 64 61 74 61 20 69 6e 20 | 72 20 72 65 63 6f 72 64 |data in |r record|
|00003580| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 09 49 4e 54 33 | */.#def|ine.INT3|
|00003590| 32 53 5a 09 09 34 09 09 | 2f 2a 20 66 6f 72 20 73 |2SZ..4..|/* for s|
|000035a0| 79 73 74 65 6d 73 20 77 | 69 74 68 6f 75 74 20 33 |ystems w|ithout 3|
|000035b0| 32 2d 62 69 74 20 69 6e | 74 73 20 2a 2f 0a 23 64 |2-bit in|ts */.#d|
|000035c0| 65 66 69 6e 65 09 49 4e | 54 31 36 53 5a 09 09 32 |efine.IN|T16SZ..2|
|000035d0| 09 09 2f 2a 20 66 6f 72 | 20 73 79 73 74 65 6d 73 |../* for| systems|
|000035e0| 20 77 69 74 68 6f 75 74 | 20 31 36 2d 62 69 74 20 | without| 16-bit |
|000035f0| 69 6e 74 73 20 2a 2f 0a | 23 64 65 66 69 6e 65 09 |ints */.|#define.|
|00003600| 49 4e 41 44 44 52 53 5a | 09 34 09 09 2f 2a 20 66 |INADDRSZ|.4../* f|
|00003610| 6f 72 20 73 69 7a 65 6f | 66 28 73 74 72 75 63 74 |or sizeo|f(struct|
|00003620| 20 69 6e 61 64 64 72 29 | 20 21 3d 20 34 20 2a 2f | inaddr)| != 4 */|
|00003630| 0a 0a 2f 2a 0a 20 2a 20 | 49 6e 74 65 72 6e 65 74 |../*. * |Internet|
|00003640| 20 6e 61 6d 65 73 65 72 | 76 65 72 20 70 6f 72 74 | nameser|ver port|
|00003650| 20 6e 75 6d 62 65 72 0a | 20 2a 2f 0a 23 64 65 66 | number.| */.#def|
|00003660| 69 6e 65 20 4e 41 4d 45 | 53 45 52 56 45 52 5f 50 |ine NAME|SERVER_P|
|00003670| 4f 52 54 09 35 33 0a 0a | 2f 2a 0a 20 2a 20 43 75 |ORT.53..|/*. * Cu|
|00003680| 72 72 65 6e 74 6c 79 20 | 64 65 66 69 6e 65 64 20 |rrently |defined |
|00003690| 6f 70 63 6f 64 65 73 0a | 20 2a 2f 0a 23 64 65 66 |opcodes.| */.#def|
|000036a0| 69 6e 65 20 51 55 45 52 | 59 09 09 30 78 30 09 09 |ine QUER|Y..0x0..|
|000036b0| 2f 2a 20 73 74 61 6e 64 | 61 72 64 20 71 75 65 72 |/* stand|ard quer|
|000036c0| 79 20 2a 2f 0a 23 64 65 | 66 69 6e 65 20 49 51 55 |y */.#de|fine IQU|
|000036d0| 45 52 59 09 09 30 78 31 | 09 09 2f 2a 20 69 6e 76 |ERY..0x1|../* inv|
|000036e0| 65 72 73 65 20 71 75 65 | 72 79 20 2a 2f 0a 23 64 |erse que|ry */.#d|
|000036f0| 65 66 69 6e 65 20 53 54 | 41 54 55 53 09 09 30 78 |efine ST|ATUS..0x|
|00003700| 32 09 09 2f 2a 20 6e 61 | 6d 65 73 65 72 76 65 72 |2../* na|meserver|
|00003710| 20 73 74 61 74 75 73 20 | 71 75 65 72 79 20 2a 2f | status |query */|
|00003720| 0a 2f 2a 23 64 65 66 69 | 6e 65 20 78 78 78 09 09 |./*#defi|ne xxx..|
|00003730| 30 78 33 09 09 2a 2f 2f | 2a 20 30 78 33 20 72 65 |0x3..*//|* 0x3 re|
|00003740| 73 65 72 76 65 64 20 2a | 2f 0a 23 64 65 66 69 6e |served *|/.#defin|
|00003750| 65 09 4e 53 5f 4e 4f 54 | 49 46 59 5f 4f 50 09 30 |e.NS_NOT|IFY_OP.0|
|00003760| 78 34 09 09 2f 2a 20 6e | 6f 74 69 66 79 20 73 65 |x4../* n|otify se|
|00003770| 63 6f 6e 64 61 72 79 20 | 6f 66 20 53 4f 41 20 63 |condary |of SOA c|
|00003780| 68 61 6e 67 65 20 2a 2f | 0a 23 69 66 64 65 66 20 |hange */|.#ifdef |
|00003790| 41 4c 4c 4f 57 5f 55 50 | 44 41 54 45 53 0a 09 2f |ALLOW_UP|DATES../|
|000037a0| 2a 20 6e 6f 6e 20 73 74 | 61 6e 64 61 72 64 20 2d |* non st|andard -|
|000037b0| 20 73 75 70 70 6f 72 74 | 73 20 41 4c 4c 4f 57 5f | support|s ALLOW_|
|000037c0| 55 50 44 41 54 45 53 20 | 73 74 75 66 66 20 66 72 |UPDATES |stuff fr|
|000037d0| 6f 6d 20 4d 69 6b 65 20 | 53 63 68 77 61 72 74 7a |om Mike |Schwartz|
|000037e0| 20 2a 2f 0a 23 20 64 65 | 66 69 6e 65 20 55 50 44 | */.# de|fine UPD|
|000037f0| 41 54 45 41 09 30 78 39 | 09 09 2f 2a 20 61 64 64 |ATEA.0x9|../* add|
|00003800| 20 72 65 73 6f 75 72 63 | 65 20 72 65 63 6f 72 64 | resourc|e record|
|00003810| 20 2a 2f 0a 23 20 64 65 | 66 69 6e 65 20 55 50 44 | */.# de|fine UPD|
|00003820| 41 54 45 44 09 30 78 61 | 09 09 2f 2a 20 64 65 6c |ATED.0xa|../* del|
|00003830| 65 74 65 20 61 20 73 70 | 65 63 69 66 69 63 20 72 |ete a sp|ecific r|
|00003840| 65 73 6f 75 72 63 65 20 | 72 65 63 6f 72 64 20 2a |esource |record *|
|00003850| 2f 0a 23 20 64 65 66 69 | 6e 65 20 55 50 44 41 54 |/.# defi|ne UPDAT|
|00003860| 45 44 41 09 30 78 62 09 | 09 2f 2a 20 64 65 6c 65 |EDA.0xb.|./* dele|
|00003870| 74 65 20 61 6c 6c 20 6e | 61 6d 65 64 20 72 65 73 |te all n|amed res|
|00003880| 6f 75 72 63 65 20 72 65 | 63 6f 72 64 20 2a 2f 0a |ource re|cord */.|
|00003890| 23 20 64 65 66 69 6e 65 | 20 55 50 44 41 54 45 4d |# define| UPDATEM|
|000038a0| 09 30 78 63 09 09 2f 2a | 20 6d 6f 64 69 66 79 20 |.0xc../*| modify |
|000038b0| 61 20 73 70 65 63 69 66 | 69 63 20 72 65 73 6f 75 |a specif|ic resou|
|000038c0| 72 63 65 20 72 65 63 6f | 72 64 20 2a 2f 0a 23 20 |rce reco|rd */.# |
|000038d0| 64 65 66 69 6e 65 20 55 | 50 44 41 54 45 4d 41 09 |define U|PDATEMA.|
|000038e0| 30 78 64 09 09 2f 2a 20 | 6d 6f 64 69 66 79 20 61 |0xd../* |modify a|
|000038f0| 6c 6c 20 6e 61 6d 65 64 | 20 72 65 73 6f 75 72 63 |ll named| resourc|
|00003900| 65 20 72 65 63 6f 72 64 | 20 2a 2f 0a 23 20 64 65 |e record| */.# de|
|00003910| 66 69 6e 65 20 5a 4f 4e | 45 49 4e 49 54 09 30 78 |fine ZON|EINIT.0x|
|00003920| 65 09 09 2f 2a 20 69 6e | 69 74 69 61 6c 20 7a 6f |e../* in|itial zo|
|00003930| 6e 65 20 74 72 61 6e 73 | 66 65 72 20 2a 2f 0a 23 |ne trans|fer */.#|
|00003940| 20 64 65 66 69 6e 65 20 | 5a 4f 4e 45 52 45 46 09 | define |ZONEREF.|
|00003950| 30 78 66 09 09 2f 2a 20 | 69 6e 63 72 65 6d 65 6e |0xf../* |incremen|
|00003960| 74 61 6c 20 7a 6f 6e 65 | 20 72 65 66 65 72 65 73 |tal zone| referes|
|00003970| 68 20 2a 2f 0a 23 65 6e | 64 69 66 0a 0a 2f 2a 0a |h */.#en|dif../*.|
|00003980| 20 2a 20 43 75 72 72 65 | 6e 74 6c 79 20 64 65 66 | * Curre|ntly def|
|00003990| 69 6e 65 64 20 72 65 73 | 70 6f 6e 73 65 20 63 6f |ined res|ponse co|
|000039a0| 64 65 73 0a 20 2a 2f 0a | 23 64 65 66 69 6e 65 20 |des. */.|#define |
|000039b0| 4e 4f 45 52 52 4f 52 09 | 09 30 09 09 2f 2a 20 6e |NOERROR.|.0../* n|
|000039c0| 6f 20 65 72 72 6f 72 20 | 2a 2f 0a 23 64 65 66 69 |o error |*/.#defi|
|000039d0| 6e 65 20 46 4f 52 4d 45 | 52 52 09 09 31 09 09 2f |ne FORME|RR..1../|
|000039e0| 2a 20 66 6f 72 6d 61 74 | 20 65 72 72 6f 72 20 2a |* format| error *|
|000039f0| 2f 0a 23 64 65 66 69 6e | 65 20 53 45 52 56 46 41 |/.#defin|e SERVFA|
|00003a00| 49 4c 09 32 09 09 2f 2a | 20 73 65 72 76 65 72 20 |IL.2../*| server |
|00003a10| 66 61 69 6c 75 72 65 20 | 2a 2f 0a 23 64 65 66 69 |failure |*/.#defi|
|00003a20| 6e 65 20 4e 58 44 4f 4d | 41 49 4e 09 33 09 09 2f |ne NXDOM|AIN.3../|
|00003a30| 2a 20 6e 6f 6e 20 65 78 | 69 73 74 65 6e 74 20 64 |* non ex|istent d|
|00003a40| 6f 6d 61 69 6e 20 2a 2f | 0a 23 64 65 66 69 6e 65 |omain */|.#define|
|00003a50| 20 4e 4f 54 49 4d 50 09 | 09 34 09 09 2f 2a 20 6e | NOTIMP.|.4../* n|
|00003a60| 6f 74 20 69 6d 70 6c 65 | 6d 65 6e 74 65 64 20 2a |ot imple|mented *|
|00003a70| 2f 0a 23 64 65 66 69 6e | 65 20 52 45 46 55 53 45 |/.#defin|e REFUSE|
|00003a80| 44 09 09 35 09 09 2f 2a | 20 71 75 65 72 79 20 72 |D..5../*| query r|
|00003a90| 65 66 75 73 65 64 20 2a | 2f 0a 23 69 66 64 65 66 |efused *|/.#ifdef|
|00003aa0| 20 41 4c 4c 4f 57 5f 55 | 50 44 41 54 45 53 0a 09 | ALLOW_U|PDATES..|
|00003ab0| 2f 2a 20 6e 6f 6e 20 73 | 74 61 6e 64 61 72 64 20 |/* non s|tandard |
|00003ac0| 2a 2f 0a 23 20 64 65 66 | 69 6e 65 20 4e 4f 43 48 |*/.# def|ine NOCH|
|00003ad0| 41 4e 47 45 09 30 78 66 | 09 09 2f 2a 20 75 70 64 |ANGE.0xf|../* upd|
|00003ae0| 61 74 65 20 66 61 69 6c | 65 64 20 74 6f 20 63 68 |ate fail|ed to ch|
|00003af0| 61 6e 67 65 20 64 62 20 | 2a 2f 0a 23 65 6e 64 69 |ange db |*/.#endi|
|00003b00| 66 0a 0a 2f 2a 0a 20 2a | 20 54 79 70 65 20 76 61 |f../*. *| Type va|
|00003b10| 6c 75 65 73 20 66 6f 72 | 20 72 65 73 6f 75 72 63 |lues for| resourc|
|00003b20| 65 73 20 61 6e 64 20 71 | 75 65 72 69 65 73 0a 20 |es and q|ueries. |
|00003b30| 2a 2f 0a 23 64 65 66 69 | 6e 65 20 54 5f 41 09 09 |*/.#defi|ne T_A..|
|00003b40| 31 09 09 2f 2a 20 68 6f | 73 74 20 61 64 64 72 65 |1../* ho|st addre|
|00003b50| 73 73 20 2a 2f 0a 23 64 | 65 66 69 6e 65 20 54 5f |ss */.#d|efine T_|
|00003b60| 4e 53 09 09 32 09 09 2f | 2a 20 61 75 74 68 6f 72 |NS..2../|* author|
|00003b70| 69 74 61 74 69 76 65 20 | 73 65 72 76 65 72 20 2a |itative |server *|
|00003b80| 2f 0a 23 64 65 66 69 6e | 65 20 54 5f 4d 44 09 09 |/.#defin|e T_MD..|
|00003b90| 33 09 09 2f 2a 20 6d 61 | 69 6c 20 64 65 73 74 69 |3../* ma|il desti|
|00003ba0| 6e 61 74 69 6f 6e 20 2a | 2f 0a 23 64 65 66 69 6e |nation *|/.#defin|
|00003bb0| 65 20 54 5f 4d 46 09 09 | 34 09 09 2f 2a 20 6d 61 |e T_MF..|4../* ma|
|00003bc0| 69 6c 20 66 6f 72 77 61 | 72 64 65 72 20 2a 2f 0a |il forwa|rder */.|
|00003bd0| 23 64 65 66 69 6e 65 20 | 54 5f 43 4e 41 4d 45 09 |#define |T_CNAME.|
|00003be0| 09 35 09 09 2f 2a 20 63 | 61 6e 6f 6e 69 63 61 6c |.5../* c|anonical|
|00003bf0| 20 6e 61 6d 65 20 2a 2f | 0a 23 64 65 66 69 6e 65 | name */|.#define|
|00003c00| 20 54 5f 53 4f 41 09 09 | 36 09 09 2f 2a 20 73 74 | T_SOA..|6../* st|
|00003c10| 61 72 74 20 6f 66 20 61 | 75 74 68 6f 72 69 74 79 |art of a|uthority|
|00003c20| 20 7a 6f 6e 65 20 2a 2f | 0a 23 64 65 66 69 6e 65 | zone */|.#define|
|00003c30| 20 54 5f 4d 42 09 09 37 | 09 09 2f 2a 20 6d 61 69 | T_MB..7|../* mai|
|00003c40| 6c 62 6f 78 20 64 6f 6d | 61 69 6e 20 6e 61 6d 65 |lbox dom|ain name|
|00003c50| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 54 5f 4d 47 | */.#def|ine T_MG|
|00003c60| 09 09 38 09 09 2f 2a 20 | 6d 61 69 6c 20 67 72 6f |..8../* |mail gro|
|00003c70| 75 70 20 6d 65 6d 62 65 | 72 20 2a 2f 0a 23 64 65 |up membe|r */.#de|
|00003c80| 66 69 6e 65 20 54 5f 4d | 52 09 09 39 09 09 2f 2a |fine T_M|R..9../*|
|00003c90| 20 6d 61 69 6c 20 72 65 | 6e 61 6d 65 20 6e 61 6d | mail re|name nam|
|00003ca0| 65 20 2a 2f 0a 23 64 65 | 66 69 6e 65 20 54 5f 4e |e */.#de|fine T_N|
|00003cb0| 55 4c 4c 09 09 31 30 09 | 09 2f 2a 20 6e 75 6c 6c |ULL..10.|./* null|
|00003cc0| 20 72 65 73 6f 75 72 63 | 65 20 72 65 63 6f 72 64 | resourc|e record|
|00003cd0| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 54 5f 57 4b | */.#def|ine T_WK|
|00003ce0| 53 09 09 31 31 09 09 2f | 2a 20 77 65 6c 6c 20 6b |S..11../|* well k|
|00003cf0| 6e 6f 77 6e 20 73 65 72 | 76 69 63 65 20 2a 2f 0a |nown ser|vice */.|
|00003d00| 23 64 65 66 69 6e 65 20 | 54 5f 50 54 52 09 09 31 |#define |T_PTR..1|
|00003d10| 32 09 09 2f 2a 20 64 6f | 6d 61 69 6e 20 6e 61 6d |2../* do|main nam|
|00003d20| 65 20 70 6f 69 6e 74 65 | 72 20 2a 2f 0a 23 64 65 |e pointe|r */.#de|
|00003d30| 66 69 6e 65 20 54 5f 48 | 49 4e 46 4f 09 09 31 33 |fine T_H|INFO..13|
|00003d40| 09 09 2f 2a 20 68 6f 73 | 74 20 69 6e 66 6f 72 6d |../* hos|t inform|
|00003d50| 61 74 69 6f 6e 20 2a 2f | 0a 23 64 65 66 69 6e 65 |ation */|.#define|
|00003d60| 20 54 5f 4d 49 4e 46 4f | 09 09 31 34 09 09 2f 2a | T_MINFO|..14../*|
|00003d70| 20 6d 61 69 6c 62 6f 78 | 20 69 6e 66 6f 72 6d 61 | mailbox| informa|
|00003d80| 74 69 6f 6e 20 2a 2f 0a | 23 64 65 66 69 6e 65 20 |tion */.|#define |
|00003d90| 54 5f 4d 58 09 09 31 35 | 09 09 2f 2a 20 6d 61 69 |T_MX..15|../* mai|
|00003da0| 6c 20 72 6f 75 74 69 6e | 67 20 69 6e 66 6f 72 6d |l routin|g inform|
|00003db0| 61 74 69 6f 6e 20 2a 2f | 0a 23 64 65 66 69 6e 65 |ation */|.#define|
|00003dc0| 20 54 5f 54 58 54 09 09 | 31 36 09 09 2f 2a 20 74 | T_TXT..|16../* t|
|00003dd0| 65 78 74 20 73 74 72 69 | 6e 67 73 20 2a 2f 0a 23 |ext stri|ngs */.#|
|00003de0| 64 65 66 69 6e 65 09 54 | 5f 52 50 09 09 31 37 09 |define.T|_RP..17.|
|00003df0| 09 2f 2a 20 72 65 73 70 | 6f 6e 73 69 62 6c 65 20 |./* resp|onsible |
|00003e00| 70 65 72 73 6f 6e 20 2a | 2f 0a 23 64 65 66 69 6e |person *|/.#defin|
|00003e10| 65 20 54 5f 41 46 53 44 | 42 09 09 31 38 09 09 2f |e T_AFSD|B..18../|
|00003e20| 2a 20 41 46 53 20 63 65 | 6c 6c 20 64 61 74 61 62 |* AFS ce|ll datab|
|00003e30| 61 73 65 20 2a 2f 0a 23 | 64 65 66 69 6e 65 20 54 |ase */.#|define T|
|00003e40| 5f 58 32 35 09 09 31 39 | 09 09 2f 2a 20 58 5f 32 |_X25..19|../* X_2|
|00003e50| 35 20 63 61 6c 6c 69 6e | 67 20 61 64 64 72 65 73 |5 callin|g addres|
|00003e60| 73 20 2a 2f 0a 23 64 65 | 66 69 6e 65 20 54 5f 49 |s */.#de|fine T_I|
|00003e70| 53 44 4e 09 09 32 30 09 | 09 2f 2a 20 49 53 44 4e |SDN..20.|./* ISDN|
|00003e80| 20 63 61 6c 6c 69 6e 67 | 20 61 64 64 72 65 73 73 | calling| address|
|00003e90| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 54 5f 52 54 | */.#def|ine T_RT|
|00003ea0| 09 09 32 31 09 09 2f 2a | 20 72 6f 75 74 65 72 20 |..21../*| router |
|00003eb0| 2a 2f 0a 23 64 65 66 69 | 6e 65 20 54 5f 4e 53 41 |*/.#defi|ne T_NSA|
|00003ec0| 50 09 09 32 32 09 09 2f | 2a 20 4e 53 41 50 20 61 |P..22../|* NSAP a|
|00003ed0| 64 64 72 65 73 73 20 2a | 2f 0a 23 64 65 66 69 6e |ddress *|/.#defin|
|00003ee0| 65 20 54 5f 4e 53 41 50 | 5f 50 54 52 09 32 33 09 |e T_NSAP|_PTR.23.|
|00003ef0| 09 2f 2a 20 72 65 76 65 | 72 73 65 20 4e 53 41 50 |./* reve|rse NSAP|
|00003f00| 20 6c 6f 6f 6b 75 70 20 | 28 64 65 70 72 65 63 61 | lookup |(depreca|
|00003f10| 74 65 64 29 20 2a 2f 0a | 23 64 65 66 69 6e 65 09 |ted) */.|#define.|
|00003f20| 54 5f 53 49 47 09 09 32 | 34 09 09 2f 2a 20 73 65 |T_SIG..2|4../* se|
|00003f30| 63 75 72 69 74 79 20 73 | 69 67 6e 61 74 75 72 65 |curity s|ignature|
|00003f40| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 09 54 5f 4b 45 | */.#def|ine.T_KE|
|00003f50| 59 09 09 32 35 09 09 2f | 2a 20 73 65 63 75 72 69 |Y..25../|* securi|
|00003f60| 74 79 20 6b 65 79 20 2a | 2f 0a 23 64 65 66 69 6e |ty key *|/.#defin|
|00003f70| 65 09 54 5f 50 58 09 09 | 32 36 09 09 2f 2a 20 58 |e.T_PX..|26../* X|
|00003f80| 2e 34 30 30 20 6d 61 69 | 6c 20 6d 61 70 70 69 6e |.400 mai|l mappin|
|00003f90| 67 20 2a 2f 0a 23 64 65 | 66 69 6e 65 09 54 5f 47 |g */.#de|fine.T_G|
|00003fa0| 50 4f 53 09 09 32 37 09 | 09 2f 2a 20 67 65 6f 67 |POS..27.|./* geog|
|00003fb0| 72 61 70 68 69 63 61 6c | 20 70 6f 73 69 74 69 6f |raphical| positio|
|00003fc0| 6e 20 28 77 69 74 68 64 | 72 61 77 6e 29 20 2a 2f |n (withd|rawn) */|
|00003fd0| 0a 23 64 65 66 69 6e 65 | 09 54 5f 41 41 41 41 09 |.#define|.T_AAAA.|
|00003fe0| 09 32 38 09 09 2f 2a 20 | 49 50 36 20 41 64 64 72 |.28../* |IP6 Addr|
|00003ff0| 65 73 73 20 2a 2f 0a 23 | 64 65 66 69 6e 65 09 54 |ess */.#|define.T|
|00004000| 5f 4c 4f 43 09 09 32 39 | 09 09 2f 2a 20 4c 6f 63 |_LOC..29|../* Loc|
|00004010| 61 74 69 6f 6e 20 49 6e | 66 6f 72 6d 61 74 69 6f |ation In|formatio|
|00004020| 6e 20 2a 2f 0a 09 2f 2a | 20 6e 6f 6e 20 73 74 61 |n */../*| non sta|
|00004030| 6e 64 61 72 64 20 2a 2f | 0a 23 64 65 66 69 6e 65 |ndard */|.#define|
|00004040| 20 54 5f 55 49 4e 46 4f | 09 09 31 30 30 09 09 2f | T_UINFO|..100../|
|00004050| 2a 20 75 73 65 72 20 28 | 66 69 6e 67 65 72 29 20 |* user (|finger) |
|00004060| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 2a 2f 0a 23 |informat|ion */.#|
|00004070| 64 65 66 69 6e 65 20 54 | 5f 55 49 44 09 09 31 30 |define T|_UID..10|
|00004080| 31 09 09 2f 2a 20 75 73 | 65 72 20 49 44 20 2a 2f |1../* us|er ID */|
|00004090| 0a 23 64 65 66 69 6e 65 | 20 54 5f 47 49 44 09 09 |.#define| T_GID..|
|000040a0| 31 30 32 09 09 2f 2a 20 | 67 72 6f 75 70 20 49 44 |102../* |group ID|
|000040b0| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 54 5f 55 4e | */.#def|ine T_UN|
|000040c0| 53 50 45 43 09 31 30 33 | 09 09 2f 2a 20 55 6e 73 |SPEC.103|../* Uns|
|000040d0| 70 65 63 69 66 69 65 64 | 20 66 6f 72 6d 61 74 20 |pecified| format |
|000040e0| 28 62 69 6e 61 72 79 20 | 64 61 74 61 29 20 2a 2f |(binary |data) */|
|000040f0| 0a 09 2f 2a 20 51 75 65 | 72 79 20 74 79 70 65 20 |../* Que|ry type |
|00004100| 76 61 6c 75 65 73 20 77 | 68 69 63 68 20 64 6f 20 |values w|hich do |
|00004110| 6e 6f 74 20 61 70 70 65 | 61 72 20 69 6e 20 72 65 |not appe|ar in re|
|00004120| 73 6f 75 72 63 65 20 72 | 65 63 6f 72 64 73 20 2a |source r|ecords *|
|00004130| 2f 0a 23 64 65 66 69 6e | 65 20 54 5f 41 58 46 52 |/.#defin|e T_AXFR|
|00004140| 09 09 32 35 32 09 09 2f | 2a 20 74 72 61 6e 73 66 |..252../|* transf|
|00004150| 65 72 20 7a 6f 6e 65 20 | 6f 66 20 61 75 74 68 6f |er zone |of autho|
|00004160| 72 69 74 79 20 2a 2f 0a | 23 64 65 66 69 6e 65 20 |rity */.|#define |
|00004170| 54 5f 4d 41 49 4c 42 09 | 09 32 35 33 09 09 2f 2a |T_MAILB.|.253../*|
|00004180| 20 74 72 61 6e 73 66 65 | 72 20 6d 61 69 6c 62 6f | transfe|r mailbo|
|00004190| 78 20 72 65 63 6f 72 64 | 73 20 2a 2f 0a 23 64 65 |x record|s */.#de|
|000041a0| 66 69 6e 65 20 54 5f 4d | 41 49 4c 41 09 09 32 35 |fine T_M|AILA..25|
|000041b0| 34 09 09 2f 2a 20 74 72 | 61 6e 73 66 65 72 20 6d |4../* tr|ansfer m|
|000041c0| 61 69 6c 20 61 67 65 6e | 74 20 72 65 63 6f 72 64 |ail agen|t record|
|000041d0| 73 20 2a 2f 0a 23 64 65 | 66 69 6e 65 20 54 5f 41 |s */.#de|fine T_A|
|000041e0| 4e 59 09 09 32 35 35 09 | 09 2f 2a 20 77 69 6c 64 |NY..255.|./* wild|
|000041f0| 63 61 72 64 20 6d 61 74 | 63 68 20 2a 2f 0a 0a 2f |card mat|ch */../|
|00004200| 2a 0a 20 2a 20 56 61 6c | 75 65 73 20 66 6f 72 20 |*. * Val|ues for |
|00004210| 63 6c 61 73 73 20 66 69 | 65 6c 64 0a 20 2a 2f 0a |class fi|eld. */.|
|00004220| 0a 23 64 65 66 69 6e 65 | 20 43 5f 49 4e 09 09 31 |.#define| C_IN..1|
|00004230| 09 09 2f 2a 20 74 68 65 | 20 61 72 70 61 20 69 6e |../* the| arpa in|
|00004240| 74 65 72 6e 65 74 20 2a | 2f 0a 23 64 65 66 69 6e |ternet *|/.#defin|
|00004250| 65 20 43 5f 43 48 41 4f | 53 09 09 33 09 09 2f 2a |e C_CHAO|S..3../*|
|00004260| 20 66 6f 72 20 63 68 61 | 6f 73 20 6e 65 74 20 28 | for cha|os net (|
|00004270| 4d 49 54 29 20 2a 2f 0a | 23 64 65 66 69 6e 65 20 |MIT) */.|#define |
|00004280| 43 5f 48 53 09 09 34 09 | 09 2f 2a 20 66 6f 72 20 |C_HS..4.|./* for |
|00004290| 48 65 73 69 6f 64 20 6e | 61 6d 65 20 73 65 72 76 |Hesiod n|ame serv|
|000042a0| 65 72 20 28 4d 49 54 29 | 20 28 58 58 58 29 20 2a |er (MIT)| (XXX) *|
|000042b0| 2f 0a 09 2f 2a 20 51 75 | 65 72 79 20 63 6c 61 73 |/../* Qu|ery clas|
|000042c0| 73 20 76 61 6c 75 65 73 | 20 77 68 69 63 68 20 64 |s values| which d|
|000042d0| 6f 20 6e 6f 74 20 61 70 | 70 65 61 72 20 69 6e 20 |o not ap|pear in |
|000042e0| 72 65 73 6f 75 72 63 65 | 20 72 65 63 6f 72 64 73 |resource| records|
|000042f0| 20 2a 2f 0a 23 64 65 66 | 69 6e 65 20 43 5f 41 4e | */.#def|ine C_AN|
|00004300| 59 09 09 32 35 35 09 09 | 2f 2a 20 77 69 6c 64 63 |Y..255..|/* wildc|
|00004310| 61 72 64 20 6d 61 74 63 | 68 20 2a 2f 0a 0a 2f 2a |ard matc|h */../*|
|00004320| 0a 20 2a 20 53 74 61 74 | 75 73 20 72 65 74 75 72 |. * Stat|us retur|
|00004330| 6e 20 63 6f 64 65 73 20 | 66 6f 72 20 54 5f 55 4e |n codes |for T_UN|
|00004340| 53 50 45 43 20 63 6f 6e | 76 65 72 73 69 6f 6e 20 |SPEC con|version |
|00004350| 72 6f 75 74 69 6e 65 73 | 0a 20 2a 2f 0a 23 64 65 |routines|. */.#de|
|00004360| 66 69 6e 65 20 43 4f 4e | 56 5f 53 55 43 43 45 53 |fine CON|V_SUCCES|
|00004370| 53 09 30 0a 23 64 65 66 | 69 6e 65 20 43 4f 4e 56 |S.0.#def|ine CONV|
|00004380| 5f 4f 56 45 52 46 4c 4f | 57 09 28 2d 31 29 0a 23 |_OVERFLO|W.(-1).#|
|00004390| 64 65 66 69 6e 65 20 43 | 4f 4e 56 5f 42 41 44 46 |define C|ONV_BADF|
|000043a0| 4d 54 09 28 2d 32 29 0a | 23 64 65 66 69 6e 65 20 |MT.(-2).|#define |
|000043b0| 43 4f 4e 56 5f 42 41 44 | 43 4b 53 55 4d 09 28 2d |CONV_BAD|CKSUM.(-|
|000043c0| 33 29 0a 23 64 65 66 69 | 6e 65 20 43 4f 4e 56 5f |3).#defi|ne CONV_|
|000043d0| 42 41 44 42 55 46 4c 45 | 4e 09 28 2d 34 29 0a 0a |BADBUFLE|N.(-4)..|
|000043e0| 23 69 66 6e 64 65 66 20 | 42 59 54 45 5f 4f 52 44 |#ifndef |BYTE_ORD|
|000043f0| 45 52 0a 23 69 66 20 28 | 42 53 44 20 3e 3d 20 31 |ER.#if (|BSD >= 1|
|00004400| 39 39 31 30 33 29 20 26 | 26 20 21 64 65 66 69 6e |99103) &|& !defin|
|00004410| 65 64 28 5f 5f 61 72 6d | 29 0a 23 20 69 6e 63 6c |ed(__arm|).# incl|
|00004420| 75 64 65 20 3c 6d 61 63 | 68 69 6e 65 2f 65 6e 64 |ude <mac|hine/end|
|00004430| 69 61 6e 2e 68 3e 0a 23 | 65 6c 73 65 0a 23 69 66 |ian.h>.#|else.#if|
|00004440| 64 65 66 20 6c 69 6e 75 | 78 0a 23 20 69 6e 63 6c |def linu|x.# incl|
|00004450| 75 64 65 20 3c 65 6e 64 | 69 61 6e 2e 68 3e 0a 23 |ude <end|ian.h>.#|
|00004460| 65 6c 73 65 0a 23 64 65 | 66 69 6e 65 09 4c 49 54 |else.#de|fine.LIT|
|00004470| 54 4c 45 5f 45 4e 44 49 | 41 4e 09 31 32 33 34 09 |TLE_ENDI|AN.1234.|
|00004480| 2f 2a 20 6c 65 61 73 74 | 2d 73 69 67 6e 69 66 69 |/* least|-signifi|
|00004490| 63 61 6e 74 20 62 79 74 | 65 20 66 69 72 73 74 20 |cant byt|e first |
|000044a0| 28 76 61 78 2c 20 70 63 | 29 20 2a 2f 0a 23 64 65 |(vax, pc|) */.#de|
|000044b0| 66 69 6e 65 09 42 49 47 | 5f 45 4e 44 49 41 4e 09 |fine.BIG|_ENDIAN.|
|000044c0| 34 33 32 31 09 2f 2a 20 | 6d 6f 73 74 2d 73 69 67 |4321./* |most-sig|
|000044d0| 6e 69 66 69 63 61 6e 74 | 20 62 79 74 65 20 66 69 |nificant| byte fi|
|000044e0| 72 73 74 20 28 49 42 4d | 2c 20 6e 65 74 29 20 2a |rst (IBM|, net) *|
|000044f0| 2f 0a 23 64 65 66 69 6e | 65 09 50 44 50 5f 45 4e |/.#defin|e.PDP_EN|
|00004500| 44 49 41 4e 09 33 34 31 | 32 09 2f 2a 20 4c 53 42 |DIAN.341|2./* LSB|
|00004510| 20 66 69 72 73 74 20 69 | 6e 20 77 6f 72 64 2c 20 | first i|n word, |
|00004520| 4d 53 57 20 66 69 72 73 | 74 20 69 6e 20 6c 6f 6e |MSW firs|t in lon|
|00004530| 67 20 28 70 64 70 29 2a | 2f 0a 0a 0a 23 69 66 20 |g (pdp)*|/...#if |
|00004540| 64 65 66 69 6e 65 64 28 | 76 61 78 29 20 7c 7c 20 |defined(|vax) || |
|00004550| 64 65 66 69 6e 65 64 28 | 6e 73 33 32 30 30 30 29 |defined(|ns32000)|
|00004560| 20 7c 7c 20 64 65 66 69 | 6e 65 64 28 73 75 6e 33 | || defi|ned(sun3|
|00004570| 38 36 29 20 7c 7c 20 64 | 65 66 69 6e 65 64 28 69 |86) || d|efined(i|
|00004580| 33 38 36 29 20 7c 7c 20 | 5c 0a 20 20 20 20 64 65 |386) || |\. de|
|00004590| 66 69 6e 65 64 28 4d 49 | 50 53 45 4c 29 20 7c 7c |fined(MI|PSEL) |||
|000045a0| 20 64 65 66 69 6e 65 64 | 28 5f 4d 49 50 53 45 4c | defined|(_MIPSEL|
|000045b0| 29 20 7c 7c 20 64 65 66 | 69 6e 65 64 28 42 49 54 |) || def|ined(BIT|
|000045c0| 5f 5a 45 52 4f 5f 4f 4e | 5f 52 49 47 48 54 29 20 |_ZERO_ON|_RIGHT) |
|000045d0| 7c 7c 20 5c 0a 20 20 20 | 20 64 65 66 69 6e 65 64 ||| \. | defined|
|000045e0| 28 5f 5f 61 6c 70 68 61 | 5f 5f 29 20 7c 7c 20 64 |(__alpha|__) || d|
|000045f0| 65 66 69 6e 65 64 28 5f | 5f 61 6c 70 68 61 29 20 |efined(_|_alpha) |
|00004600| 7c 7c 20 64 65 66 69 6e | 65 64 28 5f 5f 61 72 6d ||| defin|ed(__arm|
|00004610| 29 0a 23 64 65 66 69 6e | 65 20 42 59 54 45 5f 4f |).#defin|e BYTE_O|
|00004620| 52 44 45 52 09 4c 49 54 | 54 4c 45 5f 45 4e 44 49 |RDER.LIT|TLE_ENDI|
|00004630| 41 4e 0a 23 65 6e 64 69 | 66 0a 0a 23 69 66 20 64 |AN.#endi|f..#if d|
|00004640| 65 66 69 6e 65 64 28 73 | 65 6c 29 20 7c 7c 20 64 |efined(s|el) || d|
|00004650| 65 66 69 6e 65 64 28 70 | 79 72 29 20 7c 7c 20 64 |efined(p|yr) || d|
|00004660| 65 66 69 6e 65 64 28 6d | 63 36 38 30 30 30 29 20 |efined(m|c68000) |
|00004670| 7c 7c 20 64 65 66 69 6e | 65 64 28 73 70 61 72 63 ||| defin|ed(sparc|
|00004680| 29 20 7c 7c 20 5c 0a 20 | 20 20 20 64 65 66 69 6e |) || \. | defin|
|00004690| 65 64 28 69 73 36 38 6b | 29 20 7c 7c 20 64 65 66 |ed(is68k|) || def|
|000046a0| 69 6e 65 64 28 74 61 68 | 6f 65 29 20 7c 7c 20 64 |ined(tah|oe) || d|
|000046b0| 65 66 69 6e 65 64 28 69 | 62 6d 30 33 32 29 20 7c |efined(i|bm032) ||
|000046c0| 7c 20 64 65 66 69 6e 65 | 64 28 69 62 6d 33 37 30 || define|d(ibm370|
|000046d0| 29 20 7c 7c 20 5c 0a 20 | 20 20 20 64 65 66 69 6e |) || \. | defin|
|000046e0| 65 64 28 4d 49 50 53 45 | 42 29 20 7c 7c 20 64 65 |ed(MIPSE|B) || de|
|000046f0| 66 69 6e 65 64 28 5f 4d | 49 50 53 45 42 29 20 7c |fined(_M|IPSEB) ||
|00004700| 7c 20 64 65 66 69 6e 65 | 64 28 5f 49 42 4d 52 32 || define|d(_IBMR2|
|00004710| 29 20 7c 7c 20 64 65 66 | 69 6e 65 64 28 44 47 55 |) || def|ined(DGU|
|00004720| 58 29 20 7c 7c 5c 0a 20 | 20 20 20 64 65 66 69 6e |X) ||\. | defin|
|00004730| 65 64 28 61 70 6f 6c 6c | 6f 29 20 7c 7c 20 64 65 |ed(apoll|o) || de|
|00004740| 66 69 6e 65 64 28 5f 5f | 63 6f 6e 76 65 78 5f 5f |fined(__|convex__|
|00004750| 29 20 7c 7c 20 64 65 66 | 69 6e 65 64 28 5f 43 52 |) || def|ined(_CR|
|00004760| 41 59 29 20 7c 7c 20 5c | 0a 20 20 20 20 64 65 66 |AY) || \|. def|
|00004770| 69 6e 65 64 28 5f 5f 68 | 70 70 61 29 20 7c 7c 20 |ined(__h|ppa) || |
|00004780| 64 65 66 69 6e 65 64 28 | 5f 5f 68 70 39 30 30 30 |defined(|__hp9000|
|00004790| 29 20 7c 7c 20 5c 0a 20 | 20 20 20 64 65 66 69 6e |) || \. | defin|
|000047a0| 65 64 28 5f 5f 68 70 39 | 30 30 30 73 33 30 30 29 |ed(__hp9|000s300)|
|000047b0| 20 7c 7c 20 64 65 66 69 | 6e 65 64 28 5f 5f 68 70 | || defi|ned(__hp|
|000047c0| 39 30 30 30 73 37 30 30 | 29 20 7c 7c 20 5c 0a 20 |9000s700|) || \. |
|000047d0| 20 20 20 64 65 66 69 6e | 65 64 20 28 42 49 54 5f | defin|ed (BIT_|
|000047e0| 5a 45 52 4f 5f 4f 4e 5f | 4c 45 46 54 29 20 7c 7c |ZERO_ON_|LEFT) |||
|000047f0| 20 64 65 66 69 6e 65 64 | 28 6d 36 38 6b 29 0a 23 | defined|(m68k).#|
|00004800| 64 65 66 69 6e 65 20 42 | 59 54 45 5f 4f 52 44 45 |define B|YTE_ORDE|
|00004810| 52 09 42 49 47 5f 45 4e | 44 49 41 4e 0a 23 65 6e |R.BIG_EN|DIAN.#en|
|00004820| 64 69 66 0a 23 65 6e 64 | 69 66 20 2f 2a 20 6c 69 |dif.#end|if /* li|
|00004830| 6e 75 78 20 2a 2f 0a 23 | 65 6e 64 69 66 20 2f 2a |nux */.#|endif /*|
|00004840| 20 42 53 44 20 2a 2f 0a | 23 65 6e 64 69 66 20 2f | BSD */.|#endif /|
|00004850| 2a 20 42 59 54 45 5f 4f | 52 44 45 52 20 2a 2f 0a |* BYTE_O|RDER */.|
|00004860| 0a 23 69 66 20 21 64 65 | 66 69 6e 65 64 28 42 59 |.#if !de|fined(BY|
|00004870| 54 45 5f 4f 52 44 45 52 | 29 20 7c 7c 20 5c 0a 20 |TE_ORDER|) || \. |
|00004880| 20 20 20 28 42 59 54 45 | 5f 4f 52 44 45 52 20 21 | (BYTE|_ORDER !|
|00004890| 3d 20 42 49 47 5f 45 4e | 44 49 41 4e 20 26 26 20 |= BIG_EN|DIAN && |
|000048a0| 42 59 54 45 5f 4f 52 44 | 45 52 20 21 3d 20 4c 49 |BYTE_ORD|ER != LI|
|000048b0| 54 54 4c 45 5f 45 4e 44 | 49 41 4e 20 26 26 20 5c |TTLE_END|IAN && \|
|000048c0| 0a 20 20 20 20 42 59 54 | 45 5f 4f 52 44 45 52 20 |. BYT|E_ORDER |
|000048d0| 21 3d 20 50 44 50 5f 45 | 4e 44 49 41 4e 29 0a 09 |!= PDP_E|NDIAN)..|
|000048e0| 2f 2a 20 79 6f 75 20 6d | 75 73 74 20 64 65 74 65 |/* you m|ust dete|
|000048f0| 72 6d 69 6e 65 20 77 68 | 61 74 20 74 68 65 20 63 |rmine wh|at the c|
|00004900| 6f 72 72 65 63 74 20 62 | 69 74 20 6f 72 64 65 72 |orrect b|it order|
|00004910| 20 69 73 20 66 6f 72 0a | 09 20 2a 20 79 6f 75 72 | is for.|. * your|
|00004920| 20 63 6f 6d 70 69 6c 65 | 72 20 2d 20 74 68 65 20 | compile|r - the |
|00004930| 6e 65 78 74 20 6c 69 6e | 65 20 69 73 20 61 6e 20 |next lin|e is an |
|00004940| 69 6e 74 65 6e 74 69 6f | 6e 61 6c 20 65 72 72 6f |intentio|nal erro|
|00004950| 72 0a 09 20 2a 20 77 68 | 69 63 68 20 77 69 6c 6c |r.. * wh|ich will|
|00004960| 20 66 6f 72 63 65 20 79 | 6f 75 72 20 63 6f 6d 70 | force y|our comp|
|00004970| 69 6c 65 73 20 74 6f 20 | 62 6f 6d 62 20 75 6e 74 |iles to |bomb unt|
|00004980| 69 6c 20 79 6f 75 20 66 | 69 78 0a 09 20 2a 20 74 |il you f|ix.. * t|
|00004990| 68 65 20 61 62 6f 76 65 | 20 6d 61 63 72 6f 73 2e |he above| macros.|
|000049a0| 0a 09 20 2a 2f 0a 20 20 | 65 72 72 6f 72 20 22 55 |.. */. |error "U|
|000049b0| 6e 64 65 66 69 6e 65 64 | 20 6f 72 20 69 6e 76 61 |ndefined| or inva|
|000049c0| 6c 69 64 20 42 59 54 45 | 5f 4f 52 44 45 52 22 3b |lid BYTE|_ORDER";|
|000049d0| 0a 23 65 6e 64 69 66 0a | 0a 2f 2a 0a 20 2a 20 53 |.#endif.|./*. * S|
|000049e0| 74 72 75 63 74 75 72 65 | 20 66 6f 72 20 71 75 65 |tructure| for que|
|000049f0| 72 79 20 68 65 61 64 65 | 72 2e 20 20 54 68 65 20 |ry heade|r. The |
|00004a00| 6f 72 64 65 72 20 6f 66 | 20 74 68 65 20 66 69 65 |order of| the fie|
|00004a10| 6c 64 73 20 69 73 20 6d | 61 63 68 69 6e 65 2d 20 |lds is m|achine- |
|00004a20| 61 6e 64 0a 20 2a 20 63 | 6f 6d 70 69 6c 65 72 2d |and. * c|ompiler-|
|00004a30| 64 65 70 65 6e 64 65 6e | 74 2c 20 64 65 70 65 6e |dependen|t, depen|
|00004a40| 64 69 6e 67 20 6f 6e 20 | 74 68 65 20 62 79 74 65 |ding on |the byte|
|00004a50| 2f 62 69 74 20 6f 72 64 | 65 72 20 61 6e 64 20 74 |/bit ord|er and t|
|00004a60| 68 65 20 6c 61 79 6f 75 | 74 0a 20 2a 20 6f 66 20 |he layou|t. * of |
|00004a70| 62 69 74 20 66 69 65 6c | 64 73 2e 20 20 57 65 20 |bit fiel|ds. We |
|00004a80| 75 73 65 20 62 69 74 20 | 66 69 65 6c 64 73 20 6f |use bit |fields o|
|00004a90| 6e 6c 79 20 69 6e 20 69 | 6e 74 20 76 61 72 69 61 |nly in i|nt varia|
|00004aa0| 62 6c 65 73 2c 20 61 73 | 20 74 68 69 73 0a 20 2a |bles, as| this. *|
|00004ab0| 20 69 73 20 61 6c 6c 20 | 41 4e 53 49 20 72 65 71 | is all |ANSI req|
|00004ac0| 75 69 72 65 73 2e 20 20 | 54 68 69 73 20 72 65 71 |uires. |This req|
|00004ad0| 75 69 72 65 73 20 61 20 | 73 6f 6d 65 77 68 61 74 |uires a |somewhat|
|00004ae0| 20 63 6f 6e 66 75 73 69 | 6e 67 20 72 65 61 72 72 | confusi|ng rearr|
|00004af0| 61 6e 67 65 6d 65 6e 74 | 2e 0a 20 2a 2f 0a 0a 74 |angement|.. */..t|
|00004b00| 79 70 65 64 65 66 20 73 | 74 72 75 63 74 20 7b 0a |ypedef s|truct {.|
|00004b10| 09 75 6e 73 69 67 6e 65 | 64 09 69 64 20 3a 31 36 |.unsigne|d.id :16|
|00004b20| 3b 09 09 2f 2a 20 71 75 | 65 72 79 20 69 64 65 6e |;../* qu|ery iden|
|00004b30| 74 69 66 69 63 61 74 69 | 6f 6e 20 6e 75 6d 62 65 |tificati|on numbe|
|00004b40| 72 20 2a 2f 0a 23 69 66 | 20 42 59 54 45 5f 4f 52 |r */.#if| BYTE_OR|
|00004b50| 44 45 52 20 3d 3d 20 42 | 49 47 5f 45 4e 44 49 41 |DER == B|IG_ENDIA|
|00004b60| 4e 0a 09 09 09 2f 2a 20 | 66 69 65 6c 64 73 20 69 |N..../* |fields i|
|00004b70| 6e 20 74 68 69 72 64 20 | 62 79 74 65 20 2a 2f 0a |n third |byte */.|
|00004b80| 09 75 6e 73 69 67 6e 65 | 64 09 71 72 3a 20 31 3b |.unsigne|d.qr: 1;|
|00004b90| 09 09 2f 2a 20 72 65 73 | 70 6f 6e 73 65 20 66 6c |../* res|ponse fl|
|00004ba0| 61 67 20 2a 2f 0a 09 75 | 6e 73 69 67 6e 65 64 09 |ag */..u|nsigned.|
|00004bb0| 6f 70 63 6f 64 65 3a 20 | 34 3b 09 2f 2a 20 70 75 |opcode: |4;./* pu|
|00004bc0| 72 70 6f 73 65 20 6f 66 | 20 6d 65 73 73 61 67 65 |rpose of| message|
|00004bd0| 20 2a 2f 0a 09 75 6e 73 | 69 67 6e 65 64 09 61 61 | */..uns|igned.aa|
|00004be0| 3a 20 31 3b 09 09 2f 2a | 20 61 75 74 68 6f 72 69 |: 1;../*| authori|
|00004bf0| 74 69 76 65 20 61 6e 73 | 77 65 72 20 2a 2f 0a 09 |tive ans|wer */..|
|00004c00| 75 6e 73 69 67 6e 65 64 | 09 74 63 3a 20 31 3b 09 |unsigned|.tc: 1;.|
|00004c10| 09 2f 2a 20 74 72 75 6e | 63 61 74 65 64 20 6d 65 |./* trun|cated me|
|00004c20| 73 73 61 67 65 20 2a 2f | 0a 09 75 6e 73 69 67 6e |ssage */|..unsign|
|00004c30| 65 64 09 72 64 3a 20 31 | 3b 09 09 2f 2a 20 72 65 |ed.rd: 1|;../* re|
|00004c40| 63 75 72 73 69 6f 6e 20 | 64 65 73 69 72 65 64 20 |cursion |desired |
|00004c50| 2a 2f 0a 09 09 09 2f 2a | 20 66 69 65 6c 64 73 20 |*/..../*| fields |
|00004c60| 69 6e 20 66 6f 75 72 74 | 68 20 62 79 74 65 20 2a |in fourt|h byte *|
|00004c70| 2f 0a 09 75 6e 73 69 67 | 6e 65 64 09 72 61 3a 20 |/..unsig|ned.ra: |
|00004c80| 31 3b 09 09 2f 2a 20 72 | 65 63 75 72 73 69 6f 6e |1;../* r|ecursion|
|00004c90| 20 61 76 61 69 6c 61 62 | 6c 65 20 2a 2f 0a 09 75 | availab|le */..u|
|00004ca0| 6e 73 69 67 6e 65 64 09 | 70 72 3a 20 31 3b 09 09 |nsigned.|pr: 1;..|
|00004cb0| 2f 2a 20 70 72 69 6d 61 | 72 79 20 72 65 71 75 69 |/* prima|ry requi|
|00004cc0| 72 65 64 20 2a 2f 0a 09 | 75 6e 73 69 67 6e 65 64 |red */..|unsigned|
|00004cd0| 09 75 6e 75 73 65 64 20 | 3a 32 3b 09 2f 2a 20 75 |.unused |:2;./* u|
|00004ce0| 6e 75 73 65 64 20 62 69 | 74 73 20 28 4d 42 5a 20 |nused bi|ts (MBZ |
|00004cf0| 61 73 20 6f 66 20 34 2e | 39 2e 33 61 33 29 20 2a |as of 4.|9.3a3) *|
|00004d00| 2f 0a 09 75 6e 73 69 67 | 6e 65 64 09 72 63 6f 64 |/..unsig|ned.rcod|
|00004d10| 65 20 3a 34 3b 09 2f 2a | 20 72 65 73 70 6f 6e 73 |e :4;./*| respons|
|00004d20| 65 20 63 6f 64 65 20 2a | 2f 0a 23 65 6e 64 69 66 |e code *|/.#endif|
|00004d30| 0a 23 69 66 20 42 59 54 | 45 5f 4f 52 44 45 52 20 |.#if BYT|E_ORDER |
|00004d40| 3d 3d 20 4c 49 54 54 4c | 45 5f 45 4e 44 49 41 4e |== LITTL|E_ENDIAN|
|00004d50| 20 7c 7c 20 42 59 54 45 | 5f 4f 52 44 45 52 20 3d | || BYTE|_ORDER =|
|00004d60| 3d 20 50 44 50 5f 45 4e | 44 49 41 4e 0a 09 09 09 |= PDP_EN|DIAN....|
|00004d70| 2f 2a 20 66 69 65 6c 64 | 73 20 69 6e 20 74 68 69 |/* field|s in thi|
|00004d80| 72 64 20 62 79 74 65 20 | 2a 2f 0a 09 75 6e 73 69 |rd byte |*/..unsi|
|00004d90| 67 6e 65 64 09 72 64 20 | 3a 31 3b 09 09 2f 2a 20 |gned.rd |:1;../* |
|00004da0| 72 65 63 75 72 73 69 6f | 6e 20 64 65 73 69 72 65 |recursio|n desire|
|00004db0| 64 20 2a 2f 0a 09 75 6e | 73 69 67 6e 65 64 09 74 |d */..un|signed.t|
|00004dc0| 63 20 3a 31 3b 09 09 2f | 2a 20 74 72 75 6e 63 61 |c :1;../|* trunca|
|00004dd0| 74 65 64 20 6d 65 73 73 | 61 67 65 20 2a 2f 0a 09 |ted mess|age */..|
|00004de0| 75 6e 73 69 67 6e 65 64 | 09 61 61 20 3a 31 3b 09 |unsigned|.aa :1;.|
|00004df0| 09 2f 2a 20 61 75 74 68 | 6f 72 69 74 69 76 65 20 |./* auth|oritive |
|00004e00| 61 6e 73 77 65 72 20 2a | 2f 0a 09 75 6e 73 69 67 |answer *|/..unsig|
|00004e10| 6e 65 64 09 6f 70 63 6f | 64 65 20 3a 34 3b 09 2f |ned.opco|de :4;./|
|00004e20| 2a 20 70 75 72 70 6f 73 | 65 20 6f 66 20 6d 65 73 |* purpos|e of mes|
|00004e30| 73 61 67 65 20 2a 2f 0a | 09 75 6e 73 69 67 6e 65 |sage */.|.unsigne|
|00004e40| 64 09 71 72 20 3a 31 3b | 09 09 2f 2a 20 72 65 73 |d.qr :1;|../* res|
|00004e50| 70 6f 6e 73 65 20 66 6c | 61 67 20 2a 2f 0a 09 09 |ponse fl|ag */...|
|00004e60| 09 2f 2a 20 66 69 65 6c | 64 73 20 69 6e 20 66 6f |./* fiel|ds in fo|
|00004e70| 75 72 74 68 20 62 79 74 | 65 20 2a 2f 0a 09 75 6e |urth byt|e */..un|
|00004e80| 73 69 67 6e 65 64 09 72 | 63 6f 64 65 20 3a 34 3b |signed.r|code :4;|
|00004e90| 09 2f 2a 20 72 65 73 70 | 6f 6e 73 65 20 63 6f 64 |./* resp|onse cod|
|00004ea0| 65 20 2a 2f 0a 09 75 6e | 73 69 67 6e 65 64 09 75 |e */..un|signed.u|
|00004eb0| 6e 75 73 65 64 20 3a 32 | 3b 09 2f 2a 20 75 6e 75 |nused :2|;./* unu|
|00004ec0| 73 65 64 20 62 69 74 73 | 20 28 4d 42 5a 20 61 73 |sed bits| (MBZ as|
|00004ed0| 20 6f 66 20 34 2e 39 2e | 33 61 33 29 20 2a 2f 0a | of 4.9.|3a3) */.|
|00004ee0| 09 75 6e 73 69 67 6e 65 | 64 09 70 72 3a 20 31 3b |.unsigne|d.pr: 1;|
|00004ef0| 09 09 2f 2a 20 70 72 69 | 6d 61 72 79 20 72 65 71 |../* pri|mary req|
|00004f00| 75 69 72 65 64 20 2a 2f | 0a 09 75 6e 73 69 67 6e |uired */|..unsign|
|00004f10| 65 64 09 72 61 20 3a 31 | 3b 09 09 2f 2a 20 72 65 |ed.ra :1|;../* re|
|00004f20| 63 75 72 73 69 6f 6e 20 | 61 76 61 69 6c 61 62 6c |cursion |availabl|
|00004f30| 65 20 2a 2f 0a 23 65 6e | 64 69 66 0a 09 09 09 2f |e */.#en|dif..../|
|00004f40| 2a 20 72 65 6d 61 69 6e | 69 6e 67 20 62 79 74 65 |* remain|ing byte|
|00004f50| 73 20 2a 2f 0a 09 75 6e | 73 69 67 6e 65 64 09 71 |s */..un|signed.q|
|00004f60| 64 63 6f 75 6e 74 20 3a | 31 36 3b 09 2f 2a 20 6e |dcount :|16;./* n|
|00004f70| 75 6d 62 65 72 20 6f 66 | 20 71 75 65 73 74 69 6f |umber of| questio|
|00004f80| 6e 20 65 6e 74 72 69 65 | 73 20 2a 2f 0a 09 75 6e |n entrie|s */..un|
|00004f90| 73 69 67 6e 65 64 09 61 | 6e 63 6f 75 6e 74 20 3a |signed.a|ncount :|
|00004fa0| 31 36 3b 09 2f 2a 20 6e | 75 6d 62 65 72 20 6f 66 |16;./* n|umber of|
|00004fb0| 20 61 6e 73 77 65 72 20 | 65 6e 74 72 69 65 73 20 | answer |entries |
|00004fc0| 2a 2f 0a 09 75 6e 73 69 | 67 6e 65 64 09 6e 73 63 |*/..unsi|gned.nsc|
|00004fd0| 6f 75 6e 74 20 3a 31 36 | 3b 09 2f 2a 20 6e 75 6d |ount :16|;./* num|
|00004fe0| 62 65 72 20 6f 66 20 61 | 75 74 68 6f 72 69 74 79 |ber of a|uthority|
|00004ff0| 20 65 6e 74 72 69 65 73 | 20 2a 2f 0a 09 75 6e 73 | entries| */..uns|
|00005000| 69 67 6e 65 64 09 61 72 | 63 6f 75 6e 74 20 3a 31 |igned.ar|count :1|
|00005010| 36 3b 09 2f 2a 20 6e 75 | 6d 62 65 72 20 6f 66 20 |6;./* nu|mber of |
|00005020| 72 65 73 6f 75 72 63 65 | 20 65 6e 74 72 69 65 73 |resource| entries|
|00005030| 20 2a 2f 0a 7d 20 48 45 | 41 44 45 52 3b 0a 0a 2f | */.} HE|ADER;../|
|00005040| 2a 0a 20 2a 20 44 65 66 | 69 6e 65 73 20 66 6f 72 |*. * Def|ines for|
|00005050| 20 68 61 6e 64 6c 69 6e | 67 20 63 6f 6d 70 72 65 | handlin|g compre|
|00005060| 73 73 65 64 20 64 6f 6d | 61 69 6e 20 6e 61 6d 65 |ssed dom|ain name|
|00005070| 73 0a 20 2a 2f 0a 23 64 | 65 66 69 6e 65 20 49 4e |s. */.#d|efine IN|
|00005080| 44 49 52 5f 4d 41 53 4b | 09 30 78 63 30 0a 0a 2f |DIR_MASK|.0xc0../|
|00005090| 2a 0a 20 2a 20 53 74 72 | 75 63 74 75 72 65 20 66 |*. * Str|ucture f|
|000050a0| 6f 72 20 70 61 73 73 69 | 6e 67 20 72 65 73 6f 75 |or passi|ng resou|
|000050b0| 72 63 65 20 72 65 63 6f | 72 64 73 20 61 72 6f 75 |rce reco|rds arou|
|000050c0| 6e 64 2e 0a 20 2a 2f 0a | 73 74 72 75 63 74 20 72 |nd.. */.|struct r|
|000050d0| 72 65 63 20 7b 0a 09 69 | 6e 74 31 36 5f 74 09 09 |rec {..i|nt16_t..|
|000050e0| 72 5f 7a 6f 6e 65 3b 09 | 09 09 2f 2a 20 7a 6f 6e |r_zone;.|../* zon|
|000050f0| 65 20 6e 75 6d 62 65 72 | 20 2a 2f 0a 09 69 6e 74 |e number| */..int|
|00005100| 31 36 5f 74 09 09 72 5f | 63 6c 61 73 73 3b 09 09 |16_t..r_|class;..|
|00005110| 2f 2a 20 63 6c 61 73 73 | 20 6e 75 6d 62 65 72 20 |/* class| number |
|00005120| 2a 2f 0a 09 69 6e 74 31 | 36 5f 74 09 09 72 5f 74 |*/..int1|6_t..r_t|
|00005130| 79 70 65 3b 09 09 09 2f | 2a 20 74 79 70 65 20 6e |ype;.../|* type n|
|00005140| 75 6d 62 65 72 20 2a 2f | 0a 09 75 5f 69 6e 74 33 |umber */|..u_int3|
|00005150| 32 5f 74 09 72 5f 74 74 | 6c 3b 09 09 09 2f 2a 20 |2_t.r_tt|l;.../* |
|00005160| 74 69 6d 65 20 74 6f 20 | 6c 69 76 65 20 2a 2f 0a |time to |live */.|
|00005170| 09 69 6e 74 09 09 72 5f | 73 69 7a 65 3b 09 09 09 |.int..r_|size;...|
|00005180| 2f 2a 20 73 69 7a 65 20 | 6f 66 20 64 61 74 61 20 |/* size |of data |
|00005190| 61 72 65 61 20 2a 2f 0a | 09 63 68 61 72 09 09 2a |area */.|.char..*|
|000051a0| 72 5f 64 61 74 61 3b 09 | 09 2f 2a 20 70 6f 69 6e |r_data;.|./* poin|
|000051b0| 74 65 72 20 74 6f 20 64 | 61 74 61 20 2a 2f 0a 7d |ter to d|ata */.}|
|000051c0| 3b 0a 0a 65 78 74 65 72 | 6e 09 75 5f 69 6e 74 31 |;..exter|n.u_int1|
|000051d0| 36 5f 74 09 5f 67 65 74 | 73 68 6f 72 74 28 63 6f |6_t._get|short(co|
|000051e0| 6e 73 74 20 75 5f 63 68 | 61 72 20 2a 29 3b 0a 65 |nst u_ch|ar *);.e|
|000051f0| 78 74 65 72 6e 09 75 5f | 69 6e 74 33 32 5f 74 09 |xtern.u_|int32_t.|
|00005200| 5f 67 65 74 6c 6f 6e 67 | 28 63 6f 6e 73 74 20 75 |_getlong|(const u|
|00005210| 5f 63 68 61 72 20 2a 29 | 3b 0a 0a 2f 2a 0a 20 2a |_char *)|;../*. *|
|00005220| 20 49 6e 6c 69 6e 65 20 | 76 65 72 73 69 6f 6e 73 | Inline |versions|
|00005230| 20 6f 66 20 67 65 74 2f | 70 75 74 20 73 68 6f 72 | of get/|put shor|
|00005240| 74 2f 6c 6f 6e 67 2e 20 | 20 50 6f 69 6e 74 65 72 |t/long. | Pointer|
|00005250| 20 69 73 20 61 64 76 61 | 6e 63 65 64 2e 0a 20 2a | is adva|nced.. *|
|00005260| 0a 20 2a 20 54 68 65 73 | 65 20 6d 61 63 72 6f 73 |. * Thes|e macros|
|00005270| 20 64 65 6d 6f 6e 73 74 | 72 61 74 65 20 74 68 65 | demonst|rate the|
|00005280| 20 70 72 6f 70 65 72 74 | 79 20 6f 66 20 43 20 77 | propert|y of C w|
|00005290| 68 65 72 65 62 79 20 69 | 74 20 63 61 6e 20 62 65 |hereby i|t can be|
|000052a0| 0a 20 2a 20 70 6f 72 74 | 61 62 6c 65 20 6f 72 20 |. * port|able or |
|000052b0| 69 74 20 63 61 6e 20 62 | 65 20 65 6c 65 67 61 6e |it can b|e elegan|
|000052c0| 74 20 62 75 74 20 72 61 | 72 65 6c 79 20 62 6f 74 |t but ra|rely bot|
|000052d0| 68 2e 0a 20 2a 2f 0a 23 | 64 65 66 69 6e 65 20 47 |h.. */.#|define G|
|000052e0| 45 54 53 48 4f 52 54 28 | 73 2c 20 63 70 29 20 7b |ETSHORT(|s, cp) {|
|000052f0| 20 5c 0a 09 72 65 67 69 | 73 74 65 72 20 75 5f 63 | \..regi|ster u_c|
|00005300| 68 61 72 20 2a 74 5f 63 | 70 20 3d 20 28 75 5f 63 |har *t_c|p = (u_c|
|00005310| 68 61 72 20 2a 29 28 63 | 70 29 3b 20 5c 0a 09 28 |har *)(c|p); \..(|
|00005320| 73 29 20 3d 20 28 28 75 | 5f 69 6e 74 31 36 5f 74 |s) = ((u|_int16_t|
|00005330| 29 74 5f 63 70 5b 30 5d | 20 3c 3c 20 38 29 20 5c |)t_cp[0]| << 8) \|
|00005340| 0a 09 20 20 20 20 7c 20 | 28 28 75 5f 69 6e 74 31 |.. | |((u_int1|
|00005350| 36 5f 74 29 74 5f 63 70 | 5b 31 5d 29 20 5c 0a 09 |6_t)t_cp|[1]) \..|
|00005360| 20 20 20 20 3b 20 5c 0a | 09 28 63 70 29 20 2b 3d | ; \.|.(cp) +=|
|00005370| 20 49 4e 54 31 36 53 5a | 3b 20 5c 0a 7d 0a 0a 23 | INT16SZ|; \.}..#|
|00005380| 64 65 66 69 6e 65 20 47 | 45 54 4c 4f 4e 47 28 6c |define G|ETLONG(l|
|00005390| 2c 20 63 70 29 20 7b 20 | 5c 0a 09 72 65 67 69 73 |, cp) { |\..regis|
|000053a0| 74 65 72 20 75 5f 63 68 | 61 72 20 2a 74 5f 63 70 |ter u_ch|ar *t_cp|
|000053b0| 20 3d 20 28 75 5f 63 68 | 61 72 20 2a 29 28 63 70 | = (u_ch|ar *)(cp|
|000053c0| 29 3b 20 5c 0a 09 28 6c | 29 20 3d 20 28 28 75 5f |); \..(l|) = ((u_|
|000053d0| 69 6e 74 33 32 5f 74 29 | 74 5f 63 70 5b 30 5d 20 |int32_t)|t_cp[0] |
|000053e0| 3c 3c 20 32 34 29 20 5c | 0a 09 20 20 20 20 7c 20 |<< 24) \|.. | |
|000053f0| 28 28 75 5f 69 6e 74 33 | 32 5f 74 29 74 5f 63 70 |((u_int3|2_t)t_cp|
|00005400| 5b 31 5d 20 3c 3c 20 31 | 36 29 20 5c 0a 09 20 20 |[1] << 1|6) \.. |
|00005410| 20 20 7c 20 28 28 75 5f | 69 6e 74 33 32 5f 74 29 | | ((u_|int32_t)|
|00005420| 74 5f 63 70 5b 32 5d 20 | 3c 3c 20 38 29 20 5c 0a |t_cp[2] |<< 8) \.|
|00005430| 09 20 20 20 20 7c 20 28 | 28 75 5f 69 6e 74 33 32 |. | (|(u_int32|
|00005440| 5f 74 29 74 5f 63 70 5b | 33 5d 29 20 5c 0a 09 20 |_t)t_cp[|3]) \.. |
|00005450| 20 20 20 3b 20 5c 0a 09 | 28 63 70 29 20 2b 3d 20 | ; \..|(cp) += |
|00005460| 49 4e 54 33 32 53 5a 3b | 20 5c 0a 7d 0a 0a 23 64 |INT32SZ;| \.}..#d|
|00005470| 65 66 69 6e 65 20 50 55 | 54 53 48 4f 52 54 28 73 |efine PU|TSHORT(s|
|00005480| 2c 20 63 70 29 20 7b 20 | 5c 0a 09 72 65 67 69 73 |, cp) { |\..regis|
|00005490| 74 65 72 20 75 5f 69 6e | 74 31 36 5f 74 20 74 5f |ter u_in|t16_t t_|
|000054a0| 73 20 3d 20 28 75 5f 69 | 6e 74 31 36 5f 74 29 28 |s = (u_i|nt16_t)(|
|000054b0| 73 29 3b 20 5c 0a 09 72 | 65 67 69 73 74 65 72 20 |s); \..r|egister |
|000054c0| 75 5f 63 68 61 72 20 2a | 74 5f 63 70 20 3d 20 28 |u_char *|t_cp = (|
|000054d0| 75 5f 63 68 61 72 20 2a | 29 28 63 70 29 3b 20 5c |u_char *|)(cp); \|
|000054e0| 0a 09 2a 74 5f 63 70 2b | 2b 20 3d 20 74 5f 73 20 |..*t_cp+|+ = t_s |
|000054f0| 3e 3e 20 38 3b 20 5c 0a | 09 2a 74 5f 63 70 20 20 |>> 8; \.|.*t_cp |
|00005500| 20 3d 20 74 5f 73 3b 20 | 5c 0a 09 28 63 70 29 20 | = t_s; |\..(cp) |
|00005510| 2b 3d 20 49 4e 54 31 36 | 53 5a 3b 20 5c 0a 7d 0a |+= INT16|SZ; \.}.|
|00005520| 0a 23 64 65 66 69 6e 65 | 20 50 55 54 4c 4f 4e 47 |.#define| PUTLONG|
|00005530| 28 6c 2c 20 63 70 29 20 | 7b 20 5c 0a 09 72 65 67 |(l, cp) |{ \..reg|
|00005540| 69 73 74 65 72 20 75 5f | 69 6e 74 33 32 5f 74 20 |ister u_|int32_t |
|00005550| 74 5f 6c 20 3d 20 28 75 | 5f 69 6e 74 33 32 5f 74 |t_l = (u|_int32_t|
|00005560| 29 28 6c 29 3b 20 5c 0a | 09 72 65 67 69 73 74 65 |)(l); \.|.registe|
|00005570| 72 20 75 5f 63 68 61 72 | 20 2a 74 5f 63 70 20 3d |r u_char| *t_cp =|
|00005580| 20 28 75 5f 63 68 61 72 | 20 2a 29 28 63 70 29 3b | (u_char| *)(cp);|
|00005590| 20 5c 0a 09 2a 74 5f 63 | 70 2b 2b 20 3d 20 74 5f | \..*t_c|p++ = t_|
|000055a0| 6c 20 3e 3e 20 32 34 3b | 20 5c 0a 09 2a 74 5f 63 |l >> 24;| \..*t_c|
|000055b0| 70 2b 2b 20 3d 20 74 5f | 6c 20 3e 3e 20 31 36 3b |p++ = t_|l >> 16;|
|000055c0| 20 5c 0a 09 2a 74 5f 63 | 70 2b 2b 20 3d 20 74 5f | \..*t_c|p++ = t_|
|000055d0| 6c 20 3e 3e 20 38 3b 20 | 5c 0a 09 2a 74 5f 63 70 |l >> 8; |\..*t_cp|
|000055e0| 20 20 20 3d 20 74 5f 6c | 3b 20 5c 0a 09 28 63 70 | = t_l|; \..(cp|
|000055f0| 29 20 2b 3d 20 49 4e 54 | 33 32 53 5a 3b 20 5c 0a |) += INT|32SZ; \.|
|00005600| 7d 0a 0a 23 65 6e 64 69 | 66 20 2f 2a 20 21 5f 4e |}..#endi|f /* !_N|
|00005610| 41 4d 45 53 45 52 5f 48 | 5f 20 2a 2f 0a 46 69 6c |AMESER_H|_ */.Fil|
|00005620| 65 44 61 74 61 82 6e 65 | 74 64 62 00 31 73 74 00 |eData.ne|tdb.1st.|
|00005630| 00 ef 15 00 00 47 fd ff | ff b6 2f 62 1e 03 00 f9 |.....G..|../b....|
|00005640| 10 2f 2a 2d 0a 20 2a 20 | 43 6f 70 79 72 69 67 68 |./*-. * |Copyrigh|
|00005650| 74 20 28 63 29 20 31 39 | 38 30 2c 20 31 39 38 33 |t (c) 19|80, 1983|
|00005660| 2c 20 31 39 38 38 20 52 | 65 67 65 6e 74 73 20 6f |, 1988 R|egents o|
|00005670| 66 20 74 68 65 20 55 6e | 69 76 65 72 73 69 74 79 |f the Un|iversity|
|00005680| 20 6f 66 20 43 61 6c 69 | 66 6f 72 6e 69 61 2e 0a | of Cali|fornia..|
|00005690| 20 2a 20 41 6c 6c 20 72 | 69 67 68 74 73 20 72 65 | * All r|ights re|
|000056a0| 73 65 72 76 65 64 2e 0a | 20 2a 0a 20 2a 20 52 65 |served..| *. * Re|
|000056b0| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 61 6e 64 |distribu|tion and|
|000056c0| 20 75 73 65 20 69 6e 20 | 73 6f 75 72 63 65 20 61 | use in |source a|
|000056d0| 6e 64 20 62 69 6e 61 72 | 79 20 66 6f 72 6d 73 2c |nd binar|y forms,|
|000056e0| 20 77 69 74 68 20 6f 72 | 20 77 69 74 68 6f 75 74 | with or| without|
|000056f0| 0a 20 2a 20 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |. * modi|fication|
|00005700| 2c 20 61 72 65 20 70 65 | 72 6d 69 74 74 65 64 20 |, are pe|rmitted |
|00005710| 70 72 6f 76 69 64 65 64 | 20 74 68 61 74 20 74 68 |provided| that th|
|00005720| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 6e 64 |e follow|ing cond|
|00005730| 69 74 69 6f 6e 73 0a 20 | 2a 20 61 72 65 20 6d 65 |itions. |* are me|
|00005740| 74 3a 0a 20 2a 20 31 2e | 20 52 65 64 69 73 74 72 |t:. * 1.| Redistr|
|00005750| 69 62 75 74 69 6f 6e 73 | 20 6f 66 20 73 6f 75 72 |ibutions| of sour|
|00005760| 63 65 20 63 6f 64 65 20 | 6d 75 73 74 20 72 65 74 |ce code |must ret|
|00005770| 61 69 6e 20 74 68 65 20 | 61 62 6f 76 65 20 63 6f |ain the |above co|
|00005780| 70 79 72 69 67 68 74 0a | 20 2a 20 20 20 20 6e 6f |pyright.| * no|
|00005790| 74 69 63 65 2c 20 74 68 | 69 73 20 6c 69 73 74 20 |tice, th|is list |
|000057a0| 6f 66 20 63 6f 6e 64 69 | 74 69 6f 6e 73 20 61 6e |of condi|tions an|
|000057b0| 64 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |d the fo|llowing |
|000057c0| 64 69 73 63 6c 61 69 6d | 65 72 2e 0a 20 2a 20 32 |disclaim|er.. * 2|
|000057d0| 2e 20 52 65 64 69 73 74 | 72 69 62 75 74 69 6f 6e |. Redist|ribution|
|000057e0| 73 20 69 6e 20 62 69 6e | 61 72 79 20 66 6f 72 6d |s in bin|ary form|
|000057f0| 20 6d 75 73 74 20 72 65 | 70 72 6f 64 75 63 65 20 | must re|produce |
|00005800| 74 68 65 20 61 62 6f 76 | 65 20 63 6f 70 79 72 69 |the abov|e copyri|
|00005810| 67 68 74 0a 20 2a 20 20 | 20 20 6e 6f 74 69 63 65 |ght. * | notice|
|00005820| 2c 20 74 68 69 73 20 6c | 69 73 74 20 6f 66 20 63 |, this l|ist of c|
|00005830| 6f 6e 64 69 74 69 6f 6e | 73 20 61 6e 64 20 74 68 |ondition|s and th|
|00005840| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 64 69 73 63 |e follow|ing disc|
|00005850| 6c 61 69 6d 65 72 20 69 | 6e 20 74 68 65 0a 20 2a |laimer i|n the. *|
|00005860| 20 20 20 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f | docu|mentatio|
|00005870| 6e 20 61 6e 64 2f 6f 72 | 20 6f 74 68 65 72 20 6d |n and/or| other m|
|00005880| 61 74 65 72 69 61 6c 73 | 20 70 72 6f 76 69 64 65 |aterials| provide|
|00005890| 64 20 77 69 74 68 20 74 | 68 65 20 64 69 73 74 72 |d with t|he distr|
|000058a0| 69 62 75 74 69 6f 6e 2e | 0a 20 2a 20 33 2e 20 41 |ibution.|. * 3. A|
|000058b0| 6c 6c 20 61 64 76 65 72 | 74 69 73 69 6e 67 20 6d |ll adver|tising m|
|000058c0| 61 74 65 72 69 61 6c 73 | 20 6d 65 6e 74 69 6f 6e |aterials| mention|
|000058d0| 69 6e 67 20 66 65 61 74 | 75 72 65 73 20 6f 72 20 |ing feat|ures or |
|000058e0| 75 73 65 20 6f 66 20 74 | 68 69 73 20 73 6f 66 74 |use of t|his soft|
|000058f0| 77 61 72 65 0a 20 2a 20 | 20 20 20 6d 75 73 74 20 |ware. * | must |
|00005900| 64 69 73 70 6c 61 79 20 | 74 68 65 20 66 6f 6c 6c |display |the foll|
|00005910| 6f 77 69 6e 67 20 61 63 | 6b 6e 6f 77 6c 65 64 67 |owing ac|knowledg|
|00005920| 65 6d 65 6e 74 3a 0a 20 | 2a 09 54 68 69 73 20 70 |ement:. |*.This p|
|00005930| 72 6f 64 75 63 74 20 69 | 6e 63 6c 75 64 65 73 20 |roduct i|ncludes |
|00005940| 73 6f 66 74 77 61 72 65 | 20 64 65 76 65 6c 6f 70 |software| develop|
|00005950| 65 64 20 62 79 20 74 68 | 65 20 55 6e 69 76 65 72 |ed by th|e Univer|
|00005960| 73 69 74 79 20 6f 66 0a | 20 2a 09 43 61 6c 69 66 |sity of.| *.Calif|
|00005970| 6f 72 6e 69 61 2c 20 42 | 65 72 6b 65 6c 65 79 20 |ornia, B|erkeley |
|00005980| 61 6e 64 20 69 74 73 20 | 63 6f 6e 74 72 69 62 75 |and its |contribu|
|00005990| 74 6f 72 73 2e 0a 20 2a | 20 34 2e 20 4e 65 69 74 |tors.. *| 4. Neit|
|000059a0| 68 65 72 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |her the |name of |
|000059b0| 74 68 65 20 55 6e 69 76 | 65 72 73 69 74 79 20 6e |the Univ|ersity n|
|000059c0| 6f 72 20 74 68 65 20 6e | 61 6d 65 73 20 6f 66 20 |or the n|ames of |
|000059d0| 69 74 73 20 63 6f 6e 74 | 72 69 62 75 74 6f 72 73 |its cont|ributors|
|000059e0| 0a 20 2a 20 20 20 20 6d | 61 79 20 62 65 20 75 73 |. * m|ay be us|
|000059f0| 65 64 20 74 6f 20 65 6e | 64 6f 72 73 65 20 6f 72 |ed to en|dorse or|
|00005a00| 20 70 72 6f 6d 6f 74 65 | 20 70 72 6f 64 75 63 74 | promote| product|
|00005a10| 73 20 64 65 72 69 76 65 | 64 20 66 72 6f 6d 20 74 |s derive|d from t|
|00005a20| 68 69 73 20 73 6f 66 74 | 77 61 72 65 0a 20 2a 20 |his soft|ware. * |
|00005a30| 20 20 20 77 69 74 68 6f | 75 74 20 73 70 65 63 69 | witho|ut speci|
|00005a40| 66 69 63 20 70 72 69 6f | 72 20 77 72 69 74 74 65 |fic prio|r writte|
|00005a50| 6e 20 70 65 72 6d 69 73 | 73 69 6f 6e 2e 0a 20 2a |n permis|sion.. *|
|00005a60| 0a 20 2a 20 54 48 49 53 | 20 53 4f 46 54 57 41 52 |. * THIS| SOFTWAR|
|00005a70| 45 20 49 53 20 50 52 4f | 56 49 44 45 44 20 42 59 |E IS PRO|VIDED BY|
|00005a80| 20 54 48 45 20 52 45 47 | 45 4e 54 53 20 41 4e 44 | THE REG|ENTS AND|
|00005a90| 20 43 4f 4e 54 52 49 42 | 55 54 4f 52 53 20 60 60 | CONTRIB|UTORS ``|
|00005aa0| 41 53 20 49 53 27 27 20 | 41 4e 44 0a 20 2a 20 41 |AS IS'' |AND. * A|
|00005ab0| 4e 59 20 45 58 50 52 45 | 53 53 20 4f 52 20 49 4d |NY EXPRE|SS OR IM|
|00005ac0| 50 4c 49 45 44 20 57 41 | 52 52 41 4e 54 49 45 53 |PLIED WA|RRANTIES|
|00005ad0| 2c 20 49 4e 43 4c 55 44 | 49 4e 47 2c 20 42 55 54 |, INCLUD|ING, BUT|
|00005ae0| 20 4e 4f 54 20 4c 49 4d | 49 54 45 44 20 54 4f 2c | NOT LIM|ITED TO,|
|00005af0| 20 54 48 45 0a 20 2a 20 | 49 4d 50 4c 49 45 44 20 | THE. * |IMPLIED |
|00005b00| 57 41 52 52 41 4e 54 49 | 45 53 20 4f 46 20 4d 45 |WARRANTI|ES OF ME|
|00005b10| 52 43 48 41 4e 54 41 42 | 49 4c 49 54 59 20 41 4e |RCHANTAB|ILITY AN|
|00005b20| 44 20 46 49 54 4e 45 53 | 53 20 46 4f 52 20 41 20 |D FITNES|S FOR A |
|00005b30| 50 41 52 54 49 43 55 4c | 41 52 20 50 55 52 50 4f |PARTICUL|AR PURPO|
|00005b40| 53 45 0a 20 2a 20 41 52 | 45 20 44 49 53 43 4c 41 |SE. * AR|E DISCLA|
|00005b50| 49 4d 45 44 2e 20 20 49 | 4e 20 4e 4f 20 45 56 45 |IMED. I|N NO EVE|
|00005b60| 4e 54 20 53 48 41 4c 4c | 20 54 48 45 20 52 45 47 |NT SHALL| THE REG|
|00005b70| 45 4e 54 53 20 4f 52 20 | 43 4f 4e 54 52 49 42 55 |ENTS OR |CONTRIBU|
|00005b80| 54 4f 52 53 20 42 45 20 | 4c 49 41 42 4c 45 0a 20 |TORS BE |LIABLE. |
|00005b90| 2a 20 46 4f 52 20 41 4e | 59 20 44 49 52 45 43 54 |* FOR AN|Y DIRECT|
|00005ba0| 2c 20 49 4e 44 49 52 45 | 43 54 2c 20 49 4e 43 49 |, INDIRE|CT, INCI|
|00005bb0| 44 45 4e 54 41 4c 2c 20 | 53 50 45 43 49 41 4c 2c |DENTAL, |SPECIAL,|
|00005bc0| 20 45 58 45 4d 50 4c 41 | 52 59 2c 20 4f 52 20 43 | EXEMPLA|RY, OR C|
|00005bd0| 4f 4e 53 45 51 55 45 4e | 54 49 41 4c 0a 20 2a 20 |ONSEQUEN|TIAL. * |
|00005be0| 44 41 4d 41 47 45 53 20 | 28 49 4e 43 4c 55 44 49 |DAMAGES |(INCLUDI|
|00005bf0| 4e 47 2c 20 42 55 54 20 | 4e 4f 54 20 4c 49 4d 49 |NG, BUT |NOT LIMI|
|00005c00| 54 45 44 20 54 4f 2c 20 | 50 52 4f 43 55 52 45 4d |TED TO, |PROCUREM|
|00005c10| 45 4e 54 20 4f 46 20 53 | 55 42 53 54 49 54 55 54 |ENT OF S|UBSTITUT|
|00005c20| 45 20 47 4f 4f 44 53 0a | 20 2a 20 4f 52 20 53 45 |E GOODS.| * OR SE|
|00005c30| 52 56 49 43 45 53 3b 20 | 4c 4f 53 53 20 4f 46 20 |RVICES; |LOSS OF |
|00005c40| 55 53 45 2c 20 44 41 54 | 41 2c 20 4f 52 20 50 52 |USE, DAT|A, OR PR|
|00005c50| 4f 46 49 54 53 3b 20 4f | 52 20 42 55 53 49 4e 45 |OFITS; O|R BUSINE|
|00005c60| 53 53 20 49 4e 54 45 52 | 52 55 50 54 49 4f 4e 29 |SS INTER|RUPTION)|
|00005c70| 0a 20 2a 20 48 4f 57 45 | 56 45 52 20 43 41 55 53 |. * HOWE|VER CAUS|
|00005c80| 45 44 20 41 4e 44 20 4f | 4e 20 41 4e 59 20 54 48 |ED AND O|N ANY TH|
|00005c90| 45 4f 52 59 20 4f 46 20 | 4c 49 41 42 49 4c 49 54 |EORY OF |LIABILIT|
|00005ca0| 59 2c 20 57 48 45 54 48 | 45 52 20 49 4e 20 43 4f |Y, WHETH|ER IN CO|
|00005cb0| 4e 54 52 41 43 54 2c 20 | 53 54 52 49 43 54 0a 20 |NTRACT, |STRICT. |
|00005cc0| 2a 20 4c 49 41 42 49 4c | 49 54 59 2c 20 4f 52 20 |* LIABIL|ITY, OR |
|00005cd0| 54 4f 52 54 20 28 49 4e | 43 4c 55 44 49 4e 47 20 |TORT (IN|CLUDING |
|00005ce0| 4e 45 47 4c 49 47 45 4e | 43 45 20 4f 52 20 4f 54 |NEGLIGEN|CE OR OT|
|00005cf0| 48 45 52 57 49 53 45 29 | 20 41 52 49 53 49 4e 47 |HERWISE)| ARISING|
|00005d00| 20 49 4e 20 41 4e 59 20 | 57 41 59 0a 20 2a 20 4f | IN ANY |WAY. * O|
|00005d10| 55 54 20 4f 46 20 54 48 | 45 20 55 53 45 20 4f 46 |UT OF TH|E USE OF|
|00005d20| 20 54 48 49 53 20 53 4f | 46 54 57 41 52 45 2c 20 | THIS SO|FTWARE, |
|00005d30| 45 56 45 4e 20 49 46 20 | 41 44 56 49 53 45 44 20 |EVEN IF |ADVISED |
|00005d40| 4f 46 20 54 48 45 20 50 | 4f 53 53 49 42 49 4c 49 |OF THE P|OSSIBILI|
|00005d50| 54 59 20 4f 46 0a 20 2a | 20 53 55 43 48 20 44 41 |TY OF. *| SUCH DA|
|00005d60| 4d 41 47 45 2e 0a 20 2a | 0a 20 2a 09 40 28 23 29 |MAGE.. *|. *.@(#)|
|00005d70| 6e 65 74 64 62 2e 68 09 | 35 2e 31 35 20 28 42 65 |netdb.h.|5.15 (Be|
|00005d80| 72 6b 65 6c 65 79 29 20 | 34 2f 33 2f 39 31 0a 20 |rkeley) |4/3/91. |
|00005d90| 2a 2f 0a 0a 23 69 66 6e | 64 65 66 20 5f 5f 6e 65 |*/..#ifn|def __ne|
|00005da0| 74 64 62 5f 68 0a 23 64 | 65 66 69 6e 65 20 5f 5f |tdb_h.#d|efine __|
|00005db0| 6e 65 74 64 62 5f 68 0a | 0a 2f 2a 20 46 72 65 65 |netdb_h.|./* Free|
|00005dc0| 6e 65 74 20 70 72 6f 67 | 72 61 6d 6d 65 72 73 20 |net prog|rammers |
|00005dd0| 69 6e 74 65 72 66 61 63 | 65 20 2d 20 6e 65 74 64 |interfac|e - netd|
|00005de0| 62 2e 68 20 2d 20 65 64 | 69 74 65 64 20 62 79 20 |b.h - ed|ited by |
|00005df0| 61 6e 64 79 20 32 33 2f | 35 2f 39 35 20 2a 2f 0a |andy 23/|5/95 */.|
|00005e00| 0a 23 69 6e 63 6c 75 64 | 65 20 22 73 79 73 2f 74 |.#includ|e "sys/t|
|00005e10| 79 70 65 73 2e 68 22 0a | 0a 2f 2a 0a 20 2a 20 4d |ypes.h".|./*. * M|
|00005e20| 61 78 69 6d 75 6d 20 6c | 65 6e 67 74 68 20 6f 66 |aximum l|ength of|
|00005e30| 20 61 20 68 6f 73 74 6e | 61 6d 65 0a 20 2a 2f 0a | a hostn|ame. */.|
|00005e40| 23 64 65 66 69 6e 65 20 | 4d 41 58 48 4f 53 54 4e |#define |MAXHOSTN|
|00005e50| 41 4d 45 4c 45 4e 20 32 | 35 36 0a 0a 2f 2a 0a 20 |AMELEN 2|56../*. |
|00005e60| 2a 20 53 74 72 75 63 74 | 75 72 65 73 20 72 65 74 |* Struct|ures ret|
|00005e70| 75 72 6e 65 64 20 62 79 | 20 6e 65 74 77 6f 72 6b |urned by| network|
|00005e80| 20 64 61 74 61 20 62 61 | 73 65 20 6c 69 62 72 61 | data ba|se libra|
|00005e90| 72 79 2e 20 20 41 6c 6c | 20 61 64 64 72 65 73 73 |ry. All| address|
|00005ea0| 65 73 20 61 72 65 0a 20 | 2a 20 73 75 70 70 6c 69 |es are. |* suppli|
|00005eb0| 65 64 20 69 6e 20 68 6f | 73 74 20 6f 72 64 65 72 |ed in ho|st order|
|00005ec0| 2c 20 61 6e 64 20 72 65 | 74 75 72 6e 65 64 20 69 |, and re|turned i|
|00005ed0| 6e 20 6e 65 74 77 6f 72 | 6b 20 6f 72 64 65 72 20 |n networ|k order |
|00005ee0| 28 73 75 69 74 61 62 6c | 65 20 66 6f 72 0a 20 2a |(suitabl|e for. *|
|00005ef0| 20 75 73 65 20 69 6e 20 | 73 79 73 74 65 6d 20 63 | use in |system c|
|00005f00| 61 6c 6c 73 29 2e 0a 20 | 2a 2f 0a 73 74 72 75 63 |alls).. |*/.struc|
|00005f10| 74 09 68 6f 73 74 65 6e | 74 20 7b 0a 09 63 68 61 |t.hosten|t {..cha|
|00005f20| 72 09 2a 68 5f 6e 61 6d | 65 3b 09 2f 2a 20 6f 66 |r.*h_nam|e;./* of|
|00005f30| 66 69 63 69 61 6c 20 6e | 61 6d 65 20 6f 66 20 68 |ficial n|ame of h|
|00005f40| 6f 73 74 20 2a 2f 0a 09 | 63 68 61 72 09 2a 2a 68 |ost */..|char.**h|
|00005f50| 5f 61 6c 69 61 73 65 73 | 3b 09 2f 2a 20 61 6c 69 |_aliases|;./* ali|
|00005f60| 61 73 20 6c 69 73 74 20 | 2a 2f 0a 09 69 6e 74 09 |as list |*/..int.|
|00005f70| 68 5f 61 64 64 72 74 79 | 70 65 3b 09 2f 2a 20 68 |h_addrty|pe;./* h|
|00005f80| 6f 73 74 20 61 64 64 72 | 65 73 73 20 74 79 70 65 |ost addr|ess type|
|00005f90| 20 2a 2f 0a 09 69 6e 74 | 09 68 5f 6c 65 6e 67 74 | */..int|.h_lengt|
|00005fa0| 68 3b 09 2f 2a 20 6c 65 | 6e 67 74 68 20 6f 66 20 |h;./* le|ngth of |
|00005fb0| 61 64 64 72 65 73 73 20 | 2a 2f 0a 09 63 68 61 72 |address |*/..char|
|00005fc0| 09 2a 2a 68 5f 61 64 64 | 72 5f 6c 69 73 74 3b 09 |.**h_add|r_list;.|
|00005fd0| 2f 2a 20 6c 69 73 74 20 | 6f 66 20 61 64 64 72 65 |/* list |of addre|
|00005fe0| 73 73 65 73 20 66 72 6f | 6d 20 6e 61 6d 65 20 73 |sses fro|m name s|
|00005ff0| 65 72 76 65 72 20 2a 2f | 0a 23 64 65 66 69 6e 65 |erver */|.#define|
|00006000| 09 68 5f 61 64 64 72 09 | 68 5f 61 64 64 72 5f 6c |.h_addr.|h_addr_l|
|00006010| 69 73 74 5b 30 5d 09 2f | 2a 20 61 64 64 72 65 73 |ist[0]./|* addres|
|00006020| 73 2c 20 66 6f 72 20 62 | 61 63 6b 77 61 72 64 20 |s, for b|ackward |
|00006030| 63 6f 6d 70 61 74 69 62 | 6c 69 74 79 20 2a 2f 0a |compatib|lity */.|
|00006040| 7d 3b 0a 0a 2f 2a 0a 20 | 2a 20 53 74 72 75 63 74 |};../*. |* Struct|
|00006050| 75 72 65 20 64 65 73 63 | 72 69 62 69 6e 67 20 61 |ure desc|ribing a|
|00006060| 20 6e 65 74 77 6f 72 6b | 20 65 6e 74 72 79 0a 20 | network| entry. |
|00006070| 2a 2f 0a 73 74 72 75 63 | 74 20 6e 65 74 65 6e 74 |*/.struc|t netent|
|00006080| 20 7b 0a 20 20 20 20 20 | 20 20 63 68 61 72 20 20 | {. | char |
|00006090| 20 2a 6e 5f 6e 61 6d 65 | 3b 20 20 20 20 20 20 20 | *n_name|; |
|000060a0| 20 20 20 20 20 20 2f 2a | 20 4f 66 66 69 63 69 61 | /*| Officia|
|000060b0| 6c 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 6e |l name o|f this n|
|000060c0| 65 74 77 6f 72 6b 20 2a | 2f 0a 20 20 20 20 20 20 |etwork *|/. |
|000060d0| 20 63 68 61 72 20 20 20 | 2a 2a 6e 5f 61 6c 69 61 | char |**n_alia|
|000060e0| 73 65 73 3b 20 20 20 20 | 20 20 20 20 20 2f 2a 20 |ses; | /* |
|000060f0| 41 6c 74 65 72 6e 61 74 | 69 76 65 20 6e 61 6d 65 |Alternat|ive name|
|00006100| 73 20 66 6f 72 20 6e 65 | 74 77 6f 72 6b 20 2a 2f |s for ne|twork */|
|00006110| 0a 20 20 20 20 20 20 20 | 69 6e 74 20 20 20 20 6e |. |int n|
|00006120| 5f 61 64 64 72 74 79 70 | 65 3b 20 20 20 20 20 20 |_addrtyp|e; |
|00006130| 20 20 20 20 2f 2a 20 4e | 65 74 77 6f 72 6b 20 61 | /* N|etwork a|
|00006140| 64 64 72 65 73 73 20 74 | 79 70 65 20 2a 2f 0a 20 |ddress t|ype */. |
|00006150| 20 20 20 20 20 20 75 5f | 6c 6f 6e 67 20 6e 5f 6e | u_|long n_n|
|00006160| 65 74 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |et; | |
|00006170| 20 20 2f 2a 20 4e 65 74 | 77 6f 72 6b 20 6e 75 6d | /* Net|work num|
|00006180| 62 65 72 20 2a 2f 0a 7d | 3b 0a 0a 2f 2a 0a 20 2a |ber */.}|;../*. *|
|00006190| 20 53 74 72 75 63 74 75 | 72 65 20 64 65 73 63 72 | Structu|re descr|
|000061a0| 69 62 69 6e 67 20 61 20 | 73 65 72 76 69 63 65 20 |ibing a |service |
|000061b0| 65 6e 74 72 79 0a 20 2a | 2f 0a 73 74 72 75 63 74 |entry. *|/.struct|
|000061c0| 20 73 65 72 76 65 6e 74 | 20 7b 0a 20 20 20 20 20 | servent| {. |
|000061d0| 20 20 63 68 61 72 20 2a | 73 5f 6e 61 6d 65 3b 20 | char *|s_name; |
|000061e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a | | /*|
|000061f0| 20 4f 66 66 69 63 69 61 | 6c 20 6e 61 6d 65 20 6f | Officia|l name o|
|00006200| 66 20 73 65 72 76 69 63 | 65 20 2a 2f 0a 20 20 20 |f servic|e */. |
|00006210| 20 20 20 20 63 68 61 72 | 20 2a 2a 73 5f 61 6c 69 | char| **s_ali|
|00006220| 61 73 65 73 3b 20 20 20 | 20 20 20 20 20 20 20 20 |ases; | |
|00006230| 2f 2a 20 41 6c 74 65 72 | 6e 61 74 69 76 65 20 6e |/* Alter|native n|
|00006240| 61 6d 65 73 20 66 6f 72 | 20 73 65 72 76 69 63 65 |ames for| service|
|00006250| 20 2a 2f 0a 20 20 20 20 | 20 20 20 69 6e 74 20 20 | */. | int |
|00006260| 73 5f 70 6f 72 74 3b 20 | 20 20 20 20 20 20 20 20 |s_port; | |
|00006270| 20 20 20 20 20 20 20 2f | 2a 20 50 6f 72 74 20 6e | /|* Port n|
|00006280| 75 6d 62 65 72 20 74 6f | 20 75 73 65 20 2a 2f 0a |umber to| use */.|
|00006290| 20 20 20 20 20 20 20 63 | 68 61 72 20 2a 73 5f 70 | c|har *s_p|
|000062a0| 72 6f 74 6f 3b 20 20 20 | 20 20 20 20 20 20 20 20 |roto; | |
|000062b0| 20 20 20 2f 2a 20 50 72 | 6f 74 6f 63 6f 6c 20 74 | /* Pr|otocol t|
|000062c0| 6f 20 75 73 65 20 2a 2f | 0a 7d 3b 0a 0a 2f 2a 0a |o use */|.};../*.|
|000062d0| 20 2a 20 53 74 72 75 63 | 74 75 72 65 20 64 65 73 | * Struc|ture des|
|000062e0| 63 72 69 62 69 6e 67 20 | 61 20 70 72 6f 74 6f 63 |cribing |a protoc|
|000062f0| 6f 6c 20 65 6e 74 72 79 | 0a 20 2a 2f 0a 73 74 72 |ol entry|. */.str|
|00006300| 75 63 74 20 70 72 6f 74 | 6f 65 6e 74 20 7b 0a 20 |uct prot|oent {. |
|00006310| 20 20 20 20 20 20 63 68 | 61 72 20 2a 70 5f 6e 61 | ch|ar *p_na|
|00006320| 6d 65 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |me; | |
|00006330| 20 20 2f 2a 20 4f 66 66 | 69 63 69 61 6c 20 70 72 | /* Off|icial pr|
|00006340| 6f 74 6f 63 6f 6c 20 6e | 61 6d 65 20 2a 2f 0a 20 |otocol n|ame */. |
|00006350| 20 20 20 20 20 20 63 68 | 61 72 20 2a 2a 70 5f 61 | ch|ar **p_a|
|00006360| 6c 69 61 73 65 73 3b 20 | 20 20 20 20 20 20 20 20 |liases; | |
|00006370| 20 20 2f 2a 20 41 6c 74 | 65 72 6e 61 74 69 76 65 | /* Alt|ernative|
|00006380| 20 6e 61 6d 65 73 20 66 | 6f 72 20 70 72 6f 74 6f | names f|or proto|
|00006390| 63 6f 6c 20 2a 2f 0a 20 | 20 20 20 20 20 20 69 6e |col */. | in|
|000063a0| 74 20 20 70 5f 70 72 6f | 74 6f 3b 20 20 20 20 20 |t p_pro|to; |
|000063b0| 20 20 20 20 20 20 20 20 | 20 20 2f 2a 20 50 72 6f | | /* Pro|
|000063c0| 74 6f 63 6f 6c 20 6e 75 | 6d 62 65 72 20 2a 2f 0a |tocol nu|mber */.|
|000063d0| 7d 3b 0a 0a 73 74 72 75 | 63 74 20 72 70 63 65 6e |};..stru|ct rpcen|
|000063e0| 74 20 7b 0a 09 63 68 61 | 72 09 2a 72 5f 6e 61 6d |t {..cha|r.*r_nam|
|000063f0| 65 3b 09 2f 2a 20 6e 61 | 6d 65 20 6f 66 20 73 65 |e;./* na|me of se|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.