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
319 # Optionally create a secondary bridge
320 if [ "$bridge" != "bridge" ] &&
321 ! ngctl info "$iface$bridge:" > /dev/null 2>&1
324 while ngctl msg ${iface}bridge: getstats $num \
329 ngctl mkpeer $iface:lower bridge link$num link1 ||
331 ngctl name ${iface}bridge:link$num "$iface$bridge" ||
335 # Create a new interface to the bridge
337 while ngctl msg "$iface$bridge:" getstats $num > /dev/null 2>&1
341 ngctl mkpeer "$iface$bridge:" eiface link$num ether || return
347 new=$( set -- `ngctl show -n "$iface$bridge:link$num"` &&
349 ngctl name "$iface$bridge:link$num" $eiface || return
421 ngctl ls | awk '$4=="bridge",$0=$2' |
422 xargs -rn1 -Ibridge ngctl show bridge: |
470 $3 == "bridge" && $5 ~ /^link/ {
471 bridge = $2
474 bridge, link))