Home
last modified time | relevance | path

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

1234

/Linux-v5.15/tools/testing/selftests/net/
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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh47 skip_sw dst_ip 192.0.2.2 action drop
64 skip_sw dst_ip 192.0.2.2 action drop
73 skip_sw dst_ip 192.0.2.2 action drop
95 skip_sw dst_ip 192.0.2.2 \
113 skip_sw dst_ip 192.0.2.2 \
123 skip_sw dst_ip 192.0.2.2 \
130 skip_sw dst_ip 192.0.2.2 \
149 skip_sw dst_ip 192.0.2.2 \
156 skip_sw dst_ip 192.0.2.2 \
204 skip_sw dst_ip 192.0.2.2 action drop
[all …]
Done_armed_router.sh135 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
139 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
143 skip_sw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
178 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
182 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
186 skip_sw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
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 &
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
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-v5.15/tools/testing/selftests/net/forwarding/
Dtc_police.sh131 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
157 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
169 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
206 dst_ip 198.51.100.1 ip_proto udp src_port 12345 \
211 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
218 dst_ip 198.51.100.1 ip_proto udp dst_port 22222 \
240 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
245 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
250 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
303 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
[all …]
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_actions.sh61 $tcflags dst_ip 192.0.2.2 action drop
91 $tcflags dst_ip 192.0.2.2 action drop
100 $tcflags dst_ip 192.0.2.2 action ok
126 skip_hw dst_ip 192.0.2.2 action drop
128 $tcflags dst_ip 192.0.2.2 action mirred egress redirect \
138 $tcflags dst_ip 192.0.2.2 action trap
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dindir_table.c28 } dst_ip; member
107 !memcmp(&rule->dst_ip, &attr->rx_tun_attr->dst_ip, in mlx5_esw_indir_table_rule_lookup()
108 sizeof(attr->rx_tun_attr->dst_ip))) in mlx5_esw_indir_table_rule_lookup()
173 ntohl(esw_attr->rx_tun_attr->dst_ip.v4)); in mlx5_esw_indir_table_rule_get()
182 &esw_attr->rx_tun_attr->dst_ip.v6, len); in mlx5_esw_indir_table_rule_get()
233 memcpy(&rule->dst_ip, &esw_attr->rx_tun_attr->dst_ip, in mlx5_esw_indir_table_rule_get()
234 sizeof(esw_attr->rx_tun_attr->dst_ip)); in mlx5_esw_indir_table_rule_get()
265 !memcmp(&rule->dst_ip, &esw_attr->rx_tun_attr->dst_ip, in mlx5_esw_indir_table_rule_put()
266 sizeof(esw_attr->rx_tun_attr->dst_ip))) in mlx5_esw_indir_table_rule_put()
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_fdir.c948 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
963 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
978 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
989 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1003 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1037 input->ip.v4.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1045 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1067 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1080 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
1093 input->ip.v6.dst_ip); in ice_fdir_get_gen_prgm_pkt()
[all …]
Dice_ethtool_fdir.c145 fsp->h_u.usr_ip4_spec.ip4dst = rule->ip.v4.dst_ip; in ice_get_ethtool_fdir_entry()
147 fsp->m_u.usr_ip4_spec.ip4dst = rule->mask.v4.dst_ip; in ice_get_ethtool_fdir_entry()
159 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip.v4.dst_ip; in ice_get_ethtool_fdir_entry()
163 fsp->m_u.tcp_ip4_spec.ip4dst = rule->mask.v4.dst_ip; in ice_get_ethtool_fdir_entry()
171 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry()
175 memcpy(fsp->m_u.tcp_ip6_spec.ip6dst, rule->mask.v6.dst_ip, in ice_get_ethtool_fdir_entry()
186 memcpy(fsp->h_u.tcp_ip6_spec.ip6dst, rule->ip.v6.dst_ip, in ice_get_ethtool_fdir_entry()
194 rule->mask.v6.dst_ip, in ice_get_ethtool_fdir_entry()
1533 input->ip.v4.dst_ip = fsp->h_u.tcp_ip4_spec.ip4dst; in ice_set_fdir_input_set()
1537 input->mask.v4.dst_ip = fsp->m_u.tcp_ip4_spec.ip4dst; in ice_set_fdir_input_set()
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c261 if (fltr->ip_mask.v4_addrs.dst_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr()
262 iph->daddr = fltr->ip_data.v4_addrs.dst_ip; in iavf_fill_fdir_ip4_hdr()
305 if (!memcmp(&fltr->ip_mask.v6_addrs.dst_ip, &ipv6_addr_full_mask, in iavf_fill_fdir_ip6_hdr()
307 memcpy(&iph->daddr, &fltr->ip_data.v6_addrs.dst_ip, in iavf_fill_fdir_ip6_hdr()
654 &fltr->ip_data.v4_addrs.dst_ip, in iavf_print_fdir_fltr()
664 &fltr->ip_data.v4_addrs.dst_ip, in iavf_print_fdir_fltr()
672 &fltr->ip_data.v4_addrs.dst_ip, in iavf_print_fdir_fltr()
682 &fltr->ip_data.v6_addrs.dst_ip, in iavf_print_fdir_fltr()
692 &fltr->ip_data.v6_addrs.dst_ip, in iavf_print_fdir_fltr()
700 &fltr->ip_data.v6_addrs.dst_ip, in iavf_print_fdir_fltr()
Diavf_ethtool.c1035 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1040 fsp->m_u.tcp_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1048 fsp->h_u.ah_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1052 fsp->m_u.ah_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1058 fsp->h_u.usr_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1064 fsp->m_u.usr_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1075 memcpy(fsp->h_u.usr_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1082 memcpy(fsp->m_u.usr_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1092 memcpy(fsp->h_u.ah_ip6_spec.ip6dst, &rule->ip_data.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
1098 memcpy(fsp->m_u.ah_ip6_spec.ip6dst, &rule->ip_mask.v6_addrs.dst_ip, in iavf_get_ethtool_fdir_entry()
[all …]
Diavf_fdir.h50 __be32 dst_ip; member
55 struct in6_addr dst_ip; member
/Linux-v5.15/net/atm/
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 …]
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,
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);
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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/diag/
Den_rep_tracepoint.h35 *p32 = mn->dst_ip.v4;
38 *pin6 = mn->dst_ip.v6;
Den_tc_tracepoint.h95 *p32 = mn->dst_ip.v4;
98 *pin6 = mn->dst_ip.v6;
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/crypto/
Dfw.h60 __be32 dst_ip; member
67 __be32 dst_ip[4]; member
/Linux-v5.15/drivers/staging/rtl8192u/ieee80211/
Drtl819x_TS.h39 u8 dst_ip[4]; member
53 u8 dst_ip[16]; member
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_model.h41 input->filter.formatted.dst_ip[0] = (__force __be32)val; in ixgbe_mat_prgm_dip()
42 mask->formatted.dst_ip[0] = (__force __be32)m; in ixgbe_mat_prgm_dip()

1234