ref: 94dd6a91f983b1c6a164ad31cb6626084b27c431
parent: 1958799412af209062971813fce377ac153d8347
	author: cinap_lenrek <cinap_lenrek@felloff.net>
	date: Sun Dec 17 15:51:41 EST 2017
	
bridge(3): clarify manpage, this is a layer2 bridge yes, it peeks into IP packets to handle fragmentation when sending onto tunnel ports and does mss clamping. but it can carry arbitrary ethernet packets just fine (between ethernets).
--- a/sys/man/3/bridge
+++ b/sys/man/3/bridge
@@ -1,6 +1,6 @@
.TH BRIDGE 3
.SH NAME
-bridge \- IPv4 Ethernet bridge
+bridge \- IP Ethernet bridge
.SH SYNOPSIS
.nf
.B bind -a #B\fIb\fP /net
@@ -17,7 +17,7 @@
.SH DESCRIPTION
The
.I bridge
-device bridges IPv4 packets amongst Ethernet interfaces.
+device bridges packets amongst Ethernet interfaces.
The number
.I b
in the bind is optional and selects a particular bridge
@@ -58,7 +58,7 @@
.I path
(e.g.,
.LR /net/ether0 )
-as an Ethernet medium carrying IPv4 and ARP packets
+as an Ethernet medium
and associate it with this bridge (forward its packets to the
other interfaces associated with this bridge).
.I Ownhash
@@ -67,10 +67,10 @@
.BI "bind tunnel " "name ownhash path path2
Treat the device mounted at
.I path
-as a network tunnel carrying IPv4 and ARP packets,
+as a network tunnel carrying Ethernet packets,
the device mounted at
.I path2
-as an Ethernet medium carrying IPv4 and ARP packets
+as an Ethernet
and associate them with this bridge
(forward its packets to the
other interfaces associated with this bridge).
@@ -112,7 +112,7 @@
The only known option is
.LR tcpmss ,
which limits the TCP Maximum Segment Size of
-TCPv4 packets passing through to 1300 bytes.
+TCP packets passing through to 1300 bytes.
.TP
.BI "clear " option
Clear bridge
@@ -167,5 +167,3 @@
.IR ip (3)
.SH SOURCE
.B /sys/src/9/port/devbridge.c
-.SH BUGS
-Doesn't understand IPv6.
--
⑨