Lines Matching full:bridge
50 # # arguments given to `jng bridge xxx' in exec.prestart value.
61 # # NB: The number of arguments after `jng bridge xxx' should match
64 # exec.prestart += "jng bridge xxx em0 em1 ...";
105 # jail_xxx_exec_prestart0="jng bridge xxx em0 em1 ..." # bridge interface(s)
151 bridge \
263 jng_bridge_usage="bridge [-b BRIDGE_NAME] NAME [!|=]iface0 [[!|=]iface1 ...]"
267 local OPTIND=1 OPTARG flag bridge=bridge
270 b) bridge="$OPTARG"
271 [ "$bridge" ] || action_usage bridge ;; # NOTREACHED
272 *) action_usage bridge # NOTREACHED
279 action_usage bridge # NOTREACHED
310 if ! ngctl info ${iface}bridge: > /dev/null 2>&1; then
311 ngctl mkpeer $iface: bridge lower link0 || return
314 ngctl name $iface:lower ${iface}bridge || return
317 # Optionally create a secondary bridge
318 if [ "$bridge" != "bridge" ] &&
319 ! ngctl info "$iface$bridge:" > /dev/null 2>&1
322 while ngctl msg ${iface}bridge: getstats $num \
327 ngctl mkpeer $iface:lower bridge link$num link1 ||
329 ngctl name ${iface}bridge:link$num "$iface$bridge" ||
333 # Create a new interface to the bridge
335 while ngctl msg "$iface$bridge:" getstats $num > /dev/null 2>&1
339 ngctl mkpeer "$iface$bridge:" eiface link$num ether || return
345 new=$( set -- `ngctl show -n "$iface$bridge:link$num"` &&
347 ngctl name "$iface$bridge:link$num" $eiface || return
418 ngctl ls | awk '$4=="bridge",$0=$2' |
419 xargs -rn1 -Ibridge ngctl show bridge: |
467 $3 == "bridge" && $5 ~ /^link/ {
468 bridge = $2
471 bridge, link))