diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-12-17 20:51:41 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-12-17 20:51:41 +0100 |
commit | e31934f9f317205097f09b165bcaed2e5d00aaa1 (patch) | |
tree | 4deb93638be3282816ba634214eb5f2a3d3ea686 /sys/man/3 | |
parent | 3e48a666658b2636f11e28dc589180102674d343 (diff) |
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).
Diffstat (limited to 'sys/man/3')
-rw-r--r-- | sys/man/3/bridge | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/man/3/bridge b/sys/man/3/bridge index 21f989457..c37985598 100644 --- 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 @@ bridge \- IPv4 Ethernet bridge .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 @@ Treat the device mounted at .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 @@ is an `owner hash'. .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 @@ Set bridge 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 @@ echo 'bind ether inner 0 /net/ether1' >/net/bridge0/ctl .IR ip (3) .SH SOURCE .B /sys/src/9/port/devbridge.c -.SH BUGS -Doesn't understand IPv6. |