| /linux/tools/testing/selftests/net/ |
| H A D | bareudp.sh | 370 flower dst_ip 192.0.2.103/32 \ 371 action tunnel_key set src_ip 192.0.2.21 dst_ip 192.0.2.22 id 0 \ 374 flower dst_ip 192.0.2.100/32 \ 375 action tunnel_key set src_ip 192.0.2.22 dst_ip 192.0.2.21 id 0 \ 383 flower dst_ip 2001:db8::103/128 \ 384 action tunnel_key set src_ip 192.0.2.21 dst_ip 192.0.2.22 id 0 \ 387 flower dst_ip 2001:db8::100/128 \ 388 action tunnel_key set src_ip 192.0.2.22 dst_ip 192.0.2.21 id 0 \ 400 action tunnel_key set src_ip 192.0.2.21 dst_ip 192.0.2.22 id 0 \ 404 action tunnel_key set src_ip 192.0.2.22 dst_ip 192.0.2.21 id 0 \ [all …]
|
| H A D | fdb_flush.sh | 164 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 189 fdb_add_mac_pool_2 vx10 vni $vni_2 dst $dst_ip 213 local dst_ip=192.0.2.1 220 fdb_add_mac_pool_1 vx10 vni $vni_1 src_vni $src_vni_1 dst $dst_ip 221 fdb_add_mac_pool_2 vx10 vni $vni_2 src_vni $src_vni_2 dst $dst_ip 243 local dst_ip=192.0.2.1 [all …]
|
| H A D | tcp_port_share.c | 89 const char *dst_ip; in FIXTURE_VARIANT() local 100 .dst_ip = "127.0.0.1", in FIXTURE_VARIANT_ADD() 108 .dst_ip = "::1", in FIXTURE_VARIANT_ADD() 146 make_inet_addr(v->domain, v->dst_ip, DST_PORT, &addr); in TEST_F() 158 make_inet_addr(v->domain, v->dst_ip, DST_PORT, &addr); in TEST_F() 178 make_inet_addr(v->domain, v->dst_ip, DST_PORT, &addr); in TEST_F() 208 make_inet_addr(v->domain, v->dst_ip, DST_PORT, &addr); in TEST_F() 220 make_inet_addr(v->domain, v->dst_ip, DST_PORT, &addr); in TEST_F() 249 make_inet_addr(v->domain, v->dst_ip, DST_PORT, &addr); in TEST_F()
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| H A D | tc_flower.sh | 102 $tcflags dst_ip 192.0.2.2 action drop 111 $tcflags dst_ip 198.51.100.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 198 $tcflags dst_ip 192.0.0.0/8 action drop 215 $tcflags dst_ip 192.0.2.0/24 action drop 303 $tcflags dst_ip 192.0.2.2 action drop 306 $tcflags dst_ip 192.0.2.2 action drop [all …]
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_flow_rule.c | 43 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() 69 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, &flow_rule->key.dst_ip, in gve_fill_ethtool_flow_spec() 76 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, &flow_rule->mask.dst_ip, in gve_fill_ethtool_flow_spec() 86 memcpy(fsp->h_u.ah_ip6_spec.ip6dst, &flow_rule->key.dst_ip, in gve_fill_ethtool_flow_spec() 92 memcpy(fsp->m_u.ah_ip6_spec.ip6dst, &flow_rule->mask.dst_ip, 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() [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | tc_police.sh | 133 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 D | router_multicast.sh | 218 dst_ip 225.1.2.3 action drop 220 dst_ip 225.1.2.3 action drop 258 dst_ip ff0e::3 action drop 260 dst_ip ff0e::3 action drop 301 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 303 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 305 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 307 skip_hw dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action pass 346 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop 348 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop [all …]
|
| H A D | vxlan_bridge_1d_ipv6.sh | 339 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 404 dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass 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 \ [all …]
|
| H A D | tc_actions.sh | 67 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 D | vxlan_bridge_1q_ipv6.sh | 442 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 D | tc_tunnel_key.sh | 105 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 D | tsn_lib.sh | 192 local dst_ip=$1; shift 199 if ! [ -z "${dst_ip}" ]; then 204 dst_ip="${dst_ip}%${vrf}" 227 extra_args="${extra_args} --l4 --ip-destination=${dst_ip}"
|
| H A D | pedit_ip.sh | 186 do_test_pedit_ip4 "dev $swp1 ingress" "ip dst" dst_ip 187 do_test_pedit_ip4 "dev $swp2 egress" "ip dst" dst_ip 198 do_test_pedit_ip6 "dev $swp1 ingress" "ip6 dst" dst_ip 199 do_test_pedit_ip6 "dev $swp2 egress" "ip6 dst" dst_ip
|
| H A D | tc_flower_l2_miss.sh | 82 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 D | tc_restrictions.sh | 48 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 D | one_armed_router.sh | 136 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 D | devlink_trap_l3_exceptions.sh | 270 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 D | devlink_trap_l3_drops.sh | 175 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
|
| H A D | sharedbuffer.sh | 120 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 \
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | conntrack_dump_flush.c | 21 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() 51 struct in6_addr src_ip, struct in6_addr dst_ip, in build_cta_tuple_v6() argument 64 mnl_attr_put(nlh, CTA_IP_V6_DST, sizeof(struct in6_addr), &dst_ip); in build_cta_tuple_v6() 146 uint32_t dst_ip, uint16_t zone) 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() 179 struct in6_addr dst_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()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_fdir.c | 945 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() 1000 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt() 1034 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() [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_fdir.c | 49 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() 62 if (memcmp(&fltr->ip_mask.v6_addrs.dst_ip, &ipv6_addr_zero_mask, in iavf_validate_fdir_fltr_masks() 64 memcmp(&fltr->ip_mask.v6_addrs.dst_ip, &ipv6_addr_full_mask, 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() 377 if (!memcmp(&fltr->ip_mask.v6_addrs.dst_ip, &ipv6_addr_full_mask, in iavf_fill_fdir_ip6_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() [all …]
|
| H A D | iavf_ethtool.c | 944 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry() 949 fsp->m_u.tcp_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry() 957 fsp->h_u.ah_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry() 961 fsp->m_u.ah_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry() 967 fsp->h_u.usr_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry() 973 fsp->m_u.usr_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry() 984 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 991 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1001 memcpy(fsp->h_u.ah_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() 1007 memcpy(fsp->m_u.ah_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry() [all …]
|
| /linux/net/atm/ |
| H A D | mpc.c | 177 struct atm_mpoa_qos *atm_mpoa_add_qos(__be32 dst_ip, struct atm_qos *qos) in atm_mpoa_add_qos() argument 181 entry = atm_mpoa_search_qos(dst_ip); in atm_mpoa_add_qos() 193 entry->ipaddr = dst_ip; in atm_mpoa_add_qos() 202 struct atm_mpoa_qos *atm_mpoa_search_qos(__be32 dst_ip) in atm_mpoa_search_qos() argument 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 1121 struct atm_mpoa_qos *qos = atm_mpoa_search_qos(dst_ip); in check_qos_and_open_shortcut() [all …]
|
| H A D | mpoa_caches.h | 35 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,
|