Home
last modified time | relevance | path

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

12345

/linux/tools/testing/selftests/net/
H A Dbareudp.sh402 flower dst_ip 192.0.2.103/32 \
403 action tunnel_key set src_ip 192.0.2.21 dst_ip 192.0.2.22 id 0 \
406 flower dst_ip 192.0.2.100/32 \
407 action tunnel_key set src_ip 192.0.2.22 dst_ip 192.0.2.21 id 0 \
415 flower dst_ip 2001:db8::103/128 \
416 action tunnel_key set src_ip 192.0.2.21 dst_ip 192.0.2.22 id 0 \
419 flower dst_ip 2001:db8::100/128 \
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 \
[all …]
H A Dfdb_flush.sh164 local dst_ip=192.0.2.1
166 fdb_add_mac_pool_1 vx10 vni $vni dst $dst_ip
167 fdb_add_mac_pool_2 vx20 vni $vni dst $dst_ip
186 local dst_ip=192.0.2.1
188 fdb_add_mac_pool_1 vx10 vni $vni_1 dst $dst_ip
213 local dst_ip=192.0.2.1
243 local dst_ip=192.0.2.1
657 local dst_ip=192.0.2.1
661 fdb_add_mac_pool_1 br0 dst $dst_ip
662 fdb_add_mac_pool_2 br1 dst $dst_ip
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dtc_flower.sh102 $tcflags dst_ip 192.0.2.2 action drop
148 $tcflags dst_ip 192.0.2.2 action drop
150 $tcflags dst_ip 192.0.2.2 action drop
167 $tcflags dst_ip 192.0.2.2 action drop
196 $tcflags dst_ip 192.0.2.2 action drop
303 $tcflags dst_ip 192.0.2.2 action drop
306 $tcflags dst_ip 192.0.2.2 action drop
342 $tcflags dst_ip 192.0.2.2 action drop
345 $tcflags dst_ip 192.0.2.2 action drop
893 dst_ip 0.0.0.0/32 &> /dev/null
[all …]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_flow_rule.c43 fsp->h_u.tcp_ip4_spec.ip4dst = flow_rule->key.dst_ip[0]; in gve_fill_ethtool_flow_spec()
48 fsp->m_u.tcp_ip4_spec.ip4dst = flow_rule->mask.dst_ip[0]; in gve_fill_ethtool_flow_spec()
56 fsp->h_u.ah_ip4_spec.ip4dst = flow_rule->key.dst_ip[0]; in gve_fill_ethtool_flow_spec()
60 fsp->m_u.ah_ip4_spec.ip4dst = flow_rule->mask.dst_ip[0]; in gve_fill_ethtool_flow_spec()
142 rule->key.dst_ip[0] = fsp->h_u.tcp_ip4_spec.ip4dst; in gve_generate_flow_rule()
146 rule->mask.dst_ip[0] = fsp->m_u.tcp_ip4_spec.ip4dst; in gve_generate_flow_rule()
153 rule->key.dst_ip[0] = fsp->h_u.tcp_ip4_spec.ip4dst; in gve_generate_flow_rule()
156 rule->mask.dst_ip[0] = fsp->m_u.tcp_ip4_spec.ip4dst; in gve_generate_flow_rule()
164 memcpy(&rule->key.dst_ip, fsp->h_u.tcp_ip6_spec.ip6dst, in gve_generate_flow_rule()
170 memcpy(&rule->mask.dst_ip, fsp->m_u.tcp_ip6_spec.ip6dst, in gve_generate_flow_rule()
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A 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
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
373 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop
465 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop
[all …]
H A Dtc_police.sh133 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
159 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
171 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
208 dst_ip 198.51.100.1 ip_proto udp src_port 12345 \
213 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
220 dst_ip 198.51.100.1 ip_proto udp dst_port 22222 \
242 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
247 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
252 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
305 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
[all …]
H A Dvxlan_bridge_1d_ipv6.sh339 local dst_ip=$1; shift
347 dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass
352 flower src_ip $dst_ip dst_ip $src_ip \
357 PING_COUNT=100 PING_TIMEOUT=20 ping_do $dev $dst_ip
396 local dst_ip=$1; shift
409 flower src_ip $dst_ip dst_ip $src_ip $TC_FLAG action pass
413 PING_COUNT=100 PING_TIMEOUT=20 ping6_do $dev $dst_ip
455 local dst_ip=$1; shift
469 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
472 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
[all …]
H A Dtsn_lib.sh188 local dst_ip=$1; shift
195 if ! [ -z "${dst_ip}" ]; then
200 dst_ip="${dst_ip}%${vrf}"
219 extra_args="${extra_args} --l4 --ip-destination=${dst_ip}"
H A Dtc_actions.sh67 dst_ip 192.0.2.2 action drop
97 $tcflags dst_ip 192.0.2.2 action drop
106 $tcflags dst_ip 192.0.2.2 action ok
132 skip_hw dst_ip 192.0.2.2 action drop
134 $tcflags dst_ip 192.0.2.2 action mirred egress redirect \
144 $tcflags dst_ip 192.0.2.2 action trap
167 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 \
H A 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
H A Dvxlan_bridge_1q_ipv6.sh442 local dst_ip=$1; shift
450 dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass
455 flower vlan_ethtype ipv4 src_ip $dst_ip dst_ip $src_ip \
460 PING_COUNT=100 PING_TIMEOUT=20 ping_do $dev $dst_ip
507 local dst_ip=$1; shift
515 dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass
520 flower vlan_ethtype ipv6 src_ip $dst_ip dst_ip $src_ip \
525 PING_COUNT=100 PING_TIMEOUT=20 ping6_do $dev $dst_ip
575 local dst_ip=$1; shift
589 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
[all …]
H A Dpedit_ip.sh178 do_test_pedit_ip4 "dev $swp1 ingress" "ip dst" dst_ip
179 do_test_pedit_ip4 "dev $swp2 egress" "ip dst" dst_ip
190 do_test_pedit_ip6 "dev $swp1 ingress" "ip6 dst" dst_ip
191 do_test_pedit_ip6 "dev $swp2 egress" "ip6 dst" dst_ip
H A Dtc_flower_l2_miss.sh82 dst_ip $dip action pass
86 dst_ip $dip action pass
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 \
256 dst_ip $dip action pass
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh48 skip_sw dst_ip 192.0.2.2 action drop
65 skip_sw dst_ip 192.0.2.2 action drop
74 skip_sw dst_ip 192.0.2.2 action drop
96 skip_sw dst_ip 192.0.2.2 \
114 skip_sw dst_ip 192.0.2.2 \
124 skip_sw dst_ip 192.0.2.2 \
131 skip_sw dst_ip 192.0.2.2 \
150 skip_sw dst_ip 192.0.2.2 \
157 skip_sw dst_ip 192.0.2.2 \
205 skip_sw dst_ip 192.0.2.2 action drop
[all …]
H A Done_armed_router.sh136 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
140 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
144 skip_sw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
179 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
183 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
187 skip_sw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
H A Ddevlink_trap_l3_exceptions.sh270 local dst_ip=$1; shift
284 flower dst_ip $dst_ip ip_proto udp action drop
286 $MC_CLI -I $table_name add $rp1 $src_ip $dst_ip $rp2
291 -A $src_ip -B $dst_ip -q &
317 local dst_ip=$1; shift
340 -B $dst_ip -q &
H A Ddevlink_trap_l3_drops.sh175 flower dst_ip $h2_ipv4 action drop
273 flower dst_ip $dip action drop
391 flower dst_ip $h2_ipv4 action drop
437 flower dst_ip $h2_ipv4 action drop
476 flower dst_ip $dip action drop
501 flower dst_ip $dip action drop
531 flower skip_hw dst_ip $dip ip_proto $ip_proto action drop
668 flower skip_hw dst_ip $dip ip_proto udp action drop
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_dump_flush.c21 uint32_t src_ip, uint32_t dst_ip, in build_cta_tuple_v4() argument
34 mnl_attr_put_u32(nlh, CTA_IP_V4_DST, dst_ip); in build_cta_tuple_v4()
49 struct in6_addr src_ip, struct in6_addr dst_ip, in build_cta_tuple_v6() argument
62 mnl_attr_put(nlh, CTA_IP_V6_DST, sizeof(struct in6_addr), &dst_ip); in build_cta_tuple_v6()
140 uint32_t dst_ip, uint16_t zone) in conntrack_data_generate_v4() argument
158 ret = build_cta_tuple_v4(nlh, CTA_TUPLE_ORIG, src_ip, dst_ip, 12345, 443); in conntrack_data_generate_v4()
163 ret = build_cta_tuple_v4(nlh, CTA_TUPLE_REPLY, dst_ip, src_ip, 443, 12345); in conntrack_data_generate_v4()
173 struct in6_addr dst_ip, in conntrack_data_generate_v6() argument
192 ret = build_cta_tuple_v6(nlh, CTA_TUPLE_ORIG, src_ip, dst_ip, in conntrack_data_generate_v6()
198 ret = build_cta_tuple_v6(nlh, CTA_TUPLE_REPLY, dst_ip, src_ip, in conntrack_data_generate_v6()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_fdir.c945 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
960 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
975 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
986 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1042 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1064 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1077 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1090 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1103 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1233 if (a->ip.v4.dst_ip == b->ip.v4.dst_ip && in ice_fdir_comp_rules()
[all …]
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c49 if (fltr->ip_mask.v4_addrs.dst_ip && in iavf_validate_fdir_fltr_masks()
50 fltr->ip_mask.v4_addrs.dst_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()
335 if (fltr->ip_mask.v4_addrs.dst_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr()
336 iph->daddr = fltr->ip_data.v4_addrs.dst_ip; in iavf_fill_fdir_ip4_hdr()
379 memcpy(&iph->daddr, &fltr->ip_data.v6_addrs.dst_ip, in iavf_fill_fdir_ip6_hdr()
724 &fltr->ip_data.v4_addrs.dst_ip, in iavf_print_fdir_fltr()
734 &fltr->ip_data.v4_addrs.dst_ip, in iavf_print_fdir_fltr()
742 &fltr->ip_data.v4_addrs.dst_ip, in iavf_print_fdir_fltr()
752 &fltr->ip_data.v6_addrs.dst_ip, in iavf_print_fdir_fltr()
762 &fltr->ip_data.v6_addrs.dst_ip, in iavf_print_fdir_fltr()
[all …]
H A Diavf_ethtool.c946 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
951 fsp->m_u.tcp_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
959 fsp->h_u.ah_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
963 fsp->m_u.ah_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
969 fsp->h_u.usr_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
975 fsp->m_u.usr_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1137 fltr->ip_data.v4_addrs.dst_ip = fsp->h_u.tcp_ip4_spec.ip4dst; in iavf_add_fdir_fltr_info()
1142 fltr->ip_mask.v4_addrs.dst_ip = fsp->m_u.tcp_ip4_spec.ip4dst; in iavf_add_fdir_fltr_info()
1151 fltr->ip_data.v4_addrs.dst_ip = fsp->h_u.ah_ip4_spec.ip4dst; in iavf_add_fdir_fltr_info()
1155 fltr->ip_mask.v4_addrs.dst_ip = fsp->m_u.ah_ip4_spec.ip4dst; in iavf_add_fdir_fltr_info()
[all …]
/linux/net/atm/
H A Dmpc.c181 entry = atm_mpoa_search_qos(dst_ip); in atm_mpoa_add_qos()
193 entry->ipaddr = dst_ip; in atm_mpoa_add_qos()
208 if (qos->ipaddr == dst_ip) in atm_mpoa_search_qos()
1082 __be32 dst_ip = msg->content.in_info.in_dst_ip; in MPOA_trigger_rcvd() local
1085 entry = mpc->in_ops->get(dst_ip, mpc); in MPOA_trigger_rcvd()
1087 entry = mpc->in_ops->add_entry(dst_ip, mpc); in MPOA_trigger_rcvd()
1120 __be32 dst_ip = msg->content.in_info.in_dst_ip; in check_qos_and_open_shortcut() local
1135 client->dev->name, &dst_ip); in check_qos_and_open_shortcut()
1161 mpc->dev->name, &dst_ip); in MPOA_res_reply_rcvd()
1214 mpc->dev->name, &dst_ip); in ingress_purge_rcvd()
[all …]
H A Dmpoa_caches.h35 in_cache_entry *(*add_entry)(__be32 dst_ip,
37 in_cache_entry *(*get)(__be32 dst_ip, struct mpoa_client *client);
38 in_cache_entry *(*get_with_mask)(__be32 dst_ip,
H A Dmpc.h49 struct atm_mpoa_qos *atm_mpoa_add_qos(__be32 dst_ip, struct atm_qos *qos);
50 struct atm_mpoa_qos *atm_mpoa_search_qos(__be32 dst_ip);
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Den_rep_tracepoint.h35 *p32 = mn->dst_ip.v4;
38 *pin6 = mn->dst_ip.v6;

12345