mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
ether(3): document "bypass" ctl message.
This commit is contained in:
parent
54c94a93f0
commit
81c251f558
1 changed files with 20 additions and 1 deletions
|
@ -119,5 +119,24 @@ connections can be set to bridge mode by writing
|
|||
to the
|
||||
.B ctl
|
||||
file.
|
||||
.PP
|
||||
For
|
||||
.IR bridge (3)
|
||||
and
|
||||
.IR ethermultilink (8),
|
||||
the physical interface can be bypassed by writing
|
||||
.B bypass
|
||||
to the
|
||||
.B ctl
|
||||
file.
|
||||
This means that packets transmitted on the interface
|
||||
are not physically sent out but looped back to the bypass
|
||||
.B data
|
||||
file and packets
|
||||
received on the physical interface are ignored.
|
||||
Writing a packet to the bypass
|
||||
.B data
|
||||
file loops it back as if it was received
|
||||
on the physical interface.
|
||||
.SH SOURCE
|
||||
.B /sys/src/9/*/devether.c
|
||||
.B /sys/src/9/port/devether.c
|
||||
|
|
Loading…
Reference in a new issue