Home
last modified time | relevance | path

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

1234

/linux/tools/testing/selftests/net/
H A Dbareudp.sh370 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 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
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 Dtcp_port_share.c89 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 Dtc_flower.sh102 $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 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()
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 Drouter_multicast.sh218 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 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
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 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 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 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 Dtsn_lib.sh192 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 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 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 \
H A Dtc_action_hw_stats.sh52 skip_sw dst_ip 192.0.2.2 action drop $action_hw_stats
86 skip_sw dst_ip 192.0.2.2 action drop hw_stats delayed
/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()
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/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()
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 Diavf_fdir.h63 __be32 dst_ip; member
68 struct in6_addr dst_ip; member
/linux/net/atm/
H A Dmpc.c177 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 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);
H A Dmpoa_caches.c35 static in_cache_entry *in_cache_get(__be32 dst_ip, in in_cache_get() argument
43 if (entry->ctrl_info.in_dst_ip == dst_ip) { in in_cache_get()
55 static in_cache_entry *in_cache_get_with_mask(__be32 dst_ip, in in_cache_get_with_mask() argument
64 if ((entry->ctrl_info.in_dst_ip & mask) == (dst_ip & mask)) { in in_cache_get_with_mask()
97 static in_cache_entry *in_cache_add_entry(__be32 dst_ip, in in_cache_add_entry() argument
107 dprintk("adding an ingress entry, ip = %pI4\n", &dst_ip); in in_cache_add_entry()
119 entry->ctrl_info.in_dst_ip = dst_ip; in in_cache_add_entry()
/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dfw.h60 __be32 dst_ip; member
67 __be32 dst_ip[4]; member

1234