Home
last modified time | relevance | path

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

12345

/linux-6.6.21/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 …]
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_fdir.c942 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
957 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
972 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
985 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
999 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
1033 input->ip.v4.src_ip); in ice_fdir_get_gen_prgm_pkt()
1041 input->ip.v6.src_ip); in ice_fdir_get_gen_prgm_pkt()
1063 input->ip.v6.src_ip); in ice_fdir_get_gen_prgm_pkt()
1076 input->ip.v6.src_ip); in ice_fdir_get_gen_prgm_pkt()
1089 input->ip.v6.src_ip); in ice_fdir_get_gen_prgm_pkt()
[all …]
Dice_ethtool_fdir.c145 fsp->h_u.usr_ip4_spec.ip4src = rule->ip.v4.src_ip; in ice_get_ethtool_fdir_entry()
147 fsp->m_u.usr_ip4_spec.ip4src = rule->mask.v4.src_ip; in ice_get_ethtool_fdir_entry()
159 fsp->h_u.tcp_ip4_spec.ip4src = rule->ip.v4.src_ip; in ice_get_ethtool_fdir_entry()
163 fsp->m_u.tcp_ip4_spec.ip4src = rule->mask.v4.src_ip; in ice_get_ethtool_fdir_entry()
170 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_ip, in ice_get_ethtool_fdir_entry()
174 memcpy(fsp->m_u.tcp_ip6_spec.ip6src, rule->mask.v6.src_ip, in ice_get_ethtool_fdir_entry()
185 memcpy(fsp->h_u.tcp_ip6_spec.ip6src, rule->ip.v6.src_ip, in ice_get_ethtool_fdir_entry()
192 rule->mask.v6.src_ip, in ice_get_ethtool_fdir_entry()
1764 input->ip.v4.src_ip = fsp->h_u.tcp_ip4_spec.ip4src; in ice_set_fdir_input_set()
1768 input->mask.v4.src_ip = fsp->m_u.tcp_ip4_spec.ip4src; in ice_set_fdir_input_set()
[all …]
Dice_tc_lib.h88 struct in_addr src_ip; member
100 #define src_ipv4 ip.v4.src_ip.s_addr
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dtc_tunnel_key.sh107 flower src_ip 192.0.2.1 dst_ip 192.0.2.2 ip_proto udp \
110 flower src_ip 192.0.2.1 dst_ip 192.0.2.2 ip_proto udp \
113 flower src_ip 192.0.2.1 dst_ip 192.0.2.2 ip_proto udp \
118 action tunnel_key set src_ip 192.0.2.1 dst_ip 192.0.2.2 id 42 nofrag index 10
132 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.sh166 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action \
173 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action drop
175 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 0 action pass
211 $tcflags ip_proto tcp src_ip 192.0.2.1 dst_ip 192.0.2.2 \
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c44 if (fltr->ip_mask.v4_addrs.src_ip && in iavf_validate_fdir_fltr_masks()
45 fltr->ip_mask.v4_addrs.src_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()
55 if (memcmp(&fltr->ip_mask.v6_addrs.src_ip, &ipv6_addr_zero_mask, in iavf_validate_fdir_fltr_masks()
57 memcmp(&fltr->ip_mask.v6_addrs.src_ip, &ipv6_addr_full_mask, in iavf_validate_fdir_fltr_masks()
329 if (fltr->ip_mask.v4_addrs.src_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr()
330 iph->saddr = fltr->ip_data.v4_addrs.src_ip; in iavf_fill_fdir_ip4_hdr()
369 if (!memcmp(&fltr->ip_mask.v6_addrs.src_ip, &ipv6_addr_full_mask, in iavf_fill_fdir_ip6_hdr()
371 memcpy(&iph->saddr, &fltr->ip_data.v6_addrs.src_ip, in iavf_fill_fdir_ip6_hdr()
724 &fltr->ip_data.v4_addrs.src_ip, in iavf_print_fdir_fltr()
734 &fltr->ip_data.v4_addrs.src_ip, in iavf_print_fdir_fltr()
[all …]
Diavf_ethtool.c1086 fsp->h_u.tcp_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1091 fsp->m_u.tcp_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1099 fsp->h_u.ah_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1103 fsp->m_u.ah_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1109 fsp->h_u.usr_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1115 fsp->m_u.usr_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1125 memcpy(fsp->h_u.usr_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1132 memcpy(fsp->m_u.usr_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1142 memcpy(fsp->h_u.ah_ip6_spec.ip6src, &rule->ip_data.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
1148 memcpy(fsp->m_u.ah_ip6_spec.ip6src, &rule->ip_mask.v6_addrs.src_ip, in iavf_get_ethtool_fdir_entry()
[all …]
Diavf_fdir.h62 __be32 src_ip; member
67 struct in6_addr src_ip; member
/linux-6.6.21/net/bridge/
Dbr_multicast.c1363 br_multicast_new_group_src(struct net_bridge_port_group *pg, struct br_ip *src_ip) in br_multicast_new_group_src() argument
1370 switch (src_ip->proto) { in br_multicast_new_group_src()
1372 if (ipv4_is_zeronet(src_ip->src.ip4) || in br_multicast_new_group_src()
1373 ipv4_is_multicast(src_ip->src.ip4)) in br_multicast_new_group_src()
1378 if (ipv6_addr_any(&src_ip->src.ip6) || in br_multicast_new_group_src()
1379 ipv6_addr_is_multicast(&src_ip->src.ip6)) in br_multicast_new_group_src()
1391 grp_src->addr = *src_ip; in br_multicast_new_group_src()
2265 struct br_ip src_ip; in br_multicast_isinc_allow() local
2268 memset(&src_ip, 0, sizeof(src_ip)); in br_multicast_isinc_allow()
2269 src_ip.proto = pg->key.addr.proto; in br_multicast_isinc_allow()
[all …]
Dbr_arp_nd_proxy.c44 struct net_device *dev, __be32 dest_ip, __be32 src_ip, in br_arp_send() argument
55 dev->name, &dest_ip, dest_hw, &src_ip, src_hw); in br_arp_send()
58 arp_send(ARPOP_REPLY, ETH_P_ARP, dest_ip, dev, src_ip, in br_arp_send()
63 skb = arp_create(ARPOP_REPLY, ETH_P_ARP, dest_ip, dev, src_ip, in br_arp_send()
Dbr_multicast_eht.c535 struct br_ip src_ip; in __eht_del_set_entries() local
539 memset(&src_ip, 0, sizeof(src_ip)); in __eht_del_set_entries()
540 src_ip.proto = pg->key.addr.proto; in __eht_del_set_entries()
545 memcpy(&src_ip, srcs + (src_idx * addr_size), addr_size); in __eht_del_set_entries()
546 src_ent = br_multicast_find_group_src(pg, &src_ip); in __eht_del_set_entries()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/crypto/
Dfw.h59 __be32 src_ip; member
66 __be32 src_ip[4]; member
/linux-6.6.21/include/net/
Darp.h63 struct net_device *dev, __be32 src_ip,
71 struct net_device *dev, __be32 src_ip,
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
Drtl819x_TS.h38 u8 src_ip[4]; member
52 u8 src_ip[16]; member
/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_ppe_debugfs.c113 ai.src = &entry->ipv4.orig.src_ip; in mtk_ppe_debugfs_foe_show()
122 ai.src = &entry->ipv6.src_ip; in mtk_ppe_debugfs_foe_show()
138 ai.src = &entry->ipv4.new.src_ip; in mtk_ppe_debugfs_foe_show()
Dmtk_ppe.h143 u32 src_ip; member
190 u32 src_ip[4]; member
214 u32 src_ip[4]; member
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_model.h32 input->filter.formatted.src_ip[0] = (__force __be32)val; in ixgbe_mat_prgm_sip()
33 mask->formatted.src_ip[0] = (__force __be32)m; in ixgbe_mat_prgm_sip()
/linux-6.6.21/tools/testing/selftests/drivers/net/dsa/
Dtc_actions.sh166 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action \
173 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action drop
175 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 0 action pass
211 $tcflags ip_proto tcp src_ip 192.0.2.1 dst_ip 192.0.2.2 \
/linux-6.6.21/include/uapi/linux/netfilter_arp/
Darpt_mangle.h12 struct in_addr src_ip; member
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
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 \

12345