Browse Source

Plan 9 from Bell Labs 2007-09-01

David du Colombier 13 years ago
parent
commit
cd694134b7
100 changed files with 251 additions and 25002 deletions
  1. 44 213
      dist/replica/_plan9.db
  2. 24 173
      dist/replica/plan9.db
  3. 173 0
      dist/replica/plan9.log
  4. 0 3
      lib/ndb/local.complicated
  5. 3 3
      sys/man/3/ip
  6. 0 2
      sys/src/9/alphapc/apc
  7. 0 2
      sys/src/9/alphapc/apccpu
  8. 0 1
      sys/src/9/bitsy/bitsy
  9. 0 1408
      sys/src/9/ip/il.c
  10. 0 2
      sys/src/9/ip/ip.h
  11. 0 2
      sys/src/9/ip/netlog.c
  12. 0 2
      sys/src/9/mtx/mtx
  13. 0 2
      sys/src/9/mtx/mtxcpu
  14. 0 2
      sys/src/9/pc/pc
  15. 0 2
      sys/src/9/pc/pcauth
  16. 0 2
      sys/src/9/pc/pccd
  17. 0 2
      sys/src/9/pc/pccpu
  18. 0 2
      sys/src/9/pc/pccpuf
  19. 0 2
      sys/src/9/pc/pcdisk
  20. 0 2
      sys/src/9/pc/pcf
  21. 0 2
      sys/src/9/pc/pcfl
  22. 0 1
      sys/src/9/pc/pcflop
  23. 0 2
      sys/src/9/ppc/blast
  24. 0 2
      sys/src/9/ppc/ucu
  25. 7 1
      sys/src/cmd/ndb/dblookup.c
  26. 0 178
      sys/src/fs/9netics32.16k/9net32.16kfs.c
  27. 0 35
      sys/src/fs/9netics32.16k/dat.h
  28. 0 87
      sys/src/fs/9netics32.16k/fns.h
  29. 0 247
      sys/src/fs/9netics32.16k/io.h
  30. 0 85
      sys/src/fs/9netics32.16k/mem.h
  31. 0 145
      sys/src/fs/9netics32.16k/mkfile
  32. 0 178
      sys/src/fs/9netics64.8k/9net64.8kfs.c
  33. 0 35
      sys/src/fs/9netics64.8k/dat.h
  34. 0 87
      sys/src/fs/9netics64.8k/fns.h
  35. 0 247
      sys/src/fs/9netics64.8k/io.h
  36. 0 85
      sys/src/fs/9netics64.8k/mem.h
  37. 0 145
      sys/src/fs/9netics64.8k/mkfile
  38. 0 1
      sys/src/fs/GOING.AWAY
  39. 0 177
      sys/src/fs/choline/9cholinefs.c
  40. 0 35
      sys/src/fs/choline/dat.h
  41. 0 87
      sys/src/fs/choline/fns.h
  42. 0 247
      sys/src/fs/choline/io.h
  43. 0 85
      sys/src/fs/choline/mem.h
  44. 0 147
      sys/src/fs/choline/mkfile
  45. 0 773
      sys/src/fs/dev/apc.c
  46. 0 2271
      sys/src/fs/dev/cw.c
  47. 0 106
      sys/src/fs/dev/fworm.c
  48. 0 1153
      sys/src/fs/dev/juke.c
  49. 0 3
      sys/src/fs/dev/mkfile
  50. 0 283
      sys/src/fs/dev/mworm.c
  51. 0 132
      sys/src/fs/dev/wren.c
  52. 0 68
      sys/src/fs/doc/changes
  53. 0 28
      sys/src/fs/doc/words
  54. 0 128
      sys/src/fs/doc/worm.fs
  55. 0 81
      sys/src/fs/doc/worm.fs64
  56. 0 150
      sys/src/fs/doc/worms.32-bit
  57. 0 177
      sys/src/fs/emelie/9emeliefs.c
  58. 0 35
      sys/src/fs/emelie/dat.h
  59. 0 87
      sys/src/fs/emelie/fns.h
  60. 0 247
      sys/src/fs/emelie/io.h
  61. 0 85
      sys/src/fs/emelie/mem.h
  62. 0 147
      sys/src/fs/emelie/mkfile
  63. 0 181
      sys/src/fs/fs/9fsfs.c
  64. 0 35
      sys/src/fs/fs/dat.h
  65. 0 87
      sys/src/fs/fs/fns.h
  66. 0 247
      sys/src/fs/fs/io.h
  67. 0 85
      sys/src/fs/fs/mem.h
  68. 0 147
      sys/src/fs/fs/mkfile
  69. 0 192
      sys/src/fs/fs64/9fsfs64.c
  70. 0 35
      sys/src/fs/fs64/dat.h
  71. 0 92
      sys/src/fs/fs64/fns.h
  72. 0 247
      sys/src/fs/fs64/io.h
  73. 0 89
      sys/src/fs/fs64/mem.h
  74. 0 146
      sys/src/fs/fs64/mkfile
  75. 0 515
      sys/src/fs/ip/arp.c
  76. 0 65
      sys/src/fs/ip/icmp.c
  77. 0 1069
      sys/src/fs/ip/il.c
  78. 0 235
      sys/src/fs/ip/ip.c
  79. 0 286
      sys/src/fs/ip/ip.h
  80. 0 76
      sys/src/fs/ip/ipaux.c
  81. 0 425
      sys/src/fs/ip/iproute.c
  82. 0 3
      sys/src/fs/ip/mkfile
  83. 0 247
      sys/src/fs/ip/sntp.c
  84. 0 47
      sys/src/fs/ip/udp.c
  85. 0 25
      sys/src/fs/mkfile
  86. 0 382
      sys/src/fs/pc/8250.c
  87. 0 351
      sys/src/fs/pc/8253.c
  88. 0 101
      sys/src/fs/pc/cga.c
  89. 0 107
      sys/src/fs/pc/compat.c
  90. 0 86
      sys/src/fs/pc/compat.h
  91. 0 858
      sys/src/fs/pc/dosfs.c
  92. 0 107
      sys/src/fs/pc/dosfs.h
  93. 0 1426
      sys/src/fs/pc/ether2114x.c
  94. 0 775
      sys/src/fs/pc/ether8139.c
  95. 0 1133
      sys/src/fs/pc/ether8169.c
  96. 0 1363
      sys/src/fs/pc/ether82557.c
  97. 0 1112
      sys/src/fs/pc/ether82563.c
  98. 0 1136
      sys/src/fs/pc/ether83815.c
  99. 0 1363
      sys/src/fs/pc/ether83815.mii.c
  100. 0 4
      sys/src/fs/pc/etherdat.h

+ 44 - 213
dist/replica/_plan9.db

@@ -1,8 +1,8 @@
 386 - 20000000775 sys sys 1010957353 0
 386/9load - 775 sys sys 1181763625 313856
-386/9loaddebug - 775 sys sys 1187321104 435045
+386/9loaddebug - 775 sys sys 1188593351 435045
 386/9loadlite - 775 sys sys 1176519517 137148
-386/9loadlitedebug - 775 sys sys 1186776564 220555
+386/9loadlitedebug - 775 sys sys 1188593356 220555
 386/9pc - 775 sys sys 1186023393 1937795
 386/9pc.gz - 664 sys sys 1186023393 829787
 386/9pccpu - 775 sys sys 1186023409 1657423
@@ -18,7 +18,7 @@
 386/bin/8l - 775 sys sys 1148500567 115711
 386/bin/9660srv - 775 sys sys 1168402261 104975
 386/bin/aan - 775 sys sys 1184731221 129822
-386/bin/acid - 775 sys sys 1181507261 405141
+386/bin/acid - 775 sys sys 1188530145 405176
 386/bin/acme - 775 sys sys 1187925279 431027
 386/bin/ape - 20000000775 sys sys 1016944144 0
 386/bin/ape/basename - 775 sys sys 1173754547 134719
@@ -117,7 +117,7 @@
 386/bin/aux/mklatinkbd - 775 sys sys 1168402282 64407
 386/bin/aux/mnihongo - 775 sys sys 1179372074 140068
 386/bin/aux/mouse - 775 sys sys 1148500597 44061
-386/bin/aux/ms2 - 775 sys sys 1178939751 88464
+386/bin/aux/ms2 - 775 sys sys 1188530147 88499
 386/bin/aux/msexceltables - 775 sys sys 1168402283 82921
 386/bin/aux/mswordstrings - 775 sys sys 1168402283 65541
 386/bin/aux/na - 775 sys sys 1168402284 154423
@@ -231,7 +231,7 @@
 386/bin/faces - 775 sys sys 1181507266 193265
 386/bin/factor - 775 sys sys 1168402307 61699
 386/bin/fcp - 775 sys sys 1168402307 82433
-386/bin/file - 775 sys sys 1178939751 128125
+386/bin/file - 775 sys sys 1188530150 128160
 386/bin/fmt - 775 sys sys 1168402307 65567
 386/bin/fortune - 775 sys sys 1168402308 67356
 386/bin/fossil - 20000000775 sys sys 1042005470 0
@@ -321,8 +321,8 @@
 386/bin/join - 775 sys sys 1168402330 114382
 386/bin/jpg - 775 sys sys 1179372097 174971
 386/bin/kbmap - 775 sys sys 1179372097 144063
-386/bin/kprof - 775 sys sys 1178939752 106496
-386/bin/ktrace - 775 sys sys 1178939752 124176
+386/bin/kprof - 775 sys sys 1188530153 106531
+386/bin/ktrace - 775 sys sys 1188530155 124211
 386/bin/lens - 775 sys sys 1179372097 151167
 386/bin/lex - 775 sys sys 1168402332 99261
 386/bin/lnfs - 775 sys sys 1188447258 100597
@@ -340,12 +340,12 @@
 386/bin/mug - 775 sys sys 1179372099 176427
 386/bin/mv - 775 sys sys 1168402336 66629
 386/bin/ndb - 20000000775 sys sys 985743147 0
-386/bin/ndb/cs - 775 sys sys 1184529902 149014
+386/bin/ndb/cs - 775 sys sys 1188530160 148982
 386/bin/ndb/csquery - 775 sys sys 1176488418 61652
-386/bin/ndb/dns - 775 sys sys 1186716659 294300
-386/bin/ndb/dnsdebug - 775 sys sys 1186716660 269466
+386/bin/ndb/dns - 775 sys sys 1188530167 294302
+386/bin/ndb/dnsdebug - 775 sys sys 1188530173 269468
 386/bin/ndb/dnsquery - 775 sys sys 1185334136 64350
-386/bin/ndb/dnstcp - 775 sys sys 1186716661 267315
+386/bin/ndb/dnstcp - 775 sys sys 1188530179 267317
 386/bin/ndb/ipquery - 775 sys sys 1178568296 95524
 386/bin/ndb/mkdb - 775 sys sys 1168402340 64211
 386/bin/ndb/mkhash - 775 sys sys 1178568296 83312
@@ -355,7 +355,7 @@
 386/bin/netstat - 775 sys sys 1169612032 85184
 386/bin/news - 775 sys sys 1168402341 71956
 386/bin/nfs - 775 sys sys 1184731239 320151
-386/bin/nm - 775 sys sys 1178939752 130155
+386/bin/nm - 775 sys sys 1188530182 130190
 386/bin/nntpfs - 775 sys sys 1179372100 165285
 386/bin/ns - 775 sys sys 1168402343 65492
 386/bin/p - 775 sys sys 1168402343 65220
@@ -373,7 +373,7 @@
 386/bin/ppm - 775 sys sys 1179372101 149813
 386/bin/pr - 775 sys sys 1178568298 76251
 386/bin/primes - 775 sys sys 1172289653 63329
-386/bin/prof - 775 sys sys 1178939753 111959
+386/bin/prof - 775 sys sys 1188530184 111994
 386/bin/proof - 775 sys sys 1179372102 179158
 386/bin/ps - 775 sys sys 1168402346 68812
 386/bin/pwd - 775 sys sys 1148500685 36932
@@ -402,10 +402,10 @@
 386/bin/sed - 775 sys sys 1182482483 90481
 386/bin/seq - 775 sys sys 1162241047 38441
 386/bin/sha1sum - 775 sys sys 1188447277 62293
-386/bin/size - 775 sys sys 1178939753 79772
+386/bin/size - 775 sys sys 1188530186 79807
 386/bin/sleep - 775 sys sys 1158088708 3875
-386/bin/snap - 775 sys sys 1178939753 316147
-386/bin/snapfs - 775 sys sys 1179372105 390366
+386/bin/snap - 775 sys sys 1188530194 316182
+386/bin/snapfs - 775 sys sys 1188530202 390401
 386/bin/sniffer - 775 sys sys 1038443185 99028
 386/bin/snoopy - 775 sys sys 1187639427 190560
 386/bin/sort - 775 sys sys 1178568303 81057
@@ -418,7 +418,7 @@
 386/bin/sshnet - 775 sys sys 1188447288 289170
 386/bin/stats - 775 sys sys 1179372106 191091
 386/bin/strings - 775 sys sys 1168402350 62855
-386/bin/strip - 775 sys sys 1178939754 81761
+386/bin/strip - 775 sys sys 1188530204 81796
 386/bin/sum - 775 sys sys 1148500691 39505
 386/bin/swap - 775 sys sys 1168402350 62373
 386/bin/syscall - 775 sys sys 1178568305 73944
@@ -438,7 +438,7 @@
 386/bin/topng - 775 sys sys 1178568307 137219
 386/bin/toppm - 775 sys sys 1179372107 165664
 386/bin/touch - 775 sys sys 1178568308 62586
-386/bin/tprof - 775 sys sys 1178939755 300947
+386/bin/tprof - 775 sys sys 1188530211 300982
 386/bin/tr - 775 sys sys 1168402355 62088
 386/bin/trace - 775 sys sys 1184731242 180520
 386/bin/troff - 775 sys sys 1178853709 361158
@@ -472,8 +472,8 @@
 386/bin/upas/runq - 775 sys sys 1178568314 112842
 386/bin/upas/scanmail - 775 sys sys 1181507271 128207
 386/bin/upas/send - 775 sys sys 1181507272 192174
-386/bin/upas/smtp - 775 sys sys 1188447319 275145
-386/bin/upas/smtpd - 775 sys sys 1188447327 331945
+386/bin/upas/smtp - 775 sys sys 1188530218 275629
+386/bin/upas/smtpd - 775 sys sys 1188530227 332030
 386/bin/upas/spam - 775 sys sys 1064598366 36
 386/bin/upas/testscan - 775 sys sys 1181507272 83858
 386/bin/upas/token - 775 sys sys 1188447329 73042
@@ -564,7 +564,7 @@
 386/lib/libhttpd.a - 664 sys sys 1188447451 99734
 386/lib/libip.a - 664 sys sys 1187061208 34710
 386/lib/libl.a - 664 sys sys 1168402367 5372
-386/lib/libmach.a - 664 sys sys 1184380786 807390
+386/lib/libmach.a - 664 sys sys 1188530244 807480
 386/lib/libmemdraw.a - 664 sys sys 1168402369 284092
 386/lib/libmemlayer.a - 664 sys sys 1168402369 47360
 386/lib/libmp.a - 664 sys sys 1188447454 79978
@@ -5242,7 +5242,7 @@ lib/ndb/consoledb - 664 sys sys 960222421 95
 lib/ndb/dhcp - 20000000775 sys sys 1020895764 0
 lib/ndb/dnsdump - 664 sys sys 1032057649 61
 lib/ndb/local - 664 sys sys 1077723747 292
-lib/ndb/local.complicated - 664 sys sys 1105461604 2976
+lib/ndb/local.complicated - 664 sys sys 1188534891 2946
 lib/ndb/nfs - 664 sys sys 954036707 113
 lib/news - 20000000775 sys sys 1020895764 0
 lib/pci - 664 sys sys 1160617172 206912
@@ -7650,7 +7650,7 @@ sys/man/3/ether - 664 sys sys 1178597986 2890
 sys/man/3/floppy - 664 sys sys 954378905 881
 sys/man/3/fs - 664 sys sys 1186946771 3159
 sys/man/3/i82365 - 664 sys sys 954378906 884
-sys/man/3/ip - 664 sys sys 1188520355 25466
+sys/man/3/ip - 664 sys sys 1188581755 25468
 sys/man/3/kbmap - 664 sys sys 1131110122 1732
 sys/man/3/kprof - 664 sys sys 1018029972 1377
 sys/man/3/loopback - 664 sys sys 964662153 1995
@@ -7687,7 +7687,7 @@ sys/man/4/exportfs - 664 sys sys 1145881912 4655
 sys/man/4/ext2srv - 664 sys sys 1055692986 2409
 sys/man/4/factotum - 664 sys sys 1187721636 14843
 sys/man/4/fossil - 664 sys sys 1186820346 9592
-sys/man/4/fs - 664 sys sys 1188520557 3427
+sys/man/4/fs - 664 sys sys 1188531555 3441
 sys/man/4/ftpfs - 664 sys sys 1112563349 4410
 sys/man/4/httpfile - 664 sys sys 1128556957 1233
 sys/man/4/import - 664 sys sys 1179442944 3272
@@ -7795,7 +7795,7 @@ sys/man/8/disksim - 664 sys sys 1144150487 1476
 sys/man/8/drawterm - 664 sys sys 1181675938 1921
 sys/man/8/fossilcons - 664 sys sys 1187134504 18542
 sys/man/8/fs - 664 sys sys 1172956177 15086
-sys/man/8/fsconfig - 664 sys sys 1172956534 8878
+sys/man/8/fsconfig - 664 sys sys 1188530378 8890
 sys/man/8/fshalt - 664 sys sys 1173737264 862
 sys/man/8/getflags - 664 sys sys 1159419702 1713
 sys/man/8/gpsfs - 664 sys sys 1165623047 4918
@@ -7858,8 +7858,8 @@ sys/man/vol1.ps.gz - 664 sys sys 1020374752 2174519
 sys/src - 20000000775 sys sys 1140114432 0
 sys/src/9 - 20000000775 sys sys 1063857477 0
 sys/src/9/alphapc - 20000000775 sys sys 1137179966 0
-sys/src/9/alphapc/apc - 664 sys sys 1131289706 630
-sys/src/9/alphapc/apccpu - 664 sys sys 1142958706 532
+sys/src/9/alphapc/apc - 664 sys sys 1188582377 622
+sys/src/9/alphapc/apccpu - 664 sys sys 1188582377 524
 sys/src/9/alphapc/arch164.c - 664 sys sys 1173386682 6082
 sys/src/9/alphapc/audio.h - 664 sys sys 1015012783 349
 sys/src/9/alphapc/axp.h - 664 sys sys 1015012783 1090
@@ -7895,7 +7895,7 @@ sys/src/9/alphapc/sio.c - 664 sys sys 1015012787 293
 sys/src/9/alphapc/trap.c - 664 sys sys 1105030177 18099
 sys/src/9/bitsy - 20000000775 sys sys 1138505096 0
 sys/src/9/bitsy/Booting101 - 664 sys sys 1054798506 8841
-sys/src/9/bitsy/bitsy - 664 sys sys 1067722592 424
+sys/src/9/bitsy/bitsy - 664 sys sys 1188582377 420
 sys/src/9/bitsy/bitsyreset.s - 664 sys sys 1017695510 2352
 sys/src/9/bitsy/clock.c - 664 sys sys 1037028998 4835
 sys/src/9/bitsy/dat.h - 664 sys sys 1143129783 5829
@@ -7975,10 +7975,9 @@ sys/src/9/ip/gre.c - 664 sys sys 1187045851 5103
 sys/src/9/ip/icmp.c - 664 sys sys 1184946959 9498
 sys/src/9/ip/icmp6.c - 664 sys sys 1187036525 18131
 sys/src/9/ip/igmp.c - 664 sys sys 1055700768 5175
-sys/src/9/ip/il.c - 664 sys sys 1184946959 27225
 sys/src/9/ip/inferno.c - 664 sys sys 1022588098 517
 sys/src/9/ip/ip.c - 664 sys sys 1187735970 14553
-sys/src/9/ip/ip.h - 664 sys sys 1187735964 16671
+sys/src/9/ip/ip.h - 664 sys sys 1188581813 16639
 sys/src/9/ip/ipaux.c - 664 sys sys 1185486678 12341
 sys/src/9/ip/ipifc.c - 664 sys sys 1184794851 34006
 sys/src/9/ip/ipmux.c - 664 sys sys 1187047550 14991
@@ -7987,7 +7986,7 @@ sys/src/9/ip/ipv6.c - 664 sys sys 1187735957 14226
 sys/src/9/ip/ipv6.h - 664 sys sys 1187735924 4301
 sys/src/9/ip/loopbackmedium.c - 664 sys sys 1055701769 1671
 sys/src/9/ip/netdevmedium.c - 664 sys sys 1045063517 2675
-sys/src/9/ip/netlog.c - 664 sys sys 1184794933 4004
+sys/src/9/ip/netlog.c - 664 sys sys 1188581818 3953
 sys/src/9/ip/nullmedium.c - 664 sys sys 1086406910 492
 sys/src/9/ip/pktmedium.c - 664 sys sys 1084331746 1314
 sys/src/9/ip/ptclbsum.c - 664 sys sys 1022588099 1243
@@ -8016,8 +8015,8 @@ sys/src/9/mtx/main.c - 664 sys sys 1131289814 8307
 sys/src/9/mtx/mem.h - 664 sys sys 1026848200 5959
 sys/src/9/mtx/mkfile - 664 sys sys 1173788325 1612
 sys/src/9/mtx/mmu.c - 664 sys sys 1173788325 4695
-sys/src/9/mtx/mtx - 664 sys sys 1056336297 416
-sys/src/9/mtx/mtxcpu - 664 sys sys 1039753442 421
+sys/src/9/mtx/mtx - 664 sys sys 1188582377 408
+sys/src/9/mtx/mtxcpu - 664 sys sys 1188582378 413
 sys/src/9/mtx/pci.c - 664 sys sys 1087657434 16662
 sys/src/9/mtx/random.c - 664 sys sys 1036813598 1983
 sys/src/9/mtx/raven.c - 664 sys sys 1018721288 2587
@@ -8097,15 +8096,15 @@ sys/src/9/pc/mouse.c - 664 sys sys 1098479254 7057
 sys/src/9/pc/mp.c - 664 sys sys 1162388126 17349
 sys/src/9/pc/mp.h - 664 sys sys 1173288116 6799
 sys/src/9/pc/nv_dma.h - 664 sys sys 1081384508 12943
-sys/src/9/pc/pc - 664 sys sys 1143768293 1452
-sys/src/9/pc/pcauth - 664 sys sys 1131907692 715
-sys/src/9/pc/pccd - 664 sys sys 1158061762 1466
-sys/src/9/pc/pccpu - 664 sys sys 1155674606 925
-sys/src/9/pc/pccpuf - 664 sys sys 1155674479 1532
-sys/src/9/pc/pcdisk - 664 sys sys 1161302470 1495
-sys/src/9/pc/pcf - 664 sys sys 1161302469 1553
-sys/src/9/pc/pcfl - 664 sys sys 1161302470 1587
-sys/src/9/pc/pcflop - 664 sys sys 1158061762 1513
+sys/src/9/pc/pc - 664 sys sys 1188582378 1444
+sys/src/9/pc/pcauth - 664 sys sys 1188582378 707
+sys/src/9/pc/pccd - 664 sys sys 1188582378 1458
+sys/src/9/pc/pccpu - 664 sys sys 1188582378 917
+sys/src/9/pc/pccpuf - 664 sys sys 1188582378 1524
+sys/src/9/pc/pcdisk - 664 sys sys 1188582378 1487
+sys/src/9/pc/pcf - 664 sys sys 1188582378 1545
+sys/src/9/pc/pcfl - 664 sys sys 1188582378 1579
+sys/src/9/pc/pcflop - 664 sys sys 1188582378 1509
 sys/src/9/pc/pci.c - 664 sys sys 1185452613 29418
 sys/src/9/pc/pcmciamodem.c - 664 sys sys 1099761153 1586
 sys/src/9/pc/pcmkfile - 664 sys sys 1109303822 101
@@ -8251,7 +8250,7 @@ sys/src/9/port/tod.c - 664 sys sys 1146746630 5377
 sys/src/9/port/unthwack.c - 664 sys sys 1057323394 5249
 sys/src/9/port/xalloc.c - 664 sys sys 1169491770 4289
 sys/src/9/ppc - 20000000775 sys sys 1123676466 0
-sys/src/9/ppc/blast - 664 sys sys 1107436310 670
+sys/src/9/ppc/blast - 664 sys sys 1188582378 662
 sys/src/9/ppc/blast.h - 664 sys sys 1059490750 3109
 sys/src/9/ppc/clock.c - 664 sys sys 1131290066 1076
 sys/src/9/ppc/dat.h - 664 sys sys 1127274100 4735
@@ -8284,7 +8283,7 @@ sys/src/9/ppc/saturntimer.c - 664 sys sys 1072705482 1737
 sys/src/9/ppc/trap.c - 664 sys sys 1138469503 17084
 sys/src/9/ppc/uartsaturn.c - 664 sys sys 1059490754 7151
 sys/src/9/ppc/uartsmc.c - 664 sys sys 1131290162 9764
-sys/src/9/ppc/ucu - 664 sys sys 1067722849 672
+sys/src/9/ppc/ucu - 664 sys sys 1188582378 664
 sys/src/9/ppc/ucu.h - 664 sys sys 1059490754 531
 sys/src/NOTICE - 444 sys sys 1018803112 63
 sys/src/ape - 20000000775 sys sys 1039727537 0
@@ -12758,7 +12757,7 @@ sys/src/cmd/ndb/convDNS2M.c - 664 sys sys 1182554015 7035
 sys/src/cmd/ndb/convM2DNS.c - 664 sys sys 1186081796 11679
 sys/src/cmd/ndb/cs.c - 664 sys sys 1188515063 32892
 sys/src/cmd/ndb/csquery.c - 664 sys sys 1174626119 1073
-sys/src/cmd/ndb/dblookup.c - 664 sys sys 1188515055 25030
+sys/src/cmd/ndb/dblookup.c - 664 sys sys 1188581123 25260
 sys/src/cmd/ndb/dn.c - 664 sys sys 1186704098 36512
 sys/src/cmd/ndb/dnarea.c - 664 sys sys 1175664421 2519
 sys/src/cmd/ndb/dnnotify.c - 664 sys sys 1183866408 3217
@@ -14433,154 +14432,6 @@ sys/src/cmd/wikifs/wiki2text.c - 664 sys sys 1018211094 779
 sys/src/cmd/winwatch.c - 664 sys sys 1113312596 4869
 sys/src/cmd/xd.c - 664 sys sys 1124993597 5770
 sys/src/cmd/yacc.c - 664 sys sys 1161442160 58076
-sys/src/fs - 20000000775 sys sys 1140168020 0
-sys/src/fs/9netics32.16k - 20000000775 sys sys 1151739121 0
-sys/src/fs/9netics32.16k/9net32.16kfs.c - 664 sys sys 1140167903 3208
-sys/src/fs/9netics32.16k/dat.h - 664 sys sys 1140167904 612
-sys/src/fs/9netics32.16k/fns.h - 664 sys sys 1172679928 2168
-sys/src/fs/9netics32.16k/io.h - 664 sys sys 1157939328 6720
-sys/src/fs/9netics32.16k/mem.h - 664 sys sys 1140167906 2907
-sys/src/fs/9netics32.16k/mkfile - 664 sys sys 1157938805 1644
-sys/src/fs/9netics64.8k - 20000000775 sys sys 1151739122 0
-sys/src/fs/9netics64.8k/9net64.8kfs.c - 664 sys sys 1140167920 3235
-sys/src/fs/9netics64.8k/dat.h - 664 sys sys 1095751680 611
-sys/src/fs/9netics64.8k/fns.h - 664 sys sys 1172679928 2168
-sys/src/fs/9netics64.8k/io.h - 664 sys sys 1157939328 6720
-sys/src/fs/9netics64.8k/mem.h - 664 sys sys 1140167924 2907
-sys/src/fs/9netics64.8k/mkfile - 664 sys sys 1157938855 1637
-sys/src/fs/GOING.AWAY - 664 sys sys 1188510006 63
-sys/src/fs/choline - 20000000775 sys sys 1151739703 0
-sys/src/fs/choline/9cholinefs.c - 664 sys sys 1140168020 2989
-sys/src/fs/choline/dat.h - 664 sys sys 1140168017 612
-sys/src/fs/choline/fns.h - 664 sys sys 1172679929 2168
-sys/src/fs/choline/io.h - 664 sys sys 1157939328 6720
-sys/src/fs/choline/mem.h - 664 sys sys 1140168019 2909
-sys/src/fs/choline/mkfile - 664 sys sys 1157938939 1780
-sys/src/fs/dev - 20000000775 sys sys 1140168396 0
-sys/src/fs/dev/apc.c - 664 sys sys 1140167918 14910
-sys/src/fs/dev/cw.c - 664 sys sys 1097712558 43252
-sys/src/fs/dev/fworm.c - 664 sys sys 1140167912 1845
-sys/src/fs/dev/juke.c - 664 sys sys 1174081264 22925
-sys/src/fs/dev/mkfile - 664 sys sys 1015109974 132
-sys/src/fs/dev/mworm.c - 664 sys sys 1140167915 4264
-sys/src/fs/dev/wren.c - 664 sys sys 1140167916 2392
-sys/src/fs/doc - 20000000775 sys sys 1146803945 0
-sys/src/fs/doc/changes - 664 sys sys 1140168029 2967
-sys/src/fs/doc/words - 664 sys sys 1146803821 1162
-sys/src/fs/doc/worm.fs - 664 sys sys 1140168030 4057
-sys/src/fs/doc/worm.fs64 - 664 sys sys 1101811981 1554
-sys/src/fs/doc/worms.32-bit - 664 sys sys 1140168032 2806
-sys/src/fs/emelie - 20000000775 sys sys 1151739662 0
-sys/src/fs/emelie/9emeliefs.c - 664 sys sys 1140168026 2989
-sys/src/fs/emelie/dat.h - 664 sys sys 1140168023 612
-sys/src/fs/emelie/fns.h - 664 sys sys 1172679929 2168
-sys/src/fs/emelie/io.h - 664 sys sys 1157939329 6720
-sys/src/fs/emelie/mem.h - 664 sys sys 1140168025 2909
-sys/src/fs/emelie/mkfile - 664 sys sys 1157938976 1779
-sys/src/fs/fs - 20000000775 sys sys 1151739222 0
-sys/src/fs/fs/9fsfs.c - 664 sys sys 1140168015 3308
-sys/src/fs/fs/dat.h - 664 sys sys 1140168010 611
-sys/src/fs/fs/fns.h - 664 sys sys 1172679929 2168
-sys/src/fs/fs/io.h - 664 sys sys 1157939329 6720
-sys/src/fs/fs/mem.h - 664 sys sys 1140168013 2909
-sys/src/fs/fs/mkfile - 664 sys sys 1178933399 1708
-sys/src/fs/fs64 - 20000000775 sys sys 1157943044 0
-sys/src/fs/fs64/9fsfs64.c - 664 sys sys 1151399221 3612
-sys/src/fs/fs64/dat.h - 664 sys sys 1140168005 611
-sys/src/fs/fs64/fns.h - 664 sys sys 1172679929 2330
-sys/src/fs/fs64/io.h - 664 sys sys 1157939329 6720
-sys/src/fs/fs64/mem.h - 664 sys sys 1151398965 3041
-sys/src/fs/fs64/mkfile - 664 sys sys 1178933399 1648
-sys/src/fs/ip - 20000000775 sys sys 1140167931 0
-sys/src/fs/ip/arp.c - 664 sys sys 1097578954 8696
-sys/src/fs/ip/icmp.c - 664 sys sys 1015109981 991
-sys/src/fs/ip/il.c - 664 sys sys 1140167928 19479
-sys/src/fs/ip/ip.c - 664 sys sys 1097578933 3859
-sys/src/fs/ip/ip.h - 664 sys sys 1140167930 6691
-sys/src/fs/ip/ipaux.c - 664 sys sys 1015109986 1041
-sys/src/fs/ip/iproute.c - 664 sys sys 1097579099 7386
-sys/src/fs/ip/mkfile - 664 sys sys 1015109988 127
-sys/src/fs/ip/sntp.c - 664 sys sys 1037805108 5539
-sys/src/fs/ip/udp.c - 664 sys sys 1015109990 754
-sys/src/fs/mkfile - 664 sys sys 1140167932 231
-sys/src/fs/pc - 20000000775 sys sys 1157938367 0
-sys/src/fs/pc/8250.c - 664 sys sys 1140161725 6957
-sys/src/fs/pc/8253.c - 664 sys sys 1097579039 7264
-sys/src/fs/pc/cga.c - 664 sys sys 1015110034 1484
-sys/src/fs/pc/compat.c - 664 sys sys 1140164905 1575
-sys/src/fs/pc/compat.h - 664 sys sys 1140774918 2578
-sys/src/fs/pc/dosfs.c - 664 sys sys 1146784976 16619
-sys/src/fs/pc/dosfs.h - 664 sys sys 1140167937 2696
-sys/src/fs/pc/ether2114x.c - 664 sys sys 1015110044 31874
-sys/src/fs/pc/ether8139.c - 664 sys sys 1086569718 18552
-sys/src/fs/pc/ether8169.c - 664 sys sys 1157939501 25385
-sys/src/fs/pc/ether82557.c - 664 sys sys 1154067789 30710
-sys/src/fs/pc/ether82563.c - 664 sys sys 1178933417 26994
-sys/src/fs/pc/ether83815.c - 664 sys sys 1140335463 26764
-sys/src/fs/pc/ether83815.mii.c - 664 sys sys 1049156663 31622
-sys/src/fs/pc/etherdat.h - 664 sys sys 1157938367 72
-sys/src/fs/pc/etherdp83820.c - 664 sys sys 1146355081 32045
-sys/src/fs/pc/etherelnk3.c - 664 sys sys 1015110054 42732
-sys/src/fs/pc/etherga620.c - 664 sys sys 1146785153 24748
-sys/src/fs/pc/etherga620fw.h - 664 sys sys 1032126775 222295
-sys/src/fs/pc/etherif.c - 664 sys sys 1178933411 6667
-sys/src/fs/pc/etherif.h - 664 sys sys 1015110057 730
-sys/src/fs/pc/etherigbe.c - 664 sys sys 1141208695 46676
-sys/src/fs/pc/etherm10g.c - 664 sys sys 1174594317 25743
-sys/src/fs/pc/etherm10g2k.i - 664 sys sys 1174590598 36
-sys/src/fs/pc/etherm10g4k.i - 664 sys sys 1174590598 36
-sys/src/fs/pc/ethermii.c - 664 sys sys 1140167954 4689
-sys/src/fs/pc/ethermii.h - 664 sys sys 1140167955 3259
-sys/src/fs/pc/floppy.c - 664 sys sys 1097579636 14022
-sys/src/fs/pc/kbd.c - 664 sys sys 1015110060 6030
-sys/src/fs/pc/l.s - 664 sys sys 1096008336 10838
-sys/src/fs/pc/lock.c - 664 sys sys 1173736177 3672
-sys/src/fs/pc/malloc.c - 664 sys sys 1096789023 2840
-sys/src/fs/pc/mkfile - 664 sys sys 1140167942 426
-sys/src/fs/pc/mmu.c - 664 sys sys 1015110065 8414
-sys/src/fs/pc/nvr.c - 664 sys sys 1015110066 669
-sys/src/fs/pc/pc.c - 664 sys sys 1151401114 8004
-sys/src/fs/pc/pci.c - 664 sys sys 1157938218 12271
-sys/src/fs/pc/script.i - 664 sys sys 1015110072 27323
-sys/src/fs/pc/scsi.c - 664 sys sys 1151385561 8701
-sys/src/fs/pc/scsibuslogic.c - 664 sys sys 1015110077 28645
-sys/src/fs/pc/scsincr53c8xx.c - 664 sys sys 1146798658 53619
-sys/src/fs/pc/sdata.c - 664 sys sys 1178933365 64719
-sys/src/fs/pc/sdmv50xx.c - 664 sys sys 1151486130 39434
-sys/src/fs/pc/sdscsi.c - 664 sys sys 1146786984 7017
-sys/src/fs/pc/toy.c - 664 sys sys 1140167948 2166
-sys/src/fs/pc/trap.c - 664 sys sys 1173300812 7998
-sys/src/fs/port - 20000000775 sys sys 1151739200 0
-sys/src/fs/port/9p1.c - 664 sys sys 1140167971 29982
-sys/src/fs/port/9p1.h - 664 sys sys 1140167972 2128
-sys/src/fs/port/9p1lib.c - 664 sys sys 1101627232 7911
-sys/src/fs/port/9p2.c - 664 sys sys 1174941740 36357
-sys/src/fs/port/all.h - 664 sys sys 1146798594 1888
-sys/src/fs/port/auth.c - 664 sys sys 1146785221 7606
-sys/src/fs/port/chk.c - 664 sys sys 1097832483 15683
-sys/src/fs/port/clock.c - 664 sys sys 1097580538 4033
-sys/src/fs/port/con.c - 664 sys sys 1173736129 16296
-sys/src/fs/port/config.c - 664 sys sys 1157944410 20574
-sys/src/fs/port/console.c - 664 sys sys 1101627646 4886
-sys/src/fs/port/data.c - 664 sys sys 1140167986 4510
-sys/src/fs/port/dentry.c - 664 sys sys 1098156404 6345
-sys/src/fs/port/devcons.c - 664 sys sys 1157942528 4896
-sys/src/fs/port/devsd.c - 664 sys sys 1178933380 15116
-sys/src/fs/port/fcmd.c - 664 sys sys 1146785267 1255
-sys/src/fs/port/fs.h - 664 sys sys 1140168001 682
-sys/src/fs/port/iobuf.c - 664 sys sys 1140167988 4956
-sys/src/fs/port/lib.h - 664 sys sys 1146798595 3791
-sys/src/fs/port/lrand.c - 664 sys sys 1091803568 1093
-sys/src/fs/port/main.c - 664 sys sys 1157943089 7931
-sys/src/fs/port/mkfile - 664 sys sys 1140167991 214
-sys/src/fs/port/portdat.h - 664 sys sys 1151312767 19739
-sys/src/fs/port/portfns.h - 664 sys sys 1140167994 7526
-sys/src/fs/port/print.c - 664 sys sys 1015110022 153
-sys/src/fs/port/proc.c - 664 sys sys 1097580775 5364
-sys/src/fs/port/sd.h - 664 sys sys 1140774087 2305
-sys/src/fs/port/sub.c - 664 sys sys 1151380380 25860
-sys/src/fs/port/time.c - 664 sys sys 1173736121 6443
-sys/src/fs/port/uidgid.c - 664 sys sys 1097574050 9192
 sys/src/games - 20000000775 sys sys 1128271724 0
 sys/src/games/4s.c - 664 sys sys 1128271724 1285
 sys/src/games/5s.c - 664 sys sys 1128271724 3621
@@ -15780,23 +15631,3 @@ usr/glenda/lib/profile - 664 glenda glenda 1105128663 890
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/tmp - 20000000775 glenda glenda 1018802620 0
-386/bin/acid - 775 sys sys 1188530145 405176
-386/bin/snap - 775 sys sys 1188530194 316182
-386/bin/snapfs - 775 sys sys 1188530202 390401
-386/bin/file - 775 sys sys 1188530150 128160
-386/bin/kprof - 775 sys sys 1188530153 106531
-386/bin/ktrace - 775 sys sys 1188530155 124211
-386/bin/nm - 775 sys sys 1188530182 130190
-386/bin/prof - 775 sys sys 1188530184 111994
-386/bin/size - 775 sys sys 1188530186 79807
-386/bin/strip - 775 sys sys 1188530204 81796
-386/bin/aux/ms2 - 775 sys sys 1188530147 88499
-386/bin/ndb/cs - 775 sys sys 1188530160 148982
-386/bin/ndb/dns - 775 sys sys 1188530167 294302
-386/bin/ndb/dnsdebug - 775 sys sys 1188530173 269468
-386/bin/ndb/dnstcp - 775 sys sys 1188530179 267317
-386/bin/tprof - 775 sys sys 1188530211 300982
-386/bin/upas/smtp - 775 sys sys 1188530218 275629
-386/bin/upas/smtpd - 775 sys sys 1188530227 332030
-386/lib/libmach.a - 664 sys sys 1188530244 807480
-sys/man/8/fsconfig - 664 sys sys 1188530378 8890

+ 24 - 173
dist/replica/plan9.db

@@ -1,8 +1,8 @@
 386 - 20000000775 sys sys 1010957353 0
 386/9load - 775 sys sys 1181763625 313856
-386/9loaddebug - 775 sys sys 1187321104 435045
+386/9loaddebug - 775 sys sys 1188593351 435045
 386/9loadlite - 775 sys sys 1176519517 137148
-386/9loadlitedebug - 775 sys sys 1186776564 220555
+386/9loadlitedebug - 775 sys sys 1188593356 220555
 386/9pc - 775 sys sys 1186023393 1937795
 386/9pc.gz - 664 sys sys 1186023393 829787
 386/9pccpu - 775 sys sys 1186023409 1657423
@@ -5242,7 +5242,7 @@ lib/ndb/consoledb - 664 sys sys 960222421 95
 lib/ndb/dhcp - 20000000775 sys sys 1020895764 0
 lib/ndb/dnsdump - 664 sys sys 1032057649 61
 lib/ndb/local - 664 sys sys 1077723747 292
-lib/ndb/local.complicated - 664 sys sys 1105461604 2976
+lib/ndb/local.complicated - 664 sys sys 1188534891 2946
 lib/ndb/nfs - 664 sys sys 954036707 113
 lib/news - 20000000775 sys sys 1020895764 0
 lib/pci - 664 sys sys 1160617172 206912
@@ -7650,7 +7650,7 @@ sys/man/3/ether - 664 sys sys 1178597986 2890
 sys/man/3/floppy - 664 sys sys 954378905 881
 sys/man/3/fs - 664 sys sys 1186946771 3159
 sys/man/3/i82365 - 664 sys sys 954378906 884
-sys/man/3/ip - 664 sys sys 1188520355 25466
+sys/man/3/ip - 664 sys sys 1188581755 25468
 sys/man/3/kbmap - 664 sys sys 1131110122 1732
 sys/man/3/kprof - 664 sys sys 1018029972 1377
 sys/man/3/loopback - 664 sys sys 964662153 1995
@@ -7687,7 +7687,7 @@ sys/man/4/exportfs - 664 sys sys 1145881912 4655
 sys/man/4/ext2srv - 664 sys sys 1055692986 2409
 sys/man/4/factotum - 664 sys sys 1187721636 14843
 sys/man/4/fossil - 664 sys sys 1186820346 9592
-sys/man/4/fs - 664 sys sys 1188520557 3427
+sys/man/4/fs - 664 sys sys 1188531555 3441
 sys/man/4/ftpfs - 664 sys sys 1112563349 4410
 sys/man/4/httpfile - 664 sys sys 1128556957 1233
 sys/man/4/import - 664 sys sys 1179442944 3272
@@ -7858,8 +7858,8 @@ sys/man/vol1.ps.gz - 664 sys sys 1020374752 2174519
 sys/src - 20000000775 sys sys 1140114432 0
 sys/src/9 - 20000000775 sys sys 1063857477 0
 sys/src/9/alphapc - 20000000775 sys sys 1137179966 0
-sys/src/9/alphapc/apc - 664 sys sys 1131289706 630
-sys/src/9/alphapc/apccpu - 664 sys sys 1142958706 532
+sys/src/9/alphapc/apc - 664 sys sys 1188582377 622
+sys/src/9/alphapc/apccpu - 664 sys sys 1188582377 524
 sys/src/9/alphapc/arch164.c - 664 sys sys 1173386682 6082
 sys/src/9/alphapc/audio.h - 664 sys sys 1015012783 349
 sys/src/9/alphapc/axp.h - 664 sys sys 1015012783 1090
@@ -7895,7 +7895,7 @@ sys/src/9/alphapc/sio.c - 664 sys sys 1015012787 293
 sys/src/9/alphapc/trap.c - 664 sys sys 1105030177 18099
 sys/src/9/bitsy - 20000000775 sys sys 1138505096 0
 sys/src/9/bitsy/Booting101 - 664 sys sys 1054798506 8841
-sys/src/9/bitsy/bitsy - 664 sys sys 1067722592 424
+sys/src/9/bitsy/bitsy - 664 sys sys 1188582377 420
 sys/src/9/bitsy/bitsyreset.s - 664 sys sys 1017695510 2352
 sys/src/9/bitsy/clock.c - 664 sys sys 1037028998 4835
 sys/src/9/bitsy/dat.h - 664 sys sys 1143129783 5829
@@ -7975,10 +7975,9 @@ sys/src/9/ip/gre.c - 664 sys sys 1187045851 5103
 sys/src/9/ip/icmp.c - 664 sys sys 1184946959 9498
 sys/src/9/ip/icmp6.c - 664 sys sys 1187036525 18131
 sys/src/9/ip/igmp.c - 664 sys sys 1055700768 5175
-sys/src/9/ip/il.c - 664 sys sys 1184946959 27225
 sys/src/9/ip/inferno.c - 664 sys sys 1022588098 517
 sys/src/9/ip/ip.c - 664 sys sys 1187735970 14553
-sys/src/9/ip/ip.h - 664 sys sys 1187735964 16671
+sys/src/9/ip/ip.h - 664 sys sys 1188581813 16639
 sys/src/9/ip/ipaux.c - 664 sys sys 1185486678 12341
 sys/src/9/ip/ipifc.c - 664 sys sys 1184794851 34006
 sys/src/9/ip/ipmux.c - 664 sys sys 1187047550 14991
@@ -7987,7 +7986,7 @@ sys/src/9/ip/ipv6.c - 664 sys sys 1187735957 14226
 sys/src/9/ip/ipv6.h - 664 sys sys 1187735924 4301
 sys/src/9/ip/loopbackmedium.c - 664 sys sys 1055701769 1671
 sys/src/9/ip/netdevmedium.c - 664 sys sys 1045063517 2675
-sys/src/9/ip/netlog.c - 664 sys sys 1184794933 4004
+sys/src/9/ip/netlog.c - 664 sys sys 1188581818 3953
 sys/src/9/ip/nullmedium.c - 664 sys sys 1086406910 492
 sys/src/9/ip/pktmedium.c - 664 sys sys 1084331746 1314
 sys/src/9/ip/ptclbsum.c - 664 sys sys 1022588099 1243
@@ -8016,8 +8015,8 @@ sys/src/9/mtx/main.c - 664 sys sys 1131289814 8307
 sys/src/9/mtx/mem.h - 664 sys sys 1026848200 5959
 sys/src/9/mtx/mkfile - 664 sys sys 1173788325 1612
 sys/src/9/mtx/mmu.c - 664 sys sys 1173788325 4695
-sys/src/9/mtx/mtx - 664 sys sys 1056336297 416
-sys/src/9/mtx/mtxcpu - 664 sys sys 1039753442 421
+sys/src/9/mtx/mtx - 664 sys sys 1188582377 408
+sys/src/9/mtx/mtxcpu - 664 sys sys 1188582378 413
 sys/src/9/mtx/pci.c - 664 sys sys 1087657434 16662
 sys/src/9/mtx/random.c - 664 sys sys 1036813598 1983
 sys/src/9/mtx/raven.c - 664 sys sys 1018721288 2587
@@ -8097,15 +8096,15 @@ sys/src/9/pc/mouse.c - 664 sys sys 1098479254 7057
 sys/src/9/pc/mp.c - 664 sys sys 1162388126 17349
 sys/src/9/pc/mp.h - 664 sys sys 1173288116 6799
 sys/src/9/pc/nv_dma.h - 664 sys sys 1081384508 12943
-sys/src/9/pc/pc - 664 sys sys 1143768293 1452
-sys/src/9/pc/pcauth - 664 sys sys 1131907692 715
-sys/src/9/pc/pccd - 664 sys sys 1158061762 1466
-sys/src/9/pc/pccpu - 664 sys sys 1155674606 925
-sys/src/9/pc/pccpuf - 664 sys sys 1155674479 1532
-sys/src/9/pc/pcdisk - 664 sys sys 1161302470 1495
-sys/src/9/pc/pcf - 664 sys sys 1161302469 1553
-sys/src/9/pc/pcfl - 664 sys sys 1161302470 1587
-sys/src/9/pc/pcflop - 664 sys sys 1158061762 1513
+sys/src/9/pc/pc - 664 sys sys 1188582378 1444
+sys/src/9/pc/pcauth - 664 sys sys 1188582378 707
+sys/src/9/pc/pccd - 664 sys sys 1188582378 1458
+sys/src/9/pc/pccpu - 664 sys sys 1188582378 917
+sys/src/9/pc/pccpuf - 664 sys sys 1188582378 1524
+sys/src/9/pc/pcdisk - 664 sys sys 1188582378 1487
+sys/src/9/pc/pcf - 664 sys sys 1188582378 1545
+sys/src/9/pc/pcfl - 664 sys sys 1188582378 1579
+sys/src/9/pc/pcflop - 664 sys sys 1188582378 1509
 sys/src/9/pc/pci.c - 664 sys sys 1185452613 29418
 sys/src/9/pc/pcmciamodem.c - 664 sys sys 1099761153 1586
 sys/src/9/pc/pcmkfile - 664 sys sys 1109303822 101
@@ -8251,7 +8250,7 @@ sys/src/9/port/tod.c - 664 sys sys 1146746630 5377
 sys/src/9/port/unthwack.c - 664 sys sys 1057323394 5249
 sys/src/9/port/xalloc.c - 664 sys sys 1169491770 4289
 sys/src/9/ppc - 20000000775 sys sys 1123676466 0
-sys/src/9/ppc/blast - 664 sys sys 1107436310 670
+sys/src/9/ppc/blast - 664 sys sys 1188582378 662
 sys/src/9/ppc/blast.h - 664 sys sys 1059490750 3109
 sys/src/9/ppc/clock.c - 664 sys sys 1131290066 1076
 sys/src/9/ppc/dat.h - 664 sys sys 1127274100 4735
@@ -8284,7 +8283,7 @@ sys/src/9/ppc/saturntimer.c - 664 sys sys 1072705482 1737
 sys/src/9/ppc/trap.c - 664 sys sys 1138469503 17084
 sys/src/9/ppc/uartsaturn.c - 664 sys sys 1059490754 7151
 sys/src/9/ppc/uartsmc.c - 664 sys sys 1131290162 9764
-sys/src/9/ppc/ucu - 664 sys sys 1067722849 672
+sys/src/9/ppc/ucu - 664 sys sys 1188582378 664
 sys/src/9/ppc/ucu.h - 664 sys sys 1059490754 531
 sys/src/NOTICE - 444 sys sys 1018803112 63
 sys/src/ape - 20000000775 sys sys 1039727537 0
@@ -12758,7 +12757,7 @@ sys/src/cmd/ndb/convDNS2M.c - 664 sys sys 1182554015 7035
 sys/src/cmd/ndb/convM2DNS.c - 664 sys sys 1186081796 11679
 sys/src/cmd/ndb/cs.c - 664 sys sys 1188515063 32892
 sys/src/cmd/ndb/csquery.c - 664 sys sys 1174626119 1073
-sys/src/cmd/ndb/dblookup.c - 664 sys sys 1188515055 25030
+sys/src/cmd/ndb/dblookup.c - 664 sys sys 1188581123 25260
 sys/src/cmd/ndb/dn.c - 664 sys sys 1186704098 36512
 sys/src/cmd/ndb/dnarea.c - 664 sys sys 1175664421 2519
 sys/src/cmd/ndb/dnnotify.c - 664 sys sys 1183866408 3217
@@ -14433,154 +14432,6 @@ sys/src/cmd/wikifs/wiki2text.c - 664 sys sys 1018211094 779
 sys/src/cmd/winwatch.c - 664 sys sys 1113312596 4869
 sys/src/cmd/xd.c - 664 sys sys 1124993597 5770
 sys/src/cmd/yacc.c - 664 sys sys 1161442160 58076
-sys/src/fs - 20000000775 sys sys 1140168020 0
-sys/src/fs/9netics32.16k - 20000000775 sys sys 1151739121 0
-sys/src/fs/9netics32.16k/9net32.16kfs.c - 664 sys sys 1140167903 3208
-sys/src/fs/9netics32.16k/dat.h - 664 sys sys 1140167904 612
-sys/src/fs/9netics32.16k/fns.h - 664 sys sys 1172679928 2168
-sys/src/fs/9netics32.16k/io.h - 664 sys sys 1157939328 6720
-sys/src/fs/9netics32.16k/mem.h - 664 sys sys 1140167906 2907
-sys/src/fs/9netics32.16k/mkfile - 664 sys sys 1157938805 1644
-sys/src/fs/9netics64.8k - 20000000775 sys sys 1151739122 0
-sys/src/fs/9netics64.8k/9net64.8kfs.c - 664 sys sys 1140167920 3235
-sys/src/fs/9netics64.8k/dat.h - 664 sys sys 1095751680 611
-sys/src/fs/9netics64.8k/fns.h - 664 sys sys 1172679928 2168
-sys/src/fs/9netics64.8k/io.h - 664 sys sys 1157939328 6720
-sys/src/fs/9netics64.8k/mem.h - 664 sys sys 1140167924 2907
-sys/src/fs/9netics64.8k/mkfile - 664 sys sys 1157938855 1637
-sys/src/fs/GOING.AWAY - 664 sys sys 1188510006 63
-sys/src/fs/choline - 20000000775 sys sys 1151739703 0
-sys/src/fs/choline/9cholinefs.c - 664 sys sys 1140168020 2989
-sys/src/fs/choline/dat.h - 664 sys sys 1140168017 612
-sys/src/fs/choline/fns.h - 664 sys sys 1172679929 2168
-sys/src/fs/choline/io.h - 664 sys sys 1157939328 6720
-sys/src/fs/choline/mem.h - 664 sys sys 1140168019 2909
-sys/src/fs/choline/mkfile - 664 sys sys 1157938939 1780
-sys/src/fs/dev - 20000000775 sys sys 1140168396 0
-sys/src/fs/dev/apc.c - 664 sys sys 1140167918 14910
-sys/src/fs/dev/cw.c - 664 sys sys 1097712558 43252
-sys/src/fs/dev/fworm.c - 664 sys sys 1140167912 1845
-sys/src/fs/dev/juke.c - 664 sys sys 1174081264 22925
-sys/src/fs/dev/mkfile - 664 sys sys 1015109974 132
-sys/src/fs/dev/mworm.c - 664 sys sys 1140167915 4264
-sys/src/fs/dev/wren.c - 664 sys sys 1140167916 2392
-sys/src/fs/doc - 20000000775 sys sys 1146803945 0
-sys/src/fs/doc/changes - 664 sys sys 1140168029 2967
-sys/src/fs/doc/words - 664 sys sys 1146803821 1162
-sys/src/fs/doc/worm.fs - 664 sys sys 1140168030 4057
-sys/src/fs/doc/worm.fs64 - 664 sys sys 1101811981 1554
-sys/src/fs/doc/worms.32-bit - 664 sys sys 1140168032 2806
-sys/src/fs/emelie - 20000000775 sys sys 1151739662 0
-sys/src/fs/emelie/9emeliefs.c - 664 sys sys 1140168026 2989
-sys/src/fs/emelie/dat.h - 664 sys sys 1140168023 612
-sys/src/fs/emelie/fns.h - 664 sys sys 1172679929 2168
-sys/src/fs/emelie/io.h - 664 sys sys 1157939329 6720
-sys/src/fs/emelie/mem.h - 664 sys sys 1140168025 2909
-sys/src/fs/emelie/mkfile - 664 sys sys 1157938976 1779
-sys/src/fs/fs - 20000000775 sys sys 1151739222 0
-sys/src/fs/fs/9fsfs.c - 664 sys sys 1140168015 3308
-sys/src/fs/fs/dat.h - 664 sys sys 1140168010 611
-sys/src/fs/fs/fns.h - 664 sys sys 1172679929 2168
-sys/src/fs/fs/io.h - 664 sys sys 1157939329 6720
-sys/src/fs/fs/mem.h - 664 sys sys 1140168013 2909
-sys/src/fs/fs/mkfile - 664 sys sys 1178933399 1708
-sys/src/fs/fs64 - 20000000775 sys sys 1157943044 0
-sys/src/fs/fs64/9fsfs64.c - 664 sys sys 1151399221 3612
-sys/src/fs/fs64/dat.h - 664 sys sys 1140168005 611
-sys/src/fs/fs64/fns.h - 664 sys sys 1172679929 2330
-sys/src/fs/fs64/io.h - 664 sys sys 1157939329 6720
-sys/src/fs/fs64/mem.h - 664 sys sys 1151398965 3041
-sys/src/fs/fs64/mkfile - 664 sys sys 1178933399 1648
-sys/src/fs/ip - 20000000775 sys sys 1140167931 0
-sys/src/fs/ip/arp.c - 664 sys sys 1097578954 8696
-sys/src/fs/ip/icmp.c - 664 sys sys 1015109981 991
-sys/src/fs/ip/il.c - 664 sys sys 1140167928 19479
-sys/src/fs/ip/ip.c - 664 sys sys 1097578933 3859
-sys/src/fs/ip/ip.h - 664 sys sys 1140167930 6691
-sys/src/fs/ip/ipaux.c - 664 sys sys 1015109986 1041
-sys/src/fs/ip/iproute.c - 664 sys sys 1097579099 7386
-sys/src/fs/ip/mkfile - 664 sys sys 1015109988 127
-sys/src/fs/ip/sntp.c - 664 sys sys 1037805108 5539
-sys/src/fs/ip/udp.c - 664 sys sys 1015109990 754
-sys/src/fs/mkfile - 664 sys sys 1140167932 231
-sys/src/fs/pc - 20000000775 sys sys 1157938367 0
-sys/src/fs/pc/8250.c - 664 sys sys 1140161725 6957
-sys/src/fs/pc/8253.c - 664 sys sys 1097579039 7264
-sys/src/fs/pc/cga.c - 664 sys sys 1015110034 1484
-sys/src/fs/pc/compat.c - 664 sys sys 1140164905 1575
-sys/src/fs/pc/compat.h - 664 sys sys 1140774918 2578
-sys/src/fs/pc/dosfs.c - 664 sys sys 1146784976 16619
-sys/src/fs/pc/dosfs.h - 664 sys sys 1140167937 2696
-sys/src/fs/pc/ether2114x.c - 664 sys sys 1015110044 31874
-sys/src/fs/pc/ether8139.c - 664 sys sys 1086569718 18552
-sys/src/fs/pc/ether8169.c - 664 sys sys 1157939501 25385
-sys/src/fs/pc/ether82557.c - 664 sys sys 1154067789 30710
-sys/src/fs/pc/ether82563.c - 664 sys sys 1178933417 26994
-sys/src/fs/pc/ether83815.c - 664 sys sys 1140335463 26764
-sys/src/fs/pc/ether83815.mii.c - 664 sys sys 1049156663 31622
-sys/src/fs/pc/etherdat.h - 664 sys sys 1157938367 72
-sys/src/fs/pc/etherdp83820.c - 664 sys sys 1146355081 32045
-sys/src/fs/pc/etherelnk3.c - 664 sys sys 1015110054 42732
-sys/src/fs/pc/etherga620.c - 664 sys sys 1146785153 24748
-sys/src/fs/pc/etherga620fw.h - 664 sys sys 1032126775 222295
-sys/src/fs/pc/etherif.c - 664 sys sys 1178933411 6667
-sys/src/fs/pc/etherif.h - 664 sys sys 1015110057 730
-sys/src/fs/pc/etherigbe.c - 664 sys sys 1141208695 46676
-sys/src/fs/pc/etherm10g.c - 664 sys sys 1174594317 25743
-sys/src/fs/pc/etherm10g2k.i - 664 sys sys 1174590598 36
-sys/src/fs/pc/etherm10g4k.i - 664 sys sys 1174590598 36
-sys/src/fs/pc/ethermii.c - 664 sys sys 1140167954 4689
-sys/src/fs/pc/ethermii.h - 664 sys sys 1140167955 3259
-sys/src/fs/pc/floppy.c - 664 sys sys 1097579636 14022
-sys/src/fs/pc/kbd.c - 664 sys sys 1015110060 6030
-sys/src/fs/pc/l.s - 664 sys sys 1096008336 10838
-sys/src/fs/pc/lock.c - 664 sys sys 1173736177 3672
-sys/src/fs/pc/malloc.c - 664 sys sys 1096789023 2840
-sys/src/fs/pc/mkfile - 664 sys sys 1140167942 426
-sys/src/fs/pc/mmu.c - 664 sys sys 1015110065 8414
-sys/src/fs/pc/nvr.c - 664 sys sys 1015110066 669
-sys/src/fs/pc/pc.c - 664 sys sys 1151401114 8004
-sys/src/fs/pc/pci.c - 664 sys sys 1157938218 12271
-sys/src/fs/pc/script.i - 664 sys sys 1015110072 27323
-sys/src/fs/pc/scsi.c - 664 sys sys 1151385561 8701
-sys/src/fs/pc/scsibuslogic.c - 664 sys sys 1015110077 28645
-sys/src/fs/pc/scsincr53c8xx.c - 664 sys sys 1146798658 53619
-sys/src/fs/pc/sdata.c - 664 sys sys 1178933365 64719
-sys/src/fs/pc/sdmv50xx.c - 664 sys sys 1151486130 39434
-sys/src/fs/pc/sdscsi.c - 664 sys sys 1146786984 7017
-sys/src/fs/pc/toy.c - 664 sys sys 1140167948 2166
-sys/src/fs/pc/trap.c - 664 sys sys 1173300812 7998
-sys/src/fs/port - 20000000775 sys sys 1151739200 0
-sys/src/fs/port/9p1.c - 664 sys sys 1140167971 29982
-sys/src/fs/port/9p1.h - 664 sys sys 1140167972 2128
-sys/src/fs/port/9p1lib.c - 664 sys sys 1101627232 7911
-sys/src/fs/port/9p2.c - 664 sys sys 1174941740 36357
-sys/src/fs/port/all.h - 664 sys sys 1146798594 1888
-sys/src/fs/port/auth.c - 664 sys sys 1146785221 7606
-sys/src/fs/port/chk.c - 664 sys sys 1097832483 15683
-sys/src/fs/port/clock.c - 664 sys sys 1097580538 4033
-sys/src/fs/port/con.c - 664 sys sys 1173736129 16296
-sys/src/fs/port/config.c - 664 sys sys 1157944410 20574
-sys/src/fs/port/console.c - 664 sys sys 1101627646 4886
-sys/src/fs/port/data.c - 664 sys sys 1140167986 4510
-sys/src/fs/port/dentry.c - 664 sys sys 1098156404 6345
-sys/src/fs/port/devcons.c - 664 sys sys 1157942528 4896
-sys/src/fs/port/devsd.c - 664 sys sys 1178933380 15116
-sys/src/fs/port/fcmd.c - 664 sys sys 1146785267 1255
-sys/src/fs/port/fs.h - 664 sys sys 1140168001 682
-sys/src/fs/port/iobuf.c - 664 sys sys 1140167988 4956
-sys/src/fs/port/lib.h - 664 sys sys 1146798595 3791
-sys/src/fs/port/lrand.c - 664 sys sys 1091803568 1093
-sys/src/fs/port/main.c - 664 sys sys 1157943089 7931
-sys/src/fs/port/mkfile - 664 sys sys 1140167991 214
-sys/src/fs/port/portdat.h - 664 sys sys 1151312767 19739
-sys/src/fs/port/portfns.h - 664 sys sys 1140167994 7526
-sys/src/fs/port/print.c - 664 sys sys 1015110022 153
-sys/src/fs/port/proc.c - 664 sys sys 1097580775 5364
-sys/src/fs/port/sd.h - 664 sys sys 1140774087 2305
-sys/src/fs/port/sub.c - 664 sys sys 1151380380 25860
-sys/src/fs/port/time.c - 664 sys sys 1173736121 6443
-sys/src/fs/port/uidgid.c - 664 sys sys 1097574050 9192
 sys/src/games - 20000000775 sys sys 1128271724 0
 sys/src/games/4s.c - 664 sys sys 1128271724 1285
 sys/src/games/5s.c - 664 sys sys 1128271724 3621

+ 173 - 0
dist/replica/plan9.log

@@ -52188,3 +52188,176 @@
 1188531004 17 c 386/bin/upas/smtpd - 775 sys sys 1188530227 332030
 1188531004 18 c 386/lib/libmach.a - 664 sys sys 1188530244 807480
 1188531004 19 c sys/man/8/fsconfig - 664 sys sys 1188530378 8890
+1188532803 0 c sys/man/4/fs - 664 sys sys 1188531555 3441
+1188536405 0 c lib/ndb/local.complicated - 664 sys sys 1188534891 2946
+1188581404 0 c sys/src/cmd/ndb/dblookup.c - 664 sys sys 1188581123 25260
+1188583203 0 c sys/man/3/ip - 664 sys sys 1188581755 25468
+1188583203 1 c sys/src/9/alphapc/apc - 664 sys sys 1188582377 622
+1188583203 2 c sys/src/9/alphapc/apccpu - 664 sys sys 1188582377 524
+1188583203 3 c sys/src/9/bitsy/bitsy - 664 sys sys 1188582377 420
+1188583203 4 c sys/src/9/ip/ip.h - 664 sys sys 1188581813 16639
+1188583203 5 c sys/src/9/ip/netlog.c - 664 sys sys 1188581818 3953
+1188583203 6 c sys/src/9/mtx/mtx - 664 sys sys 1188582377 408
+1188583203 7 c sys/src/9/mtx/mtxcpu - 664 sys sys 1188582378 413
+1188583203 8 c sys/src/9/pc/pc - 664 sys sys 1188582378 1444
+1188583203 9 c sys/src/9/pc/pcauth - 664 sys sys 1188582378 707
+1188583203 10 c sys/src/9/pc/pccpu - 664 sys sys 1188582378 917
+1188583203 11 c sys/src/9/pc/pcdisk - 664 sys sys 1188582378 1487
+1188583203 12 c sys/src/9/pc/pcf - 664 sys sys 1188582378 1545
+1188583203 13 c sys/src/9/pc/pccd - 664 sys sys 1188582378 1458
+1188583203 14 c sys/src/9/pc/pccpuf - 664 sys sys 1188582378 1524
+1188583203 15 c sys/src/9/pc/pcfl - 664 sys sys 1188582378 1579
+1188583203 16 c sys/src/9/pc/pcflop - 664 sys sys 1188582378 1509
+1188583203 17 c sys/src/9/ppc/blast - 664 sys sys 1188582378 662
+1188583203 18 c sys/src/9/ppc/ucu - 664 sys sys 1188582378 664
+1188583203 19 d sys/src/fs/port/uidgid.c - 664 sys sys 1097574050 0
+1188583203 20 d sys/src/fs/port/time.c - 664 sys sys 1173736121 0
+1188583203 21 d sys/src/fs/port/sub.c - 664 sys sys 1151380380 0
+1188583203 22 d sys/src/fs/port/sd.h - 664 sys sys 1140774087 0
+1188583203 23 d sys/src/fs/port/proc.c - 664 sys sys 1097580775 0
+1188583203 24 d sys/src/fs/port/print.c - 664 sys sys 1015110022 0
+1188583203 25 d sys/src/fs/port/portfns.h - 664 sys sys 1140167994 0
+1188583203 26 d sys/src/fs/port/portdat.h - 664 sys sys 1151312767 0
+1188583203 27 d sys/src/fs/port/mkfile - 664 sys sys 1140167991 0
+1188583203 28 d sys/src/fs/port/main.c - 664 sys sys 1157943089 0
+1188583203 29 d sys/src/fs/port/lrand.c - 664 sys sys 1091803568 0
+1188583203 30 d sys/src/fs/port/lib.h - 664 sys sys 1146798595 0
+1188583203 31 d sys/src/fs/port/iobuf.c - 664 sys sys 1140167988 0
+1188583203 32 d sys/src/fs/port/fs.h - 664 sys sys 1140168001 0
+1188583203 33 d sys/src/fs/port/fcmd.c - 664 sys sys 1146785267 0
+1188583203 34 d sys/src/fs/port/devsd.c - 664 sys sys 1178933380 0
+1188583203 35 d sys/src/fs/port/devcons.c - 664 sys sys 1157942528 0
+1188583203 36 d sys/src/fs/port/dentry.c - 664 sys sys 1098156404 0
+1188583203 37 d sys/src/fs/port/data.c - 664 sys sys 1140167986 0
+1188583203 38 d sys/src/fs/port/console.c - 664 sys sys 1101627646 0
+1188583203 39 d sys/src/fs/port/config.c - 664 sys sys 1157944410 0
+1188583203 40 d sys/src/fs/port/con.c - 664 sys sys 1173736129 0
+1188583203 41 d sys/src/fs/port/clock.c - 664 sys sys 1097580538 0
+1188583203 42 d sys/src/fs/port/chk.c - 664 sys sys 1097832483 0
+1188583203 43 d sys/src/fs/port/auth.c - 664 sys sys 1146785221 0
+1188583203 44 d sys/src/fs/port/all.h - 664 sys sys 1146798594 0
+1188583203 45 d sys/src/fs/port/9p2.c - 664 sys sys 1174941740 0
+1188583203 46 d sys/src/fs/port/9p1lib.c - 664 sys sys 1101627232 0
+1188583203 47 d sys/src/fs/port/9p1.h - 664 sys sys 1140167972 0
+1188583203 48 d sys/src/fs/port/9p1.c - 664 sys sys 1140167971 0
+1188583203 49 d sys/src/fs/port - 20000000775 sys sys 1151739200 0
+1188583203 50 d sys/src/fs/pc/trap.c - 664 sys sys 1173300812 0
+1188583203 51 d sys/src/fs/pc/toy.c - 664 sys sys 1140167948 0
+1188583203 52 d sys/src/fs/pc/sdscsi.c - 664 sys sys 1146786984 0
+1188583203 53 d sys/src/fs/pc/sdmv50xx.c - 664 sys sys 1151486130 0
+1188583203 54 d sys/src/fs/pc/sdata.c - 664 sys sys 1178933365 0
+1188583203 55 d sys/src/fs/pc/scsincr53c8xx.c - 664 sys sys 1146798658 0
+1188583203 56 d sys/src/fs/pc/scsibuslogic.c - 664 sys sys 1015110077 0
+1188583203 57 d sys/src/fs/pc/scsi.c - 664 sys sys 1151385561 0
+1188583203 58 d sys/src/fs/pc/script.i - 664 sys sys 1015110072 0
+1188583203 59 d sys/src/fs/pc/pci.c - 664 sys sys 1157938218 0
+1188583203 60 d sys/src/fs/pc/pc.c - 664 sys sys 1151401114 0
+1188583203 61 d sys/src/fs/pc/nvr.c - 664 sys sys 1015110066 0
+1188583203 62 d sys/src/fs/pc/mmu.c - 664 sys sys 1015110065 0
+1188583203 63 d sys/src/fs/pc/mkfile - 664 sys sys 1140167942 0
+1188583203 64 d sys/src/fs/pc/malloc.c - 664 sys sys 1096789023 0
+1188583203 65 d sys/src/fs/pc/lock.c - 664 sys sys 1173736177 0
+1188583203 66 d sys/src/fs/pc/l.s - 664 sys sys 1096008336 0
+1188583203 67 d sys/src/fs/pc/kbd.c - 664 sys sys 1015110060 0
+1188583203 68 d sys/src/fs/pc/floppy.c - 664 sys sys 1097579636 0
+1188583203 69 d sys/src/fs/pc/ethermii.h - 664 sys sys 1140167955 0
+1188583203 70 d sys/src/fs/pc/ethermii.c - 664 sys sys 1140167954 0
+1188583203 71 d sys/src/fs/pc/etherm10g4k.i - 664 sys sys 1174590598 0
+1188583203 72 d sys/src/fs/pc/etherm10g2k.i - 664 sys sys 1174590598 0
+1188583203 73 d sys/src/fs/pc/etherm10g.c - 664 sys sys 1174594317 0
+1188583203 74 d sys/src/fs/pc/etherigbe.c - 664 sys sys 1141208695 0
+1188583203 75 d sys/src/fs/pc/etherif.h - 664 sys sys 1015110057 0
+1188583203 76 d sys/src/fs/pc/etherif.c - 664 sys sys 1178933411 0
+1188583203 77 d sys/src/fs/pc/etherga620fw.h - 664 sys sys 1032126775 0
+1188583203 78 d sys/src/fs/pc/etherga620.c - 664 sys sys 1146785153 0
+1188583203 79 d sys/src/fs/pc/etherelnk3.c - 664 sys sys 1015110054 0
+1188583203 80 d sys/src/fs/pc/etherdp83820.c - 664 sys sys 1146355081 0
+1188583203 81 d sys/src/fs/pc/etherdat.h - 664 sys sys 1157938367 0
+1188583203 82 d sys/src/fs/pc/ether83815.mii.c - 664 sys sys 1049156663 0
+1188583203 83 d sys/src/fs/pc/ether83815.c - 664 sys sys 1140335463 0
+1188583203 84 d sys/src/fs/pc/ether82563.c - 664 sys sys 1178933417 0
+1188583203 85 d sys/src/fs/pc/ether82557.c - 664 sys sys 1154067789 0
+1188583203 86 d sys/src/fs/pc/ether8169.c - 664 sys sys 1157939501 0
+1188583203 87 d sys/src/fs/pc/ether8139.c - 664 sys sys 1086569718 0
+1188583203 88 d sys/src/fs/pc/ether2114x.c - 664 sys sys 1015110044 0
+1188583203 89 d sys/src/fs/pc/dosfs.h - 664 sys sys 1140167937 0
+1188583203 90 d sys/src/fs/pc/dosfs.c - 664 sys sys 1146784976 0
+1188583203 91 d sys/src/fs/pc/compat.h - 664 sys sys 1140774918 0
+1188583203 92 d sys/src/fs/pc/compat.c - 664 sys sys 1140164905 0
+1188583203 93 d sys/src/fs/pc/cga.c - 664 sys sys 1015110034 0
+1188583203 94 d sys/src/fs/pc/8253.c - 664 sys sys 1097579039 0
+1188583203 95 d sys/src/fs/pc/8250.c - 664 sys sys 1140161725 0
+1188583203 96 d sys/src/fs/pc - 20000000775 sys sys 1157938367 0
+1188583203 97 d sys/src/fs/mkfile - 664 sys sys 1140167932 0
+1188583203 98 d sys/src/fs/ip/udp.c - 664 sys sys 1015109990 0
+1188583203 99 d sys/src/fs/ip/sntp.c - 664 sys sys 1037805108 0
+1188583203 100 d sys/src/fs/ip/mkfile - 664 sys sys 1015109988 0
+1188583203 101 d sys/src/fs/ip/iproute.c - 664 sys sys 1097579099 0
+1188583203 102 d sys/src/fs/ip/ipaux.c - 664 sys sys 1015109986 0
+1188583203 103 d sys/src/fs/ip/ip.h - 664 sys sys 1140167930 0
+1188583203 104 d sys/src/fs/ip/ip.c - 664 sys sys 1097578933 0
+1188583203 105 d sys/src/fs/ip/il.c - 664 sys sys 1140167928 0
+1188583203 106 d sys/src/fs/ip/icmp.c - 664 sys sys 1015109981 0
+1188583203 107 d sys/src/fs/ip/arp.c - 664 sys sys 1097578954 0
+1188583203 108 d sys/src/fs/ip - 20000000775 sys sys 1140167931 0
+1188583203 109 d sys/src/fs/fs64/mkfile - 664 sys sys 1178933399 0
+1188583203 110 d sys/src/fs/fs64/mem.h - 664 sys sys 1151398965 0
+1188583203 111 d sys/src/fs/fs64/io.h - 664 sys sys 1157939329 0
+1188583203 112 d sys/src/fs/fs64/fns.h - 664 sys sys 1172679929 0
+1188583203 113 d sys/src/fs/fs64/dat.h - 664 sys sys 1140168005 0
+1188583203 114 d sys/src/fs/fs64/9fsfs64.c - 664 sys sys 1151399221 0
+1188583203 115 d sys/src/fs/fs64 - 20000000775 sys sys 1157943044 0
+1188583203 116 d sys/src/fs/fs/mkfile - 664 sys sys 1178933399 0
+1188583203 117 d sys/src/fs/fs/mem.h - 664 sys sys 1140168013 0
+1188583203 118 d sys/src/fs/fs/io.h - 664 sys sys 1157939329 0
+1188583203 119 d sys/src/fs/fs/fns.h - 664 sys sys 1172679929 0
+1188583203 120 d sys/src/fs/fs/dat.h - 664 sys sys 1140168010 0
+1188583203 121 d sys/src/fs/fs/9fsfs.c - 664 sys sys 1140168015 0
+1188583203 122 d sys/src/fs/fs - 20000000775 sys sys 1151739222 0
+1188583203 123 d sys/src/fs/emelie/mkfile - 664 sys sys 1157938976 0
+1188583203 124 d sys/src/fs/emelie/mem.h - 664 sys sys 1140168025 0
+1188583203 125 d sys/src/fs/emelie/io.h - 664 sys sys 1157939329 0
+1188583203 126 d sys/src/fs/emelie/fns.h - 664 sys sys 1172679929 0
+1188583203 127 d sys/src/fs/emelie/dat.h - 664 sys sys 1140168023 0
+1188583203 128 d sys/src/fs/emelie/9emeliefs.c - 664 sys sys 1140168026 0
+1188583203 129 d sys/src/fs/emelie - 20000000775 sys sys 1151739662 0
+1188583203 130 d sys/src/fs/doc/worms.32-bit - 664 sys sys 1140168032 0
+1188583203 131 d sys/src/fs/doc/worm.fs64 - 664 sys sys 1101811981 0
+1188583203 132 d sys/src/fs/doc/worm.fs - 664 sys sys 1140168030 0
+1188583203 133 d sys/src/fs/doc/words - 664 sys sys 1146803821 0
+1188583203 134 d sys/src/fs/doc/changes - 664 sys sys 1140168029 0
+1188583203 135 d sys/src/fs/doc - 20000000775 sys sys 1146803945 0
+1188583203 136 d sys/src/fs/dev/wren.c - 664 sys sys 1140167916 0
+1188583203 137 d sys/src/fs/dev/mworm.c - 664 sys sys 1140167915 0
+1188583203 138 d sys/src/fs/dev/mkfile - 664 sys sys 1015109974 0
+1188583203 139 d sys/src/fs/dev/juke.c - 664 sys sys 1174081264 0
+1188583203 140 d sys/src/fs/dev/fworm.c - 664 sys sys 1140167912 0
+1188583203 141 d sys/src/fs/dev/cw.c - 664 sys sys 1097712558 0
+1188583203 142 d sys/src/fs/dev/apc.c - 664 sys sys 1140167918 0
+1188583203 143 d sys/src/fs/dev - 20000000775 sys sys 1140168396 0
+1188583203 144 d sys/src/fs/choline/mkfile - 664 sys sys 1157938939 0
+1188583203 145 d sys/src/fs/choline/mem.h - 664 sys sys 1140168019 0
+1188583203 146 d sys/src/fs/choline/io.h - 664 sys sys 1157939328 0
+1188583203 147 d sys/src/fs/choline/fns.h - 664 sys sys 1172679929 0
+1188583203 148 d sys/src/fs/choline/dat.h - 664 sys sys 1140168017 0
+1188583203 149 d sys/src/fs/choline/9cholinefs.c - 664 sys sys 1140168020 0
+1188583203 150 d sys/src/fs/choline - 20000000775 sys sys 1151739703 0
+1188583203 151 d sys/src/fs/GOING.AWAY - 664 sys sys 1188510006 0
+1188583203 152 d sys/src/fs/9netics64.8k/mkfile - 664 sys sys 1157938855 0
+1188583203 153 d sys/src/fs/9netics64.8k/mem.h - 664 sys sys 1140167924 0
+1188583203 154 d sys/src/fs/9netics64.8k/io.h - 664 sys sys 1157939328 0
+1188583203 155 d sys/src/fs/9netics64.8k/fns.h - 664 sys sys 1172679928 0
+1188583203 156 d sys/src/fs/9netics64.8k/dat.h - 664 sys sys 1095751680 0
+1188583203 157 d sys/src/fs/9netics64.8k/9net64.8kfs.c - 664 sys sys 1140167920 0
+1188583203 158 d sys/src/fs/9netics64.8k - 20000000775 sys sys 1151739122 0
+1188583203 159 d sys/src/fs/9netics32.16k/mkfile - 664 sys sys 1157938805 0
+1188583203 160 d sys/src/fs/9netics32.16k/mem.h - 664 sys sys 1140167906 0
+1188583203 161 d sys/src/fs/9netics32.16k/io.h - 664 sys sys 1157939328 0
+1188583203 162 d sys/src/fs/9netics32.16k/fns.h - 664 sys sys 1172679928 0
+1188583203 163 d sys/src/fs/9netics32.16k/dat.h - 664 sys sys 1140167904 0
+1188583203 164 d sys/src/fs/9netics32.16k/9net32.16kfs.c - 664 sys sys 1140167903 0
+1188583203 165 d sys/src/fs/9netics32.16k - 20000000775 sys sys 1151739121 0
+1188583203 166 d sys/src/fs - 20000000775 sys sys 1140168020 0
+1188583203 167 d sys/src/9/ip/il.c - 664 sys sys 1184946959 0
+1188594004 0 c 386/9loaddebug - 775 sys sys 1188593351 435045
+1188594004 1 c 386/9loadlitedebug - 775 sys sys 1188593356 220555

+ 0 - 3
lib/ndb/local.complicated

@@ -101,16 +101,13 @@ ipnet=mysubnetwork ip=10.0.1.0 ipmask=255.255.255.0
 ip=10.0.1.10 ether=0010dc724074 sys=fs
 	dom=myfileserver.myuniversity.edu 
 	bootf=/386/9pcfs
-	proto=il
 
 ip=10.0.1.11 ether=0010dc724075 sys=auth
 	dom=myauthserver.myuniversity.edu
 	bootf=/386/9pccpu
-	proto=il
 
 ip=10.0.1.12 ether=0010dc724076 sys=term
 	dom=myterminal.myuniversity.edu
 	bootf=/386/9pc
-	proto=il
 
 auth=sources.cs.bell-labs.com authdom=outside.plan9.bell-labs.com

+ 3 - 3
sys/man/3/ip

@@ -437,11 +437,11 @@ The possible items are:
 .BR fs ,
 .BR tcp ,
 .BR icmp ,
-.BR udb ,
+.BR udp ,
 .BR compress ,
-.BR ilmsg ,
 .BR gre ,
-.BR tcpmsg ,
+.BR tcpwin ,
+.BR tcprxmt ,
 .BR udpmsg ,
 .BR ipmsg ,
 and

+ 0 - 2
sys/src/9/alphapc/apc

@@ -46,7 +46,6 @@ misc
 	vgatvp3026	=cur
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -58,7 +57,6 @@ port
 
 boot
 	tcp
-	il
 
 bootdir
 	bootapc.out boot

+ 0 - 2
sys/src/9/alphapc/apccpu

@@ -38,7 +38,6 @@ misc
 	uarti8250
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -52,7 +51,6 @@ port
 
 boot cpu
 	tcp
-	il
 
 bootdir
 	bootapccpu.out boot

+ 0 - 1
sys/src/9/bitsy/bitsy

@@ -22,7 +22,6 @@ dev
 	sd
 
 ip
-	il
 	tcp
 	udp
 	ipifc

+ 0 - 1408
sys/src/9/ip/il.c

@@ -1,1408 +0,0 @@
-#include	"u.h"
-#include	"../port/lib.h"
-#include	"mem.h"
-#include	"dat.h"
-#include	"fns.h"
-#include	"../port/error.h"
-
-#include	"ip.h"
-
-enum				/* Connection state */
-{
-	Ilclosed,
-	Ilsyncer,
-	Ilsyncee,
-	Ilestablished,
-	Illistening,
-	Ilclosing,
-	Ilopening,		/* only for file server */
-};
-
-char	*ilstates[] = 
-{ 
-	"Closed",
-	"Syncer",
-	"Syncee",
-	"Established",
-	"Listen",
-	"Closing",
-	"Opening",		/* only for file server */
-};
-
-enum				/* Packet types */
-{
-	Ilsync,
-	Ildata,
-	Ildataquery,
-	Ilack,
-	Ilquery,
-	Ilstate,
-	Ilclose,
-};
-
-char	*iltype[] = 
-{	
-	"sync",
-	"data",
-	"dataquery",
-	"ack",
-	"query",
-	"state",
-	"close" 
-};
-
-enum
-{
-	Seconds		= 1000,
-	Iltickms 	= 50,		/* time base */
-	AckDelay	= 2*Iltickms,	/* max time twixt message rcvd & ack sent */
-	MaxTimeout 	= 30*Seconds,	/* max time between rexmit */
-	QueryTime	= 10*Seconds,	/* time between subsequent queries */
-	DeathTime	= 30*QueryTime,
-
-	MaxRexmit 	= 16,		/* max retransmissions before hangup */
-	Defaultwin	= 20,
-
-	LogAGain	= 3,
-	AGain		= 1<<LogAGain,
-	LogDGain	= 2,
-	DGain		= 1<<LogDGain,
-
-	DefByteRate	= 100,		/* assume a megabit link */
-	DefRtt		= 50,		/* cross country on a great day */
-
-	Maxrq		= 64*1024,
-};
-
-enum
-{
-	Nqt=	8,
-};
-
-typedef struct Ilcb Ilcb;
-struct Ilcb			/* Control block */
-{
-	int	state;		/* Connection state */
-	Conv	*conv;
-	QLock	ackq;		/* Unacknowledged queue */
-	Block	*unacked;
-	Block	*unackedtail;
-	ulong	unackedbytes;
-	QLock	outo;		/* Out of order packet queue */
-	Block	*outoforder;
-	ulong	next;		/* Id of next to send */
-	ulong	recvd;		/* Last packet received */
-	ulong	acksent;	/* Last packet acked */
-	ulong	start;		/* Local start id */
-	ulong	rstart;		/* Remote start id */
-	int	window;		/* Maximum receive window */
-	int	rxquery;	/* number of queries on this connection */
-	int	rxtot;		/* number of retransmits on this connection */
-	int	rexmit;		/* number of retransmits of *unacked */
-	ulong	qt[Nqt+1];	/* state table for query messages */
-	int	qtx;		/* ... index into qt */
-
-	/* if set, fasttimeout causes a connection request to terminate after 4*Iltickms */
-	int	fasttimeout;
-
-	/* timers */
-	ulong	lastxmit;	/* time of last xmit */
-	ulong	lastrecv;	/* time of last recv */
-	ulong	timeout;	/* retransmission time for *unacked */
-	ulong	acktime;	/* time to send next ack */
-	ulong	querytime;	/* time to send next query */
-
-	/* adaptive measurements */
-	int	delay;		/* Average of the fixed rtt delay */
-	int	rate;		/* Average uchar rate */
-	int	mdev;		/* Mean deviation of rtt */
-	int	maxrtt;		/* largest rtt seen */
-	ulong	rttack;		/* The ack we are waiting for */
-	int	rttlen;		/* Length of rttack packet */
-	uvlong	rttstart;	/* Time we issued rttack packet */
-};
-
-enum
-{
-	IL_IPSIZE 	= 20,
-	IL_HDRSIZE	= 18,	
-	IL_LISTEN	= 0,
-	IL_CONNECT	= 1,
-	IP_ILPROTO	= 40,
-};
-
-typedef struct Ilhdr Ilhdr;
-struct Ilhdr
-{
-	uchar	vihl;		/* Version and header length */
-	uchar	tos;		/* Type of service */
-	uchar	length[2];	/* packet length */
-	uchar	id[2];		/* Identification */
-	uchar	frag[2];	/* Fragment information */
-	uchar	ttl;		/* Time to live */
-	uchar	proto;		/* Protocol */
-	uchar	cksum[2];	/* Header checksum */
-	uchar	src[4];		/* Ip source */
-	uchar	dst[4];		/* Ip destination */
-	uchar	ilsum[2];	/* Checksum including header */
-	uchar	illen[2];	/* Packet length */
-	uchar	iltype;		/* Packet type */
-	uchar	ilspec;		/* Special */
-	uchar	ilsrc[2];	/* Src port */
-	uchar	ildst[2];	/* Dst port */
-	uchar	ilid[4];	/* Sequence id */
-	uchar	ilack[4];	/* Acked sequence */
-};
-
-enum
-{
-	InMsgs,
-	OutMsgs,
-	CsumErrs,		/* checksum errors */
-	HlenErrs,		/* header length error */
-	LenErrs,		/* short packet */
-	OutOfOrder,		/* out of order */
-	Retrans,		/* retransmissions */
-	DupMsg,
-	DupBytes,
-	DroppedMsgs,
-
-	Nstats,
-};
-
-static char *statnames[] =
-{
-[InMsgs]	"InMsgs",
-[OutMsgs]	"OutMsgs",
-[CsumErrs]	"CsumErrs",
-[HlenErrs]	"HlenErr",
-[LenErrs]	"LenErrs",
-[OutOfOrder]	"OutOfOrder",
-[Retrans]	"Retrans",
-[DupMsg]	"DupMsg",
-[DupBytes]	"DupBytes",
-[DroppedMsgs]	"DroppedMsgs",
-};
-
-typedef struct Ilpriv Ilpriv;
-struct Ilpriv
-{
-	Ipht	ht;
-
-	ulong	stats[Nstats];
-
-	ulong	csumerr;		/* checksum errors */
-	ulong	hlenerr;		/* header length error */
-	ulong	lenerr;			/* short packet */
-	ulong	order;			/* out of order */
-	ulong	rexmit;			/* retransmissions */
-	ulong	dup;
-	ulong	dupb;
-
-	/* keeping track of the ack kproc */
-	int	ackprocstarted;
-	QLock	apl;
-};
-
-/* state for query/dataquery messages */
-
-
-void	ilrcvmsg(Conv*, Block*);
-void	ilsendctl(Conv*, Ilhdr*, int, ulong, ulong, int);
-void	ilackq(Ilcb*, Block*);
-void	ilprocess(Conv*, Ilhdr*, Block*);
-void	ilpullup(Conv*);
-void	ilhangup(Conv*, char*);
-void	ilfreeq(Ilcb*);
-void	ilrexmit(Ilcb*);
-void	ilbackoff(Ilcb*);
-void	ilsettimeout(Ilcb*);
-char*	ilstart(Conv*, int, int);
-void	ilackproc(void*);
-void	iloutoforder(Conv*, Ilhdr*, Block*);
-void	iliput(Proto*, Ipifc*, Block*);
-void	iladvise(Proto*, Block*, char*);
-int	ilnextqt(Ilcb*);
-void	ilcbinit(Ilcb*);
-int	later(ulong, ulong, char*);
-void	ilreject(Fs*, Ilhdr*);
-void	illocalclose(Conv *c);
-	int 	ilcksum = 1;
-static 	int 	initseq = 25001;
-static	ulong	scalediv, scalemul;
-static	char	*etime = "connection timed out";
-
-static char*
-ilconnect(Conv *c, char **argv, int argc)
-{
-	char *e, *p;
-	int fast;
-
-	/* huge hack to quickly try an il connection */
-	fast = 0;
-	if(argc > 1){
-		p = strstr(argv[1], "!fasttimeout");
-		if(p != nil){
-			*p = 0;
-			fast = 1;
-		}
-	}
-
-	e = Fsstdconnect(c, argv, argc);
-	if(e != nil)
-		return e;
-	return ilstart(c, IL_CONNECT, fast);
-}
-
-static int
-ilstate(Conv *c, char *state, int n)
-{
-	Ilcb *ic;
-
-	ic = (Ilcb*)(c->ptcl);
-	return snprint(state, n, "%s qin %d qout %d del %5.5d Br %5.5d md %5.5d una %5.5lud rex %5.5d rxq %5.5d max %5.5d\n",
-		ilstates[ic->state],
-		c->rq ? qlen(c->rq) : 0,
-		c->wq ? qlen(c->wq) : 0,
-		ic->delay>>LogAGain, ic->rate>>LogAGain, ic->mdev>>LogDGain,
-		ic->unackedbytes, ic->rxtot, ic->rxquery, ic->maxrtt);
-}
-
-static int
-ilinuse(Conv *c)
-{
-	Ilcb *ic;
-
-	ic = (Ilcb*)(c->ptcl);
-	return ic->state != Ilclosed;
-
-}
-
-/* called with c locked */
-static char*
-ilannounce(Conv *c, char **argv, int argc)
-{
-	char *e;
-
-	e = Fsstdannounce(c, argv, argc);
-	if(e != nil)
-		return e;
-	e = ilstart(c, IL_LISTEN, 0);
-	if(e != nil)
-		return e;
-	Fsconnected(c, nil);
-
-	return nil;
-}
-
-void
-illocalclose(Conv *c)
-{
-	Ilcb *ic;
-	Ilpriv *ipriv;
-
-	ipriv = c->p->priv;
-	ic = (Ilcb*)c->ptcl;
-	ic->state = Ilclosed;
-	iphtrem(&ipriv->ht, c);
-	ipmove(c->laddr, IPnoaddr);
-	c->lport = 0;
-}
-
-static void
-ilclose(Conv *c)
-{
-	Ilcb *ic;
-
-	ic = (Ilcb*)c->ptcl;
-
-	qclose(c->rq);
-	qclose(c->wq);
-	qclose(c->eq);
-
-	switch(ic->state) {
-	case Ilclosing:
-	case Ilclosed:
-		break;
-	case Ilsyncer:
-	case Ilsyncee:
-	case Ilestablished:
-		ic->state = Ilclosing;
-		ilsettimeout(ic);
-		ilsendctl(c, nil, Ilclose, ic->next, ic->recvd, 0);
-		break;
-	case Illistening:
-		illocalclose(c);
-		break;
-	}
-	ilfreeq(ic);
-}
-
-void
-ilkick(void *x, Block *bp)
-{
-	Conv *c = x;
-	Ilhdr *ih;
-	Ilcb *ic;
-	int dlen;
-	ulong id, ack;
-	Fs *f;
-	Ilpriv *priv;
-
-	f = c->p->f;
-	priv = c->p->priv;
-	ic = (Ilcb*)c->ptcl;
-
-	if(bp == nil)
-		return;
-
-	switch(ic->state) {
-	case Ilclosed:
-	case Illistening:
-	case Ilclosing:
-		freeblist(bp);
-		qhangup(c->rq, nil);
-		return;
-	}
-
-	dlen = blocklen(bp);
-
-	/* Make space to fit il & ip */
-	bp = padblock(bp, IL_IPSIZE+IL_HDRSIZE);
-	ih = (Ilhdr *)(bp->rp);
-	ih->vihl = IP_VER4;
-
-	/* Ip fields */
-	ih->frag[0] = 0;
-	ih->frag[1] = 0;
-	v6tov4(ih->dst, c->raddr);
-	v6tov4(ih->src, c->laddr);
-	ih->proto = IP_ILPROTO;
-
-	/* Il fields */
-	hnputs(ih->illen, dlen+IL_HDRSIZE);
-	hnputs(ih->ilsrc, c->lport);
-	hnputs(ih->ildst, c->rport);
-
-	qlock(&ic->ackq);
-	id = ic->next++;
-	hnputl(ih->ilid, id);
-	ack = ic->recvd;
-	hnputl(ih->ilack, ack);
-	ic->acksent = ack;
-	ic->acktime = NOW + AckDelay;
-	ih->iltype = Ildata;
-	ih->ilspec = 0;
-	ih->ilsum[0] = 0;
-	ih->ilsum[1] = 0;
-
-	/* Checksum of ilheader plus data (not ip & no pseudo header) */
-	if(ilcksum)
-		hnputs(ih->ilsum, ptclcsum(bp, IL_IPSIZE, dlen+IL_HDRSIZE));
-
-	ilackq(ic, bp);
-	qunlock(&ic->ackq);
-
-	/* Start the round trip timer for this packet if the timer is free */
-	if(ic->rttack == 0) {
-		ic->rttack = id;
-		ic->rttstart = fastticks(nil);
-		ic->rttlen = dlen + IL_IPSIZE + IL_HDRSIZE;
-	}
-
-	if(later(NOW, ic->timeout, nil))
-		ilsettimeout(ic);
-	ipoput4(f, bp, 0, c->ttl, c->tos, c);
-	priv->stats[OutMsgs]++;
-}
-
-static void
-ilcreate(Conv *c)
-{
-	c->rq = qopen(Maxrq, 0, 0, c);
-	c->wq = qbypass(ilkick, c);
-}
-
-int
-ilxstats(Proto *il, char *buf, int len)
-{
-	Ilpriv *priv;
-	char *p, *e;
-	int i;
-
-	priv = il->priv;
-	p = buf;
-	e = p+len;
-	for(i = 0; i < Nstats; i++)
-		p = seprint(p, e, "%s: %lud\n", statnames[i], priv->stats[i]);
-	return p - buf;
-}
-
-void
-ilackq(Ilcb *ic, Block *bp)
-{
-	Block *np;
-	int n;
-
-	n = blocklen(bp);
-
-	/* Enqueue a copy on the unacked queue in case this one gets lost */
-	np = copyblock(bp, n);
-	if(ic->unacked)
-		ic->unackedtail->list = np;
-	else
-		ic->unacked = np;
-	ic->unackedtail = np;
-	np->list = nil;
-	ic->unackedbytes += n;
-}
-
-static
-void
-ilrttcalc(Ilcb *ic, Block *bp)
-{
-	int rtt, tt, pt, delay, rate;
-
-	rtt = fastticks(nil) - ic->rttstart;
-	rtt = (rtt*scalemul)/scalediv;
-	delay = ic->delay;
-	rate = ic->rate;
-
-	/* Guard against zero wrap */
-	if(rtt > 120000 || rtt < 0)
-		return;
-
-	/* this block had to be transmitted after the one acked so count its size */
-	ic->rttlen += blocklen(bp)  + IL_IPSIZE + IL_HDRSIZE;
-
-	if(ic->rttlen < 256){
-		/* guess fixed delay as rtt of small packets */
-		delay += rtt - (delay>>LogAGain);
-		if(delay < AGain)
-			delay = AGain;
-		ic->delay = delay;
-	} else {
-		/* if packet took longer than avg rtt delay, recalc rate */
-		tt = rtt - (delay>>LogAGain);
-		if(tt > 0){
-			rate += ic->rttlen/tt - (rate>>LogAGain);
-			if(rate < AGain)
-				rate = AGain;
-			ic->rate = rate;
-		}
-	}
-
-	/* mdev */
-	pt = ic->rttlen/(rate>>LogAGain) + (delay>>LogAGain);
-	ic->mdev += abs(rtt-pt) - (ic->mdev>>LogDGain);
-
-	if(rtt > ic->maxrtt)
-		ic->maxrtt = rtt;
-}
-
-void
-ilackto(Ilcb *ic, ulong ackto, Block *bp)
-{
-	Ilhdr *h;
-	ulong id;
-
-	if(ic->rttack == ackto)
-		ilrttcalc(ic, bp);
-
-	/* Cancel if we've passed the packet we were interested in */
-	if(ic->rttack <= ackto)
-		ic->rttack = 0;
-
-	qlock(&ic->ackq);
-	while(ic->unacked) {
-		h = (Ilhdr *)ic->unacked->rp;
-		id = nhgetl(h->ilid);
-		if(ackto < id)
-			break;
-
-		bp = ic->unacked;
-		ic->unacked = bp->list;
-		bp->list = nil;
-		ic->unackedbytes -= blocklen(bp);
-		freeblist(bp);
-		ic->rexmit = 0;
-		ilsettimeout(ic);
-	}
-	qunlock(&ic->ackq);
-}
-
-void
-iliput(Proto *il, Ipifc*, Block *bp)
-{
-	char *st;
-	Ilcb *ic;
-	Ilhdr *ih;
-	uchar raddr[IPaddrlen];
-	uchar laddr[IPaddrlen];
-	ushort sp, dp, csum;
-	int plen, illen;
-	Conv *new, *s;
-	Ilpriv *ipriv;
-
-	ipriv = il->priv;
-
-	ih = (Ilhdr *)bp->rp;
-	plen = blocklen(bp);
-	if(plen < IL_IPSIZE+IL_HDRSIZE){
-		netlog(il->f, Logil, "il: hlenerr\n");
-		ipriv->stats[HlenErrs]++;
-		goto raise;
-	}
-
-	illen = nhgets(ih->illen);
-	if(illen+IL_IPSIZE > plen){
-		netlog(il->f, Logil, "il: lenerr\n");
-		ipriv->stats[LenErrs]++;
-		goto raise;
-	}
-
-	sp = nhgets(ih->ildst);
-	dp = nhgets(ih->ilsrc);
-	v4tov6(raddr, ih->src);
-	v4tov6(laddr, ih->dst);
-
-	if((csum = ptclcsum(bp, IL_IPSIZE, illen)) != 0) {
-		if(ih->iltype > Ilclose)
-			st = "?";
-		else
-			st = iltype[ih->iltype];
-		ipriv->stats[CsumErrs]++;
-		netlog(il->f, Logil, "il: cksum %ux %ux, pkt(%s id %lud ack %lud %I/%d->%d)\n",
-			csum, st, nhgetl(ih->ilid), nhgetl(ih->ilack), raddr, sp, dp);
-		goto raise;
-	}
-
-	qlock(il);
-	s = iphtlook(&ipriv->ht, raddr, dp, laddr, sp);
-	if(s == nil){
-		if(ih->iltype == Ilsync)
-			ilreject(il->f, ih);		/* no listener */
-		qunlock(il);
-		goto raise;
-	}
-
-	ic = (Ilcb*)s->ptcl;
-	if(ic->state == Illistening){
-		if(ih->iltype != Ilsync){
-			qunlock(il);
-			if(ih->iltype > Ilclose)
-				st = "?";
-			else
-				st = iltype[ih->iltype];
-			ilreject(il->f, ih);		/* no channel and not sync */
-			netlog(il->f, Logil, "il: no channel, pkt(%s id %lud ack %lud %I/%ud->%ud)\n",
-				st, nhgetl(ih->ilid), nhgetl(ih->ilack), raddr, sp, dp); 
-			goto raise;
-		}
-
-		new = Fsnewcall(s, raddr, dp, laddr, sp, V4);
-		if(new == nil){
-			qunlock(il);
-			netlog(il->f, Logil, "il: bad newcall %I/%ud->%ud\n", raddr, sp, dp);
-			ilsendctl(s, ih, Ilclose, 0, nhgetl(ih->ilid), 0);
-			goto raise;
-		}
-		s = new;
-
-		ic = (Ilcb*)s->ptcl;
-	
-		ic->conv = s;
-		ic->state = Ilsyncee;
-		ilcbinit(ic);
-		ic->rstart = nhgetl(ih->ilid);
-		iphtadd(&ipriv->ht, s);
-	}
-
-	qlock(s);
-	qunlock(il);
-	if(waserror()){
-		qunlock(s);
-		nexterror();
-	}
-	ilprocess(s, ih, bp);
-	qunlock(s);
-	poperror();
-	return;
-raise:
-	freeblist(bp);
-}
-
-void
-_ilprocess(Conv *s, Ilhdr *h, Block *bp)
-{
-	Ilcb *ic;
-	ulong id, ack;
-	Ilpriv *priv;
-
-	id = nhgetl(h->ilid);
-	ack = nhgetl(h->ilack);
-
-	ic = (Ilcb*)s->ptcl;
-
-	ic->lastrecv = NOW;
-	ic->querytime = NOW + QueryTime;
-	priv = s->p->priv;
-	priv->stats[InMsgs]++;
-
-	switch(ic->state) {
-	default:
-		netlog(s->p->f, Logil, "il: unknown state %d\n", ic->state);
-	case Ilclosed:
-		freeblist(bp);
-		break;
-	case Ilsyncer:
-		switch(h->iltype) {
-		default:
-			break;
-		case Ilsync:
-			if(ack != ic->start)
-				ilhangup(s, "connection rejected");
-			else {
-				ic->recvd = id;
-				ic->rstart = id;
-				ilsendctl(s, nil, Ilack, ic->next, ic->recvd, 0);
-				ic->state = Ilestablished;
-				ic->fasttimeout = 0;
-				ic->rexmit = 0;
-				Fsconnected(s, nil);
-				ilpullup(s);
-			}
-			break;
-		case Ilclose:
-			if(ack == ic->start)
-				ilhangup(s, "connection rejected");
-			break;
-		}
-		freeblist(bp);
-		break;
-	case Ilsyncee:
-		switch(h->iltype) {
-		default:
-			break;
-		case Ilsync:
-			if(id != ic->rstart || ack != 0){
-				illocalclose(s);
-			} else {
-				ic->recvd = id;
-				ilsendctl(s, nil, Ilsync, ic->start, ic->recvd, 0);
-			}
-			break;
-		case Ilack:
-			if(ack == ic->start) {
-				ic->state = Ilestablished;
-				ic->fasttimeout = 0;
-				ic->rexmit = 0;
-				ilpullup(s);
-			}
-			break;
-		case Ildata:
-			if(ack == ic->start) {
-				ic->state = Ilestablished;
-				ic->fasttimeout = 0;
-				ic->rexmit = 0;
-				goto established;
-			}
-			break;
-		case Ilclose:
-			if(ack == ic->start)
-				ilhangup(s, "remote close");
-			break;
-		}
-		freeblist(bp);
-		break;
-	case Ilestablished:
-	established:
-		switch(h->iltype) {
-		case Ilsync:
-			if(id != ic->rstart)
-				ilhangup(s, "remote close");
-			else
-				ilsendctl(s, nil, Ilack, ic->next, ic->rstart, 0);
-			freeblist(bp);	
-			break;
-		case Ildata:
-			/*
-			 * avoid consuming all the mount rpc buffers in the
-			 * system.  if the input queue is too long, drop this
-			 * packet.
-			 */
-			if (s->rq && qlen(s->rq) >= Maxrq) {
-				priv->stats[DroppedMsgs]++;
-				freeblist(bp);
-				break;
-			}
-
-			ilackto(ic, ack, bp);
-			iloutoforder(s, h, bp);
-			ilpullup(s);
-			break;
-		case Ildataquery:
-			ilackto(ic, ack, bp);
-			iloutoforder(s, h, bp);
-			ilpullup(s);
-			ilsendctl(s, nil, Ilstate, ic->next, ic->recvd, h->ilspec);
-			break;
-		case Ilack:
-			ilackto(ic, ack, bp);
-			freeblist(bp);
-			break;
-		case Ilquery:
-			ilackto(ic, ack, bp);
-			ilsendctl(s, nil, Ilstate, ic->next, ic->recvd, h->ilspec);
-			freeblist(bp);
-			break;
-		case Ilstate:
-			if(ack >= ic->rttack)
-				ic->rttack = 0;
-			ilackto(ic, ack, bp);
-			if(h->ilspec > Nqt)
-				h->ilspec = 0;
-			if(ic->qt[h->ilspec] > ack){
-				ilrexmit(ic);
-				ilsettimeout(ic);
-			}
-			freeblist(bp);
-			break;
-		case Ilclose:
-			freeblist(bp);
-			if(ack < ic->start || ack > ic->next) 
-				break;
-			ic->recvd = id;
-			ilsendctl(s, nil, Ilclose, ic->next, ic->recvd, 0);
-			ic->state = Ilclosing;
-			ilsettimeout(ic);
-			ilfreeq(ic);
-			break;
-		}
-		break;
-	case Illistening:
-		freeblist(bp);
-		break;
-	case Ilclosing:
-		switch(h->iltype) {
-		case Ilclose:
-			ic->recvd = id;
-			ilsendctl(s, nil, Ilclose, ic->next, ic->recvd, 0);
-			if(ack == ic->next)
-				ilhangup(s, nil);
-			break;
-		default:
-			break;
-		}
-		freeblist(bp);
-		break;
-	}
-}
-
-void
-ilrexmit(Ilcb *ic)
-{
-	Ilhdr *h;
-	Block *nb;
-	Conv *c;
-	ulong id;
-	Ilpriv *priv;
-
-	nb = nil;
-	qlock(&ic->ackq);
-	if(ic->unacked)
-		nb = copyblock(ic->unacked, blocklen(ic->unacked));
-	qunlock(&ic->ackq);
-
-	if(nb == nil)
-		return;
-
-	h = (Ilhdr*)nb->rp;
-	h->vihl = IP_VER4;
-
-	h->iltype = Ildataquery;
-	hnputl(h->ilack, ic->recvd);
-	h->ilspec = ilnextqt(ic);
-	h->ilsum[0] = 0;
-	h->ilsum[1] = 0;
-	hnputs(h->ilsum, ptclcsum(nb, IL_IPSIZE, nhgets(h->illen)));
-
-	c = ic->conv;
-	id = nhgetl(h->ilid);
-	netlog(c->p->f, Logil, "il: rexmit %d %ud: %d %d: %i %d/%d\n", id, ic->recvd,
-		ic->rexmit, ic->timeout,
-		c->raddr, c->lport, c->rport);
-
-	ilbackoff(ic);
-
-	ipoput4(c->p->f, nb, 0, c->ttl, c->tos, c);
-
-	/* statistics */
-	ic->rxtot++;
-	priv = c->p->priv;
-	priv->rexmit++;
-}
-
-/* DEBUG */
-void
-ilprocess(Conv *s, Ilhdr *h, Block *bp)
-{
-	Ilcb *ic;
-
-	ic = (Ilcb*)s->ptcl;
-
-	USED(ic);
-	netlog(s->p->f, Logilmsg, "%11s rcv %d/%d snt %d/%d pkt(%s id %d ack %d %d->%d) ",
-		ilstates[ic->state],  ic->rstart, ic->recvd, ic->start, 
-		ic->next, iltype[h->iltype], nhgetl(h->ilid), 
-		nhgetl(h->ilack), nhgets(h->ilsrc), nhgets(h->ildst));
-
-	_ilprocess(s, h, bp);
-
-	netlog(s->p->f, Logilmsg, "%11s rcv %d snt %d\n", ilstates[ic->state], ic->recvd, ic->next);
-}
-
-void
-ilhangup(Conv *s, char *msg)
-{
-	Ilcb *ic;
-	int callout;
-
-	netlog(s->p->f, Logil, "il: hangup! %I %d/%d: %s\n", s->raddr,
-		s->lport, s->rport, msg?msg:"no reason");
-
-	ic = (Ilcb*)s->ptcl;
-	callout = ic->state == Ilsyncer;
-	illocalclose(s);
-
-	qhangup(s->rq, msg);
-	qhangup(s->wq, msg);
-
-	if(callout)
-		Fsconnected(s, msg);
-}
-
-void
-ilpullup(Conv *s)
-{
-	Ilcb *ic;
-	Ilhdr *oh;
-	Block *bp;
-	ulong oid, dlen;
-	Ilpriv *ipriv;
-
-	ic = (Ilcb*)s->ptcl;
-	if(ic->state != Ilestablished)
-		return;
-
-	qlock(&ic->outo);
-	while(ic->outoforder) {
-		bp = ic->outoforder;
-		oh = (Ilhdr*)bp->rp;
-		oid = nhgetl(oh->ilid);
-		if(oid <= ic->recvd) {
-			ic->outoforder = bp->list;
-			freeblist(bp);
-			continue;
-		}
-		if(oid != ic->recvd+1){
-			ipriv = s->p->priv;
-			ipriv->stats[OutOfOrder]++;
-			break;
-		}
-
-		ic->recvd = oid;
-		ic->outoforder = bp->list;
-
-		bp->list = nil;
-		dlen = nhgets(oh->illen)-IL_HDRSIZE;
-		bp = trimblock(bp, IL_IPSIZE+IL_HDRSIZE, dlen);
-		/*
-		 * Upper levels don't know about multiple-block
-		 * messages so copy all into one (yick).
-		 */
-		bp = concatblock(bp);
-		if(bp == 0)
-			panic("ilpullup");
-		bp = packblock(bp);
-		if(bp == 0)
-			panic("ilpullup2");
-		qpass(s->rq, bp);
-	}
-	qunlock(&ic->outo);
-}
-
-void
-iloutoforder(Conv *s, Ilhdr *h, Block *bp)
-{
-	Ilcb *ic;
-	uchar *lid;
-	Block *f, **l;
-	ulong id, newid;
-	Ilpriv *ipriv;
-
-	ipriv = s->p->priv;
-	ic = (Ilcb*)s->ptcl;
-	bp->list = nil;
-
-	id = nhgetl(h->ilid);
-	/* Window checks */
-	if(id <= ic->recvd || id > ic->recvd+ic->window) {
-		netlog(s->p->f, Logil, "il: message outside window %ud <%ud-%ud>: %i %d/%d\n",
-			id, ic->recvd, ic->recvd+ic->window, s->raddr, s->lport, s->rport);
-		freeblist(bp);
-		return;
-	}
-
-	/* Packet is acceptable so sort onto receive queue for pullup */
-	qlock(&ic->outo);
-	if(ic->outoforder == nil)
-		ic->outoforder = bp;
-	else {
-		l = &ic->outoforder;
-		for(f = *l; f; f = f->list) {
-			lid = ((Ilhdr*)(f->rp))->ilid;
-			newid = nhgetl(lid);
-			if(id <= newid) {
-				if(id == newid) {
-					ipriv->stats[DupMsg]++;
-					ipriv->stats[DupBytes] += blocklen(bp);
-					qunlock(&ic->outo);
-					freeblist(bp);
-					return;
-				}
-				bp->list = f;
-				*l = bp;
-				qunlock(&ic->outo);
-				return;
-			}
-			l = &f->list;
-		}
-		*l = bp;
-	}
-	qunlock(&ic->outo);
-}
-
-void
-ilsendctl(Conv *ipc, Ilhdr *inih, int type, ulong id, ulong ack, int ilspec)
-{
-	Ilhdr *ih;
-	Ilcb *ic;
-	Block *bp;
-	int ttl, tos;
-
-	bp = allocb(IL_IPSIZE+IL_HDRSIZE);
-	bp->wp += IL_IPSIZE+IL_HDRSIZE;
-
-	ih = (Ilhdr *)(bp->rp);
-	ih->vihl = IP_VER4;
-
-	/* Ip fields */
-	ih->proto = IP_ILPROTO;
-	hnputs(ih->illen, IL_HDRSIZE);
-	ih->frag[0] = 0;
-	ih->frag[1] = 0;
-	if(inih) {
-		hnputl(ih->dst, nhgetl(inih->src));
-		hnputl(ih->src, nhgetl(inih->dst));
-		hnputs(ih->ilsrc, nhgets(inih->ildst));
-		hnputs(ih->ildst, nhgets(inih->ilsrc));
-		hnputl(ih->ilid, nhgetl(inih->ilack));
-		hnputl(ih->ilack, nhgetl(inih->ilid));
-		ttl = MAXTTL;
-		tos = DFLTTOS;
-	}
-	else {
-		v6tov4(ih->dst, ipc->raddr);
-		v6tov4(ih->src, ipc->laddr);
-		hnputs(ih->ilsrc, ipc->lport);
-		hnputs(ih->ildst, ipc->rport);
-		hnputl(ih->ilid, id);
-		hnputl(ih->ilack, ack);
-		ic = (Ilcb*)ipc->ptcl;
-		ic->acksent = ack;
-		ic->acktime = NOW;
-		ttl = ipc->ttl;
-		tos = ipc->tos;
-	}
-	ih->iltype = type;
-	ih->ilspec = ilspec;
-	ih->ilsum[0] = 0;
-	ih->ilsum[1] = 0;
-
-	if(ilcksum)
-		hnputs(ih->ilsum, ptclcsum(bp, IL_IPSIZE, IL_HDRSIZE));
-
-if(ipc==nil)
-	panic("ipc is nil caller is %#p", getcallerpc(&ipc));
-if(ipc->p==nil)
-	panic("ipc->p is nil");
-
-	netlog(ipc->p->f, Logilmsg, "ctl(%s id %d ack %d %d->%d)\n",
-		iltype[ih->iltype], nhgetl(ih->ilid), nhgetl(ih->ilack), 
-		nhgets(ih->ilsrc), nhgets(ih->ildst));
-
-	ipoput4(ipc->p->f, bp, 0, ttl, tos, ipc);
-}
-
-void
-ilreject(Fs *f, Ilhdr *inih)
-{
-	Ilhdr *ih;
-	Block *bp;
-
-	bp = allocb(IL_IPSIZE+IL_HDRSIZE);
-	bp->wp += IL_IPSIZE+IL_HDRSIZE;
-
-	ih = (Ilhdr *)(bp->rp);
-	ih->vihl = IP_VER4;
-
-	/* Ip fields */
-	ih->proto = IP_ILPROTO;
-	hnputs(ih->illen, IL_HDRSIZE);
-	ih->frag[0] = 0;
-	ih->frag[1] = 0;
-	hnputl(ih->dst, nhgetl(inih->src));
-	hnputl(ih->src, nhgetl(inih->dst));
-	hnputs(ih->ilsrc, nhgets(inih->ildst));
-	hnputs(ih->ildst, nhgets(inih->ilsrc));
-	hnputl(ih->ilid, nhgetl(inih->ilack));
-	hnputl(ih->ilack, nhgetl(inih->ilid));
-	ih->iltype = Ilclose;
-	ih->ilspec = 0;
-	ih->ilsum[0] = 0;
-	ih->ilsum[1] = 0;
-
-	if(ilcksum)
-		hnputs(ih->ilsum, ptclcsum(bp, IL_IPSIZE, IL_HDRSIZE));
-
-	ipoput4(f, bp, 0, MAXTTL, DFLTTOS, nil);
-}
-
-void
-ilsettimeout(Ilcb *ic)
-{
-	ulong pt;
-
-	pt = (ic->delay>>LogAGain)
-		+ ic->unackedbytes/(ic->rate>>LogAGain)
-		+ (ic->mdev>>(LogDGain-1))
-		+ AckDelay;
-	if(pt > MaxTimeout)
-		pt = MaxTimeout;
-	ic->timeout = NOW + pt;
-}
-
-void
-ilbackoff(Ilcb *ic)
-{
-	ulong pt;
-	int i;
-
-	pt = (ic->delay>>LogAGain)
-		+ ic->unackedbytes/(ic->rate>>LogAGain)
-		+ (ic->mdev>>(LogDGain-1))
-		+ AckDelay;
-	for(i = 0; i < ic->rexmit; i++)
-		pt = pt + (pt>>1);
-	if(pt > MaxTimeout)
-		pt = MaxTimeout;
-	ic->timeout = NOW + pt;
-
-	if(ic->fasttimeout)
-		ic->timeout = NOW+Iltickms;
-
-	ic->rexmit++;
-}
-
-// complain if two numbers not within an hour of each other
-#define Tfuture (1000*60*60)
-int
-later(ulong t1, ulong t2, char *x)
-{
-	int dt;
-
-	dt = t1 - t2;
-	if(dt > 0) {
-		if(x != nil && dt > Tfuture)
-			print("%s: way future %d\n", x, dt);
-		return 1;
-	}
-	if(dt < -Tfuture) {
-		if(x != nil)
-			print("%s: way past %d\n", x, -dt);
-		return 1;
-	}
-	return 0;
-}
-
-void
-ilackproc(void *x)
-{
-	Ilcb *ic;
-	Conv **s, *p;
-	Proto *il;
-
-	il = x;
-
-loop:
-	tsleep(&up->sleep, return0, 0, Iltickms);
-	for(s = il->conv; s && *s; s++) {
-		p = *s;
-		ic = (Ilcb*)p->ptcl;
-
-		switch(ic->state) {
-		case Ilclosed:
-		case Illistening:
-			break;
-		case Ilclosing:
-			if(later(NOW, ic->timeout, "timeout0")) {
-				if(ic->rexmit > MaxRexmit){
-					ilhangup(p, nil);
-					break;
-				}
-				ilsendctl(p, nil, Ilclose, ic->next, ic->recvd, 0);
-				ilbackoff(ic);
-			}
-			break;
-
-		case Ilsyncee:
-		case Ilsyncer:
-			if(later(NOW, ic->timeout, "timeout1")) {
-				if(ic->rexmit > MaxRexmit){
-					ilhangup(p, etime);
-					break;
-				}
-				ilsendctl(p, nil, Ilsync, ic->start, ic->recvd, 0);
-				ilbackoff(ic);
-			}
-			break;
-
-		case Ilestablished:
-			if(ic->recvd != ic->acksent)
-			if(later(NOW, ic->acktime, "acktime"))
-				ilsendctl(p, nil, Ilack, ic->next, ic->recvd, 0);
-
-			if(later(NOW, ic->querytime, "querytime")){
-				if(later(NOW, ic->lastrecv+DeathTime, "deathtime")){
-					netlog(il->f, Logil, "il: hangup: deathtime\n");
-					ilhangup(p, etime);
-					break;
-				}
-				ilsendctl(p, nil, Ilquery, ic->next, ic->recvd, ilnextqt(ic));
-				ic->querytime = NOW + QueryTime;
-			}
-
-			if(ic->unacked != nil)
-			if(later(NOW, ic->timeout, "timeout2")) {
-				if(ic->rexmit > MaxRexmit){
-					netlog(il->f, Logil, "il: hangup: too many rexmits\n");
-					ilhangup(p, etime);
-					break;
-				}
-				ilsendctl(p, nil, Ilquery, ic->next, ic->recvd, ilnextqt(ic));
-				ic->rxquery++;
-				ilbackoff(ic);
-			}
-			break;
-		}
-	}
-	goto loop;
-}
-
-void
-ilcbinit(Ilcb *ic)
-{
-	ic->start = nrand(0x1000000);
-	ic->next = ic->start+1;
-	ic->recvd = 0;
-	ic->window = Defaultwin;
-	ic->unackedbytes = 0;
-	ic->unacked = nil;
-	ic->outoforder = nil;
-	ic->rexmit = 0;
-	ic->rxtot = 0;
-	ic->rxquery = 0;
-	ic->qtx = 1;
-	ic->fasttimeout = 0;
-
-	/* timers */
-	ic->delay = DefRtt<<LogAGain;
-	ic->mdev = DefRtt<<LogDGain;
-	ic->rate = DefByteRate<<LogAGain;
-	ic->querytime = NOW + QueryTime;
-	ic->lastrecv = NOW;	/* or we'll timeout right away */
-	ilsettimeout(ic);
-}
-
-char*
-ilstart(Conv *c, int type, int fasttimeout)
-{
-	Ilcb *ic;
-	Ilpriv *ipriv;
-	char kpname[KNAMELEN];
-
-	ipriv = c->p->priv;
-
-	if(ipriv->ackprocstarted == 0){
-		qlock(&ipriv->apl);
-		if(ipriv->ackprocstarted == 0){
-			sprint(kpname, "#I%dilack", c->p->f->dev);
-			kproc(kpname, ilackproc, c->p);
-			ipriv->ackprocstarted = 1;
-		}
-		qunlock(&ipriv->apl);
-	}
-
-	ic = (Ilcb*)c->ptcl;
-	ic->conv = c;
-
-	if(ic->state != Ilclosed)
-		return nil;
-
-	ilcbinit(ic);
-
-	if(fasttimeout){
-		/* timeout if we can't connect quickly */
-		ic->fasttimeout = 1;
-		ic->timeout = NOW+Iltickms;
-		ic->rexmit = MaxRexmit - 4;
-	};
-
-	switch(type) {
-	default:
-		netlog(c->p->f, Logil, "il: start: type %d\n", type);
-		break;
-	case IL_LISTEN:
-		ic->state = Illistening;
-		iphtadd(&ipriv->ht, c);
-		break;
-	case IL_CONNECT:
-		ic->state = Ilsyncer;
-		iphtadd(&ipriv->ht, c);
-		ilsendctl(c, nil, Ilsync, ic->start, ic->recvd, 0);
-		break;
-	}
-
-	return nil;
-}
-
-void
-ilfreeq(Ilcb *ic)
-{
-	Block *bp, *next;
-
-	qlock(&ic->ackq);
-	for(bp = ic->unacked; bp; bp = next) {
-		next = bp->list;
-		freeblist(bp);
-	}
-	ic->unacked = nil;
-	qunlock(&ic->ackq);
-
-	qlock(&ic->outo);
-	for(bp = ic->outoforder; bp; bp = next) {
-		next = bp->list;
-		freeblist(bp);
-	}
-	ic->outoforder = nil;
-	qunlock(&ic->outo);
-}
-
-void
-iladvise(Proto *il, Block *bp, char *msg)
-{
-	Ilhdr *h;
-	Ilcb *ic;		
-	uchar source[IPaddrlen], dest[IPaddrlen];
-	ushort psource;
-	Conv *s, **p;
-
-	h = (Ilhdr*)(bp->rp);
-
-	v4tov6(dest, h->dst);
-	v4tov6(source, h->src);
-	psource = nhgets(h->ilsrc);
-
-
-	/* Look for a connection, unfortunately the destination port is missing */
-	qlock(il);
-	for(p = il->conv; *p; p++) {
-		s = *p;
-		if(s->lport == psource)
-		if(ipcmp(s->laddr, source) == 0)
-		if(ipcmp(s->raddr, dest) == 0){
-			qunlock(il);
-			ic = (Ilcb*)s->ptcl;
-			switch(ic->state){
-			case Ilsyncer:
-				ilhangup(s, msg);
-				break;
-			}
-			freeblist(bp);
-			return;
-		}
-	}
-	qunlock(il);
-	freeblist(bp);
-}
-
-int
-ilnextqt(Ilcb *ic)
-{
-	int x;
-
-	qlock(&ic->ackq);
-	x = ic->qtx;
-	if(++x > Nqt)
-		x = 1;
-	ic->qtx = x;
-	ic->qt[x] = ic->next-1;	/* highest xmitted packet */
-	ic->qt[0] = ic->qt[x];	/* compatibility with old implementations */
-	qunlock(&ic->ackq);
-
-	return x;
-}
-
-/* calculate scale constants that converts fast ticks to ms (more or less) */
-static void
-inittimescale(void)
-{
-	uvlong hz;
-
-	fastticks(&hz);
-	if(hz > 1000){
-		scalediv = hz/1000;
-		scalemul = 1;
-	} else {
-		scalediv = 1;
-		scalemul = 1000/hz;
-	}
-}
-
-void
-ilinit(Fs *f)
-{
-	Proto *il;
-
-	inittimescale();
-
-	il = smalloc(sizeof(Proto));
-	il->priv = smalloc(sizeof(Ilpriv));
-	il->name = "il";
-	il->connect = ilconnect;
-	il->announce = ilannounce;
-	il->state = ilstate;
-	il->create = ilcreate;
-	il->close = ilclose;
-	il->rcv = iliput;
-	il->ctl = nil;
-	il->advise = iladvise;
-	il->stats = ilxstats;
-	il->inuse = ilinuse;
-	il->gc = nil;
-	il->ipproto = IP_ILPROTO;
-	il->nc = scalednconv();
-	il->ptclsize = sizeof(Ilcb);
-	Fsproto(f, il);
-}

+ 0 - 2
sys/src/9/ip/ip.h

@@ -408,11 +408,9 @@ enum
 	Logip=		1<<1,
 	Logtcp=		1<<2,
 	Logfs=		1<<3,
-	Logil=		1<<4,
 	Logicmp=	1<<5,
 	Logudp=		1<<6,
 	Logcompress=	1<<7,
-	Logilmsg=	1<<8,
 	Loggre=		1<<9,
 	Logppp=		1<<10,
 	Logtcprxmt=	1<<11,

+ 0 - 2
sys/src/9/ip/netlog.c

@@ -40,11 +40,9 @@ static Netlogflag flags[] =
 	{ "ip",		Logip, },
 	{ "fs",		Logfs, },
 	{ "tcp",	Logtcp, },
-	{ "il",		Logil, },
 	{ "icmp",	Logicmp, },
 	{ "udp",	Logudp, },
 	{ "compress",	Logcompress, },
-	{ "ilmsg",	Logil|Logilmsg, },
 	{ "gre",	Loggre, },
 	{ "tcpwin",	Logtcp|Logtcpwin, },
 	{ "tcprxmt",	Logtcp|Logtcprxmt, },

+ 0 - 2
sys/src/9/mtx/mtx

@@ -27,7 +27,6 @@ misc
 	uarti8250
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -38,7 +37,6 @@ port
 	int cpuserver = 0;
 
 boot
-	il
 
 bootdir
 	bootmtx.out boot

+ 0 - 2
sys/src/9/mtx/mtxcpu

@@ -27,7 +27,6 @@ misc
 	uarti8250
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -38,7 +37,6 @@ port
 	int cpuserver = 1;
 
 boot cpu
-	il
 
 bootdir
 	bootmtxcpu.out boot

+ 0 - 2
sys/src/9/pc/pc

@@ -99,7 +99,6 @@ misc
 	vgavmware	+cur
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -112,7 +111,6 @@ port
 
 boot
 	tcp
-	il
 
 bootdir
 	bootpc.out boot

+ 0 - 2
sys/src/9/pc/pcauth

@@ -47,7 +47,6 @@ misc
 	vgas3 		+cur vgasavage
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -59,7 +58,6 @@ port
 
 boot cpu boot #S/sdC0/
 	tcp
-	il
 	local
 
 bootdir

+ 0 - 2
sys/src/9/pc/pccd

@@ -97,7 +97,6 @@ misc
 	vgavmware	+cur
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -108,7 +107,6 @@ port
 	int cpuserver = 0;
 
 boot boot #S/sdD0/data
-	il
 	tcp
 	local
 

+ 0 - 2
sys/src/9/pc/pccpu

@@ -60,7 +60,6 @@ misc
 	sdmylex		pci sdscsi
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -76,7 +75,6 @@ port
 
 boot cpu
 	tcp
-	il
 
 bootdir
 	bootpccpu.out boot

+ 0 - 2
sys/src/9/pc/pccpuf

@@ -94,7 +94,6 @@ misc
 
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -110,7 +109,6 @@ port
 
 boot cpu boot #S/sdC0/
 	tcp
-	il
 	local
 
 bootdir

+ 0 - 2
sys/src/9/pc/pcdisk

@@ -96,7 +96,6 @@ misc
 	vgavmware	+cur
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -108,7 +107,6 @@ port
 
 boot boot #S/sdC0/
 	tcp
-	il
 	local
 
 bootdir

+ 0 - 2
sys/src/9/pc/pcf

@@ -98,7 +98,6 @@ misc
 	vgavmware	+cur
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -110,7 +109,6 @@ port
 
 boot boot #S/sdC0/
 	tcp
-	il
 	local
 
 bootdir

+ 0 - 2
sys/src/9/pc/pcfl

@@ -90,7 +90,6 @@ misc
 	vgavmware	+cur
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -101,7 +100,6 @@ port
 	int cpuserver = 0;
 
 boot boot #S/sdC0/
-	il
 	local
 
 bootdir

+ 0 - 1
sys/src/9/pc/pcflop

@@ -98,7 +98,6 @@ misc
 	vgavmware	+cur
 
 ip
-	il
 	tcp
 	udp
 	ipifc

+ 0 - 2
sys/src/9/ppc/blast

@@ -28,7 +28,6 @@ misc
 	m8260
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -39,7 +38,6 @@ port
 	int cpuserver = 1;
 
 boot cpu
-	il
 	tcp
 
 bootdir

+ 0 - 2
sys/src/9/ppc/ucu

@@ -27,7 +27,6 @@ misc
 	msaturn
 
 ip
-	il
 	tcp
 	udp
 	ipifc
@@ -38,7 +37,6 @@ port
 	int cpuserver = 1;
 
 boot cpu
-	il
 	tcp
 
 bootdir

+ 7 - 1
sys/src/cmd/ndb/dblookup.c

@@ -10,7 +10,13 @@ enum {
 	Nibmask = (1<<Nibwidth) - 1,
 	V6maxrevdomdepth = 128 / Nibwidth,	/* bits / bits-per-nibble */
 
-	Ptrttl = 300,		/* ttl for generated ptr records; was 0 */
+	/*
+	 * ttl for generated ptr records.  it was zero, which might seem
+	 * like a good idea, but some dns implementations seem to be
+	 * confused by a zero ttl, and instead of using the data and then
+	 * discarding the RR, they conclude that they don't have valid data.
+	 */
+	Ptrttl = 300,
 };
 
 static Ndb *db;

+ 0 - 178
sys/src/fs/9netics32.16k/9net32.16kfs.c

@@ -1,178 +0,0 @@
-#include "all.h"
-#include "mem.h"
-#include "io.h"
-#include "ureg.h"
-
-#include "../pc/dosfs.h"
-
-/*
- * setting this to zero permits the use of discs of different sizes, but
- * can make jukeinit() quite slow while the robotics work through each disc
- * twice (once per side).
- */
-int FIXEDSIZE = 1;
-
-#ifndef	DATE
-#define	DATE	1094098624L
-#endif
-
-Timet	mktime		= DATE;				/* set by mkfile */
-Startsb	startsb[] =
-{
-	"main",		2,	/* */
-	0
-};
-
-Dos dos;
-
-static struct
-{
-	char	*name;
-	Off	(*read)(int, void*, long);
-	Devsize	(*seek)(int, Devsize);
-	Off	(*write)(int, void*, long);
-	int	(*part)(int, char*);