ref: 520355bb2f12835b26556799665eb9ee1014e0f8
parent: 10ae654698d37d5c84e7357a6799f8fb432131af
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Oct 29 10:16:18 EDT 2023
ether(3): document "bypass" ctl message.
--- a/sys/man/3/ether
+++ b/sys/man/3/ether
@@ -119,5 +119,24 @@
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
--
⑨