Browse Source

Plan 9 from Bell Labs 2007-11-08

David du Colombier 16 years ago
parent
commit
7478dfe856
5 changed files with 22 additions and 7 deletions
  1. 2 2
      dist/replica/_plan9.db
  2. 2 2
      dist/replica/plan9.db
  3. 2 0
      dist/replica/plan9.log
  4. 13 2
      sys/man/3/bridge
  5. 3 1
      sys/man/3/ip

+ 2 - 2
dist/replica/_plan9.db

@@ -7668,7 +7668,7 @@ sys/man/3/aoe - 664 sys sys 1186713784 6420
 sys/man/3/apm - 664 sys sys 984709634 1625
 sys/man/3/arch - 664 sys sys 958419692 1425
 sys/man/3/audio - 664 sys sys 1133880494 2933
-sys/man/3/bridge - 664 sys sys 1182317237 3151
+sys/man/3/bridge - 664 sys sys 1194478365 3370
 sys/man/3/cap - 664 sys sys 1032632323 2137
 sys/man/3/cons - 664 sys sys 1133880397 8972
 sys/man/3/draw - 664 sys sys 1040457030 13813
@@ -7678,7 +7678,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 1193163728 26241
+sys/man/3/ip - 664 sys sys 1194478359 26321
 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

+ 2 - 2
dist/replica/plan9.db

@@ -7668,7 +7668,7 @@ sys/man/3/aoe - 664 sys sys 1186713784 6420
 sys/man/3/apm - 664 sys sys 984709634 1625
 sys/man/3/arch - 664 sys sys 958419692 1425
 sys/man/3/audio - 664 sys sys 1133880494 2933
-sys/man/3/bridge - 664 sys sys 1182317237 3151
+sys/man/3/bridge - 664 sys sys 1194478365 3370
 sys/man/3/cap - 664 sys sys 1032632323 2137
 sys/man/3/cons - 664 sys sys 1133880397 8972
 sys/man/3/draw - 664 sys sys 1040457030 13813
@@ -7678,7 +7678,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 1193163728 26241
+sys/man/3/ip - 664 sys sys 1194478359 26321
 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

+ 2 - 0
dist/replica/plan9.log

@@ -53329,3 +53329,5 @@
 1194321605 0 c sys/src/cmd/ndb/dnresolve.c - 664 sys sys 1194321818 34961
 1194368404 0 c sys/games/lib/fortunes - 664 sys sys 1194368267 267646
 1194381004 0 c sys/src/boot/pc/bcom.c - 664 sys sys 1194380248 6462
+1194480004 0 c sys/man/3/bridge - 664 sys sys 1194478365 3370
+1194480004 1 c sys/man/3/ip - 664 sys sys 1194478359 26321

+ 13 - 2
sys/man/3/bridge

@@ -92,7 +92,7 @@ or
 .LR tunnel .
 .TP
 .B cacheflush
-Clear the cache of (IP addresses, destination MAC address, port) tuples.
+Clear the cache of (destination MAC address, port) tuples.
 .TP
 .BI "delay " "delay0 delayn"
 Set the
@@ -129,8 +129,19 @@ and will block at end of file awaiting new data.
 .PP
 Reading the
 .B cache
-file prints the cache of (IP addresses, destination MAC address, port) tuples,
+file prints the cache of (destination MAC address, port) tuples,
 one entry per line.
+The format is:
+the destination MAC (e.g., Ethernet) address in hex,
+port number,
+count of packets from this address,
+count of packets to this address,
+expiry time in seconds since the epoch,
+and
+.L e
+for expired entries or
+.L v
+for valid entries.
 .PP
 In a connection subdirectory,
 .B ctl

+ 3 - 1
sys/man/3/ip

@@ -1,6 +1,6 @@
 .TH IP 3
 .SH NAME
-ip \- network protocols over IP
+ip, esp, gre, icmp, icmpv6, ipmux, rudp, tcp, udp \- network protocols over IP
 .SH SYNOPSIS
 .nf
 .2C
@@ -1175,6 +1175,8 @@ header length errors
 .SH "SEE ALSO"
 .IR dial (2),
 .IR ip (2),
+.IR bridge (3),
+.\" .IR ike (4),
 .IR ndb (6),
 .IR listen (8)
 .br