Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 80) sorted by relevance

1234

/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_trap.sh59 local action
67 action=$(devlink_trap_action_get $trap_name)
68 if [ $action != "trap" ]; then
73 action=$(devlink_trap_action_get $trap_name)
74 if [ $action != "drop" ]; then
81 action=$(devlink_trap_action_get $trap_name)
82 if [ $action != $orig_action ]; then
87 action=$(devlink_trap_action_get $trap_name)
88 if [ $action != $orig_action ]; then
174 local action
[all …]
/tools/testing/selftests/powerpc/primitives/
Dload_unaligned_zeropad.c94 struct sigaction action; in setup_segv_handler() local
96 memset(&action, 0, sizeof(action)); in setup_segv_handler()
97 action.sa_sigaction = segv_handler; in setup_segv_handler()
98 action.sa_flags = SA_SIGINFO; in setup_segv_handler()
99 sigaction(SIGSEGV, &action, NULL); in setup_segv_handler()
/tools/power/acpi/tools/acpidump/
Dapmain.c294 struct ap_dump_action *action; in main() local
316 action = &action_table[i]; in main()
317 switch (action->to_be_done) { in main()
325 status = ap_dump_table_by_address(action->argument); in main()
330 status = ap_dump_table_by_name(action->argument); in main()
335 status = ap_dump_table_from_file(action->argument); in main()
342 action->to_be_done); in main()
/tools/testing/selftests/net/forwarding/
Dtc_actions.sh52 local action=$1
57 $tcflags dst_ip 192.0.2.2 action drop
66 $tcflags dst_ip 192.0.2.2 action mirred egress $action \
73 check_err $? "Did not match incoming $action packet"
78 log_test "mirred egress $action ($tcflags)"
86 $tcflags dst_ip 192.0.2.2 action drop
95 $tcflags dst_ip 192.0.2.2 action ok
121 skip_hw dst_ip 192.0.2.2 action drop
123 $tcflags dst_ip 192.0.2.2 action mirred egress redirect \
133 $tcflags dst_ip 192.0.2.2 action trap
Dtc_flower.sh42 $tcflags dst_mac $dummy_mac action drop
44 $tcflags dst_mac $h2mac action drop
68 $tcflags src_mac $dummy_mac action drop
70 $tcflags src_mac $h1mac action drop
92 $tcflags dst_ip 198.51.100.2 action drop
94 $tcflags dst_ip 192.0.2.2 action drop
96 $tcflags dst_ip 192.0.2.0/24 action drop
126 $tcflags src_ip 198.51.100.1 action drop
128 $tcflags src_ip 192.0.2.1 action drop
130 $tcflags src_ip 192.0.2.0/24 action drop
[all …]
Dtc_chains.sh39 flower $tcflags dst_mac $h2mac action drop
58 flower $tcflags dst_mac $h2mac action drop
60 $tcflags dst_mac $h2mac action drop
62 $tcflags dst_mac $h2mac action goto chain 1
134 flower dst_mac $h2mac action drop
138 flower src_mac $h2mac action drop &> /dev/null
142 flower src_mac $h2mac action drop
146 flower dst_mac $h2mac action drop &> /dev/null
Ddevlink_lib.sh223 local action=$1; shift
227 action $action &> /dev/null
315 local action=$1; shift
318 devlink trap group set $DEVLINK_DEV group $group_name action $action \
Drouter_multicast.sh241 dst_ip 225.1.2.3 action drop
243 dst_ip 225.1.2.3 action drop
281 dst_ip ff0e::3 action drop
283 dst_ip ff0e::3 action drop
324 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop
326 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop
328 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop
330 skip_hw dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action pass
369 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop
371 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop
[all …]
Dtc_vlan_modify.sh114 flower action vlan modify id 65
116 flower action vlan modify id 85
141 flower action vlan modify id 85
143 flower action vlan modify id 65
Dtc_shblocks.sh54 $tcflags dst_ip 192.0.2.2 action drop
78 $tcflags indev $swp1 dst_mac $swmac action drop
80 $tcflags indev $swp2 dst_mac $swmac action drop
/tools/testing/selftests/powerpc/copyloops/
Dexc_validate.c46 struct sigaction action; in setup_segv_handler() local
48 memset(&action, 0, sizeof(action)); in setup_segv_handler()
49 action.sa_sigaction = segv_handler; in setup_segv_handler()
50 action.sa_flags = SA_SIGINFO; in setup_segv_handler()
51 sigaction(SIGSEGV, &action, NULL); in setup_segv_handler()
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh101 $tcflags dst_ip 192.0.2.2 action drop
110 $tcflags dst_ip 198.51.100.2 action drop
147 $tcflags dst_ip 192.0.2.2 action drop
149 $tcflags dst_ip 192.0.2.2 action drop
166 $tcflags dst_ip 192.0.2.2 action drop
195 $tcflags dst_ip 192.0.2.2 action drop
197 $tcflags dst_ip 192.0.0.0/8 action drop
214 $tcflags dst_ip 192.0.2.0/24 action drop
302 $tcflags dst_ip 192.0.2.2 action drop
305 $tcflags dst_ip 192.0.2.2 action drop
[all …]
/tools/testing/selftests/net/
Dxfrm_policy.sh39 …rc $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tunnel priority 100 action allow
41 …rc $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tunnel priority 100 action allow
76 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
79 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
82 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block
108 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block
113 …ANDOM%255))/$p dst 10.254.1.$((RANDOM%255))/$p dir fwd priority $((200+k)) action block 2>/dev/null
146 ip -net $ns xfrm policy add dst $plain dir out priority 10 action allow
149 …y add dst $encryptip dir out tmpl src $me dst $remote proto esp mode tunnel priority 1 action allow
158 echo netns exec $ns ip xfrm policy add src 0.0.0.0/0 dst 10.$i.99.0/30 dir out action block
[all …]
/tools/perf/scripts/python/
Dstackcollapse.py41 action="store_true", default=False,
44 action="store_true", default=False,
47 action="store_false", default=True,
50 action="store_true", default=False,
53 action="store_true", default=False,
/tools/perf/util/
Dlzma.c37 lzma_action action = LZMA_RUN; in lzma_decompress_to_file() local
76 action = LZMA_FINISH; in lzma_decompress_to_file()
79 ret = lzma_code(&strm, action); in lzma_decompress_to_file()
/tools/testing/selftests/tc-testing/
Dtdc_batch.py24 action="store_true")
27 action="store_true")
30 action="store_true")
/tools/testing/selftests/kexec/
Dkexec_common_lib.sh198 local action="$1"
211 grep -e "^$action.*$keypair1" "$ima_policy" | \
214 grep -q -e "^$action.*$keypair1" "$ima_policy"
/tools/testing/selftests/drivers/net/mlxsw/
Done_armed_router.sh136 action pass
140 action pass
144 action pass
179 action pass
183 action pass
187 action pass
Ddevlink_trap_l2_drops.sh143 flower src_mac $smac action drop
170 flower dst_mac $dmac action drop
231 flower dst_mac $dmac action drop
275 flower dst_mac $dmac action drop
346 flower dst_mac $dmac action drop
392 flower dst_mac $dmac action drop
439 flower dst_mac $dmac action drop
Drouter_scale.sh127 skip_sw dst_ip 193.0.0.0/8 action drop
151 skip_sw dst_ip 193.0.0.0/8 action drop
/tools/testing/selftests/bpf/progs/
Dtest_xdp_noinline.c635 int action; in process_l3_headers_v6() local
648 action = parse_icmpv6(data, data_end, off, pckt); in process_l3_headers_v6()
649 if (action >= 0) in process_l3_headers_v6()
650 return action; in process_l3_headers_v6()
666 int action; in process_l3_headers_v4() local
680 action = parse_icmp(data, data_end, off, pckt); in process_l3_headers_v4()
681 if (action >= 0) in process_l3_headers_v4()
682 return action; in process_l3_headers_v4()
710 int action; in process_packet() local
713 action = process_l3_headers_v6(&pckt, &protocol, off, in process_packet()
[all …]
Dtest_l4lb.c346 int action; in process_packet() local
362 action = parse_icmpv6(data, data_end, off, &pckt); in process_packet()
363 if (action >= 0) in process_packet()
364 return action; in process_packet()
385 action = parse_icmp(data, data_end, off, &pckt); in process_packet()
386 if (action >= 0) in process_packet()
387 return action; in process_packet()
Dtest_l4lb_noinline.c346 int action; in process_packet() local
362 action = parse_icmpv6(data, data_end, off, &pckt); in process_packet()
363 if (action >= 0) in process_packet()
364 return action; in process_packet()
385 action = parse_icmp(data, data_end, off, &pckt); in process_packet()
386 if (action >= 0) in process_packet()
387 return action; in process_packet()
/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh73 udp src_port 9 action drop
109 udp src_port 9 action drop
/tools/testing/selftests/tc-testing/bpf/
DMakefile4 TEST_GEN_FILES = action.o

1234