Searched +full:2 +full:- +full:dev (Results 1 – 25 of 1218) sorted by relevance
12345678910>>...49
3 # Use of this source code is governed by a BSD-style license that can be9 set -u12 echo "WARN: $@" 1>&216 echo "ERROR: $@" 1>&222 echo "PASS:$1" 1>&229 echo "FAIL:$1" 1>&236 if [ -n "$WORKDIR" ]; then37 rm -rf "$WORKDIR"39 trap - EXIT43 WORKDIR=$(mktemp -d rootdev_test.XXXXXXX)[all …]
2 # SPDX-License-Identifier: GPL-2.010 vrf_create "vrf-h1"11 ip link set dev $h1 master vrf-h113 ip link set dev vrf-h1 up14 ip link set dev $h1 up16 ip address add 192.0.2.2/24 dev $h117 ip address add 2001:db8:1::2/64 dev $h119 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.120 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::125 ip route del 2001:db8:2::/64 vrf vrf-h1[all …]
1 # SPDX-License-Identifier: GPL-2.013 ip -n $ns -j -p -$family route show $route \14 | jq -e '.[]["flags"] | contains(["trap"])' &> /dev/null17 if [[ $ret -ne 0 ]]; then63 ip -n $ns link add name dummy$i type dummy64 ip -n $ns link set dev dummy$i up67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 102468 fib4_trap_check $ns "192.0.2.0/24 dev dummy1 tos 0 metric 1024" false71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 102472 fib4_trap_check $ns "192.0.2.0/24 dev dummy2 tos 0 metric 1024" true[all …]
2 # SPDX-License-Identifier: GPL-2.016 vrf_create "vrf-h1"17 ip link set dev $h1 master vrf-h119 ip link set dev vrf-h1 up20 ip link set dev $h1 up22 ip address add 192.0.2.2/24 dev $h123 ip address add 2001:db8:1::2/64 dev $h125 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.126 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::131 ip route del 2001:db8:2::/64 vrf vrf-h1[all …]
2 # SPDX-License-Identifier: GPL-2.010 NUM_NETIFS=229 tc qdisc add dev $h2 clsact34 tc qdisc del dev $h2 clsact44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \49 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \50 -t ip -q52 tc_check_packets "dev $h2 ingress" 101 155 tc_check_packets "dev $h2 ingress" 102 1[all …]
2 # SPDX-License-Identifier: GPL-2.014 vrf_create "vrf-h1"15 ip link set dev $h1 master vrf-h117 ip link set dev vrf-h1 up18 ip link set dev $h1 up20 ip address add 192.0.2.2/24 dev $h121 ip address add 2001:db8:1::2/64 dev $h123 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.124 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::129 ip route del 2001:db8:2::/64 vrf vrf-h1[all …]
2 # SPDX-License-Identifier: GPL-2.05 # +--------------------------------+ +-----------------------------+6 # | vrf-h1 | | vrf-h2 |8 # | | 2001:db8:1::1/64 | | | 2001:db8:2::1/64 |9 # | | default via 2001:db8:1::3 | | | default via 2001:db8:2::3 |10 # +----|---------------------------+ +-|---------------------------+12 # +----|------------------------------------------|---------------------------+14 # | +--|------------------------------------------|-------------------------+ |20 # | | remote 2001:db8:3::2 remote 2001:db8:3::2 | |27 # | | remote 2001:db8:3::2 | |[all …]
2 # SPDX-License-Identifier: GPL-2.04 # +--------------------------------+ +-----------------------------+5 # | vrf-h1 | | vrf-h2 |7 # | | 2001:db8:1::1/64 | | | 2001:db8:2::1/64 |8 # | | default via 2001:db8:1::3 | | | default via 2001:db8:2::3 |9 # +----|---------------------------+ +-|---------------------------+11 # +----|------------------------------------------|---------------------------+13 # | +--|------------------------------------------|-------------------------+ |19 # | | remote 2001:db8:3::2 remote 2001:db8:3::2 | |24 # | +-----------------------------------+-----------------------------------+ |[all …]
2 # SPDX-License-Identifier: GPL-2.028 simple_if_init $h2 192.0.2.2/24 2001:db8:1::2/6435 simple_if_fini $h2 192.0.2.2/24 2001:db8:1::2/6440 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1 vlan_filtering 142 ip link set dev $swp1 master br043 ip link set dev $swp2 master br045 ip link set dev br0 up46 ip link set dev $swp1 up47 ip link set dev $swp2 up49 tc qdisc add dev $swp1 clsact[all …]
1 #!/bin/bash -eu4 # Use of this source code is governed by a BSD-style license that can be12 CGPT=$(readlink -f "$1")13 [ -x "$CGPT" ] || error "Can't execute $CGPT"15 MTD="${@:2}"19 [ -d "$DIR" ] || mkdir -p "$DIR"25 "$@" 2>/dev/null29 set -e37 DEV=fake_dev.bin38 rm -f ${DEV}[all …]
2 # SPDX-License-Identifier: GPL-2.046 DEV=netdevsim${DEV_ADDR}47 SYSFS_NET_DIR=/sys/bus/netdevsim/devices/$DEV/net/48 DEBUGFS_NET_DIR=/sys/kernel/debug/netdevsim/$DEV/54 DEVLINK_DEV=netdevsim/${DEV}61 out=$($IP nexthop show ${nharg} | sed -e 's/ *$//')82 grep "trap" | wc -l)95 occ=$($DEVLINK -jp resource show $DEVLINK_DEV \98 if [ $expected_occ -ne $occ ]; then110 $DEVLINK dev reload $DEVLINK_DEV[all …]
2 # SPDX-License-Identifier: GPL-2.039 NUM_NETIFS=249 ip link set dev $swp1 up50 ip link set dev $swp2 up57 ip link set dev $swp2 down58 ip link set dev $swp1 down67 ip link add name vrf-test type vrf table 1068 ip link set dev $swp1 master vrf-test70 ip -4 address add 192.0.2.1/24 dev vrf-test72 ip -6 address add 2001:db8:1::1/64 dev vrf-test[all …]
2 # SPDX-License-Identifier: GPL-2.020 NUM_NETIFS=228 ip link set dev $swp1 up29 ip link set dev $swp2 up38 ip link set dev $swp2 down39 ip link set dev $swp1 down49 ip link add dev br0 type bridge vlan_filtering 1 \52 ip link set dev br0 up53 ip link set dev $swp1 master br056 protocol $netdev_proto id 100 2>/dev/null[all …]
2 # SPDX-License-Identifier: GPL-2.04 # End-to-end eBPF tunnel test suite8 # ---------11 # ----------- | -----------12 # | tnl dev | | | tnl dev | (overlay network)13 # ----------- | -----------14 # metadata-mode | native-mode17 # ---------- | ----------18 # | veth1 | --------- | veth0 | (underlay network)19 # ---------- peer ----------[all …]
2 # SPDX-License-Identifier: GPL-2.08 # Kselftest framework requirement - SKIP code is 4.11 # all tests in this script. Can be overridden with -t option17 IP="ip -netns ns1"20 which ping6 > /dev/null 2>&1 && ping6=$(which ping6) || ping6=$(which ping)25 local expected=$228 if [ ${rc} -eq ${expected} ]; then29 printf " TEST: %-60s [ OK ]\n" "${msg}"34 printf " TEST: %-60s [FAIL]\n" "${msg}"53 set -e[all …]
5 # set -e7 devdummy="test-dummy0"9 # Kselftest framework requirement - SKIP code is 4.15 if [ $ret -eq 0 ]; then20 # same but inverted -- used when command must fail for test to pass23 if [ $1 -eq 0 ]; then38 ip link del dev "$devdummy"44 dev="$1"47 ip netconf show dev "$dev" > /dev/null51 ip -$f netconf show dev "$dev" > /dev/null[all …]
2 # SPDX-License-Identifier: GPL-2.05 # 2001:db8:91::1 | 2001:db8:91::2 |7 # veth1 <---|---> veth2 |8 # | veth5 <--|--> veth6 172.16.101.19 # veth3 <---|---> veth4 | 2001:db8:101::111 # 2001:db8:92::1 | 2001:db8:92::2 |18 # Kselftest framework requirement - SKIP code is 4.21 # all tests in this script. Can be overridden with -t option69 local expected=$272 if [ ${rc} -eq ${expected} ]; then[all …]
2 # SPDX-License-Identifier: GPL-2.04 # This test is for checking the A-TCAM and C-TCAM operation in Spectrum-2.14 NUM_NETIFS=234 tc qdisc add dev $h2 clsact39 tc qdisc del dev $h2 clsact46 local cmd=$248 perf record -q -e $tracepoint $cmd55 local seconds=$257 perf record -a -q -e $tracepoint sleep $seconds65 local perf_output=`perf script -F trace:event,trace`[all …]
2 # SPDX-License-Identifier: GPL-2.09 # +-----------------------+13 # +----|------------------+15 # +----|----------------------------------------------------------------------+17 # | +--|--------------------------------------------------------------------+ |21 # | | local 2001:db8:2::1 | |22 # | | remote 2001:db8:2::{2..17} | |24 # | +-----------------------------------------------------------------------+ |26 # | 2001:db8:2::0/64 via 2001:db8:3::2 |30 # +----|----------------------------------------------------------------------+[all …]
1 // RUN: %clang -target armv7-unknown-linux-gnueabi -### /dev/null -o /dev/null 2>&1 | FileCheck -ch…2 // RUN: %clang -target i386-unknown-linux-gnu -### /dev/null -o /dev/null 2>&1 | FileCheck -check-p…3 // RUN: %clang -target mips64-unknown-linux-gnu -### /dev/null -o /dev/null 2>&1 | FileCheck -check…4 // RUN: %clang -target powerpc64-unknown-linux-gnu -### /dev/null -o /dev/null 2>&1 | FileCheck -ch…5 // RUN: %clang -target x86_64-unknown-linux-gnu -### /dev/null -o /dev/null 2>&1 | FileCheck -check…7 // RUN: %clang -target armv7-unknown-linux-gnueabi -### -shared /dev/null -o /dev/null 2>&1 | FileC…8 // RUN: %clang -target i386-unknown-linux-gnu -### -shared /dev/null -o /dev/null 2>&1 | FileCheck …9 // RUN: %clang -target mips64-unknown-linux-gnu -### -shared /dev/null -o /dev/null 2>&1 | FileChec…10 // RUN: %clang -target powerpc64-unknown-linux-gnu -### -shared /dev/null -o /dev/null 2>&1 | FileC…11 // RUN: %clang -target x86_64-unknown-linux-gnu -### -shared /dev/null -o /dev/null 2>&1 | FileChec…[all …]
3 "lockfileVersion": 2,8 "jasmine-core": "3.10.1",10 "karma-chrome-launcher": "3.1.0",11 "karma-firefox-launcher": "2.1.2",12 "karma-jasmine": "4.0.1"15 "node_modules/@socket.io/base64-arraybuffer": {16 "version": "1.0.2",17 …"integrity": "sha512-dOlCBKnDw4iShaIsH/bxujKTM18+2TOAsYz+KSc11Am38H4q5Xw8Bbz97ZYdrVNM+um3p7w86Bvvm…18 "dev": true, boolean23 "node_modules/@types/component-emitter": {[all …]
23 '@codemirror/theme-one-dark':24 specifier: ^6.1.225 version: 6.1.230 specifier: ^1.1.231 version: 1.1.238 '@types/color-convert':59 '@types/w3c-web-usb':68 color-convert:74 devtools-protocol:89 jsbn-rsa:[all …]
15 specifier: ^17.7.216 version: 17.7.225 fs-extra:29 specifier: ^10.1.230 version: 10.1.234 node-watch:43 /@braintree/sanitize-url@6.0.4:44 …resolution: {integrity: sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bo…45 dev: false47 /@protobufjs/aspromise@1.1.2:[all …]
3 # SPDX-License-Identifier: BSD-2-Clause5 # Copyright (c) 2018-2023 Gavin D. Howard and contributors.30 set -e37 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir}43 if [ $# -eq 1 ]; then50 # Command-line processing.51 if [ "$#" -ge 2 ]; then62 usage "Not enough arguments; need 2"65 if [ "$#" -lt 1 ]; then80 mkdir -p "$outputdir"[all …]