diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-12-15 22:22:29 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-12-15 22:22:29 +0100 |
commit | 9fd8894fec87ccd326997b84a2be431af8764cce (patch) | |
tree | df8bdfa139b48cefa908f208d44b1ecb326150f5 /sys/man | |
parent | 4ad70e6055093123f0611269ca7e8e201257e5db (diff) |
ether: allow spoofing of source mac address for bridges; used by vmx
to implement layer 2 bridges in userspace, we disable to auto filling
of the source mac address when bridge mode is enabled on the
connection.
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/3/ether | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/man/3/ether b/sys/man/3/ether index e1d534b63..b4f3b37f5 100644 --- a/sys/man/3/ether +++ b/sys/man/3/ether @@ -107,5 +107,17 @@ The interface remains promiscuous until the control file is closed. The extra packets are passed up connections only of types \-1 and \-2. +.PP +Writing packets to the +.B data +file automatically fills the +source address before sending. To allow implementations of +layer 2 bridges like +.IR bridge (3), +connections can be set to bridge mode by writing +.B bridge +to the +.B ctl +file. .SH SOURCE .B /sys/src/9/*/devether.c |