Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/ng_bridge.4
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | |||||
hook of an | hook of an | ||||
.Xr ng_ether 4 | .Xr ng_ether 4 | ||||
node to an | node to an | ||||
.Ar uplink | .Ar uplink | ||||
hook of the bridge, and ignore the complexity of the outside world. | hook of the bridge, and ignore the complexity of the outside world. | ||||
Frames with unknown MACs are always sent out to | Frames with unknown MACs are always sent out to | ||||
.Ar uplink | .Ar uplink | ||||
hooks, so no functionality is lost. | hooks, so no functionality is lost. | ||||
.Pp | |||||
Frames with unknown destination MAC addresses are replicated to any | |||||
available hook, unless the first connected hook is an | |||||
.Ar uplink | |||||
hook. | |||||
In this case the node assumes, that all unknown MAC addresses are | |||||
located soley on the | |||||
.Ar uplink | |||||
hooks and only those hooks will be used to send out frames with | |||||
unknown destination MACs. | |||||
If the first connected hook is an | |||||
.Ar link | |||||
hook, the node will replicate such frames to all types of hooks, | |||||
even if | |||||
.Ar uplink | |||||
hooks are connected later. | |||||
.Sh CONTROL MESSAGES | .Sh CONTROL MESSAGES | ||||
This node type supports the generic control messages, plus the | This node type supports the generic control messages, plus the | ||||
following: | following: | ||||
.Bl -tag -width foo | .Bl -tag -width foo | ||||
.It Dv NGM_BRIDGE_SET_CONFIG Pq Ar setconfig | .It Dv NGM_BRIDGE_SET_CONFIG Pq Ar setconfig | ||||
Set the node configuration. | Set the node configuration. | ||||
This command takes a | This command takes a | ||||
.Vt "struct ng_bridge_config" | .Vt "struct ng_bridge_config" | ||||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |