Home
last modified time | relevance | path

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

/tools/testing/selftests/net/netfilter/
Dconntrack_dump_flush.c21 uint32_t src_ip, uint32_t dst_ip, in build_cta_tuple_v4() argument
33 mnl_attr_put_u32(nlh, CTA_IP_V4_SRC, src_ip); in build_cta_tuple_v4()
51 struct in6_addr src_ip, struct in6_addr dst_ip, in build_cta_tuple_v6() argument
63 mnl_attr_put(nlh, CTA_IP_V6_SRC, sizeof(struct in6_addr), &src_ip); in build_cta_tuple_v6()
145 static int conntrack_data_generate_v4(struct mnl_socket *sock, uint32_t src_ip, in conntrack_data_generate_v4() argument
164 ret = build_cta_tuple_v4(nlh, CTA_TUPLE_ORIG, src_ip, dst_ip, 12345, 443); in conntrack_data_generate_v4()
169 ret = build_cta_tuple_v4(nlh, CTA_TUPLE_REPLY, dst_ip, src_ip, 443, 12345); in conntrack_data_generate_v4()
178 struct in6_addr src_ip, in conntrack_data_generate_v6() argument
198 ret = build_cta_tuple_v6(nlh, CTA_TUPLE_ORIG, src_ip, dst_ip, in conntrack_data_generate_v6()
204 ret = build_cta_tuple_v6(nlh, CTA_TUPLE_REPLY, dst_ip, src_ip, in conntrack_data_generate_v6()
/tools/testing/selftests/net/forwarding/
Dtc_tunnel_key.sh105 flower src_ip 192.0.2.1 dst_ip 192.0.2.2 ip_proto udp \
108 flower src_ip 192.0.2.1 dst_ip 192.0.2.2 ip_proto udp \
111 flower src_ip 192.0.2.1 dst_ip 192.0.2.2 ip_proto udp \
116 action tunnel_key set src_ip 192.0.2.1 dst_ip 192.0.2.2 id 42 nofrag index 10
130 tc actions change action tunnel_key set src_ip 192.0.2.1 dst_ip 192.0.2.2 id 42 index 10
Dpedit_ip.sh172 do_test_pedit_ip4 "dev $swp1 ingress" "ip src" src_ip
173 do_test_pedit_ip4 "dev $swp2 egress" "ip src" src_ip
184 do_test_pedit_ip6 "dev $swp1 ingress" "ip6 src" src_ip
185 do_test_pedit_ip6 "dev $swp2 egress" "ip6 src" src_ip
Dtc_flower_l2_miss.sh81 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \
85 flower indev $swp1 l2_miss 0 dst_mac $dmac src_ip $sip \
138 flower indev $swp1 l2_miss 1 src_ip $sip dst_ip $dip \
142 flower indev $swp1 l2_miss 0 src_ip $sip dst_ip $dip \
255 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \
Dvxlan_bridge_1d_ipv6.sh338 local src_ip=$1; shift
346 flower ip_proto udp src_ip $vxlan_local_ip \
352 flower src_ip $dst_ip dst_ip $src_ip \
395 local src_ip=$1; shift
403 flower ip_proto udp src_ip $vxlan_local_ip \
409 flower src_ip $dst_ip dst_ip $src_ip $TC_FLAG action pass
745 flower src_ip 2001:db8:1::3 dst_ip 2001:db8:1::1 \
Dvxlan_bridge_1q_ipv6.sh441 local src_ip=$1; shift
449 flower ip_proto udp src_ip $vxlan_local_ip \
455 flower vlan_ethtype ipv4 src_ip $dst_ip dst_ip $src_ip \
506 local src_ip=$1; shift
514 flower ip_proto udp src_ip $vxlan_local_ip \
520 flower vlan_ethtype ipv6 src_ip $dst_ip dst_ip $src_ip \
Dtc_actions.sh167 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action \
174 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action drop
176 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 0 action pass
212 $tcflags ip_proto tcp src_ip 192.0.2.1 dst_ip 192.0.2.2 \
Drouter.sh198 flower src_ip 240.0.0.1 ip_proto udp action pass
276 flower src_ip 198.51.100.2 action pass
296 flower src_ip 2001:db8:2::2 action pass
Dtc_flower_port_range.sh95 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \
100 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \
Dtc_flower.sh129 $tcflags src_ip 198.51.100.1 action drop
131 $tcflags src_ip 192.0.2.1 action drop
133 $tcflags src_ip 192.0.2.0/24 action drop
Dlib.sh1714 local src_ip=$2
1734 $MZ $host1_if $mz_v6arg -c 1 -p 64 -b $mac -A $src_ip -B $ip -t udp "dp=4096,sp=2048" -q
Dbridge_mdb.sh1020 vlan_ethtype $eth_type vlan_id 10 dst_ip $grp src_ip $src \
1149 src_ip $valid_src action drop
1152 src_ip $invalid_src action drop
/tools/testing/selftests/net/
Dbareudp.sh403 action tunnel_key set src_ip 192.0.2.21 dst_ip 192.0.2.22 id 0 \
407 action tunnel_key set src_ip 192.0.2.22 dst_ip 192.0.2.21 id 0 \
416 action tunnel_key set src_ip 192.0.2.21 dst_ip 192.0.2.22 id 0 \
420 action tunnel_key set src_ip 192.0.2.22 dst_ip 192.0.2.21 id 0 \
432 action tunnel_key set src_ip 192.0.2.21 dst_ip 192.0.2.22 id 0 \
436 action tunnel_key set src_ip 192.0.2.22 dst_ip 192.0.2.21 id 0 \
453 action tunnel_key set src_ip 2001:db8::21 dst_ip 2001:db8::22 id 0 \
457 action tunnel_key set src_ip 2001:db8::22 dst_ip 2001:db8::21 id 0 \
466 action tunnel_key set src_ip 2001:db8::21 dst_ip 2001:db8::22 id 0 \
470 action tunnel_key set src_ip 2001:db8::22 dst_ip 2001:db8::21 id 0 \
[all …]
Darp_ndisc_untracked_subnets.sh83 flower src_ip ${HOST_ADDR_V6} ip_proto icmpv6 type 136 skip_hw action pass
/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer.sh120 src_ip 192.0.1.1 dst_ip 192.0.1.2 \
142 src_ip 192.0.1.1 dst_ip 192.0.1.2 \
153 src_ip 192.0.1.1 dst_ip 192.0.1.2 \
175 src_ip 192.0.1.1 dst_ip 192.0.1.2 \
Dblackhole_routes.sh124 skip_hw dst_ip 198.51.100.1 src_ip 192.0.2.1 ip_proto icmp \
148 skip_hw dst_ip 2001:db8:2::1 src_ip 2001:db8:1::1 \
Ddevlink_trap_tunnel_ipip.sh160 flower src_ip 192.0.1.1 dst_ip 192.0.2.1 action pass
193 flower src_ip 192.0.1.1 dst_ip 192.0.2.1 action pass
Ddevlink_trap_tunnel_ipip6.sh160 flower src_ip 2001:db8:2::1 dst_ip 2001:db8:1::1 skip_sw \
193 flower src_ip 2001:db8:2::1 dst_ip 2001:db8:1::1 action pass
Ddevlink_trap_l3_exceptions.sh269 local src_ip=$1; shift
286 $MC_CLI -I $table_name add $rp1 $src_ip $dst_ip $rp2
291 -A $src_ip -B $dst_ip -q &
Ddevlink_trap_tunnel_vxlan.sh170 flower src_ip 192.0.2.3 dst_ip 192.0.2.1 action pass
241 flower skip_hw src_ip 192.0.2.3 dst_ip 192.0.2.1 action pass
Ddevlink_trap_tunnel_vxlan_ipv6.sh174 flower src_ip 2001:db8:1::3 dst_ip 2001:db8:1::1 action pass
249 flower skip_hw src_ip 2001:db8:3::1 dst_ip 2001:db8:1::1 \
Ddevlink_trap_l3_drops.sh239 flower src_ip $sip action drop
308 flower src_ip $sip action drop
339 flower src_ip $sip action drop
/tools/perf/util/
Dannotate-data.c1313 u64 src_ip, dst_ip, prev_dst_ip; in find_data_type_block() local
1331 src_ip = map__objdump_2rip(dloc->ms->map, start); in find_data_type_block()
1335 if (annotate_get_basic_blocks(dloc->ms->sym, src_ip, dst_ip, in find_data_type_block()
1344 src_ip - dloc->ms->sym->start, in find_data_type_block()
1383 dst_ip = src_ip; in find_data_type_block()
/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh169 protocol ipv4 flower skip_sw src_ip 10.1.1.2 \
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh922 $tcflags src_ip 192.0.2.0/24 action drop