Home
last modified time | relevance | path

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

12345

/aosp_15_r20/external/bcc/examples/networking/tcp_mon_block/src/
H A Dtcp_mon_block.c26 u32 src_ip; member
39 u32 src_ip; member
50 u32 src_ip; member
83 static void make_verbose_event(verbose_event *v, u32 src_ip, u32 dst_ip, u16 src_port, u16 dst_port… in make_verbose_event() argument
85 v->src_ip = src_ip; in make_verbose_event()
130 key.src_ip = ip->saddr; in handle_egress()
168 __builtin_memcpy(&key.src_ip, args->saddr, sizeof(key.src_ip)); in TRACEPOINT_PROBE()
179 …make_verbose_event(&v, packet_value->src_ip, packet_value->dst_ip, packet_value->src_port, packet_… in TRACEPOINT_PROBE()
208 u32 src_ip = sk->__sk_common.skc_rcv_saddr; in trace_connect_entry() local
220 key.src_ip = src_ip; in trace_connect_entry()
[all …]
H A Dtcp_mon_block.py156 src_ip = network_address_to_ip(event.src_ip)
164 src_ip = network_address_to_ip(event.src_ip)
/aosp_15_r20/packages/modules/Connectivity/bpf/progs/
DdscpPolicy.c59 struct in6_addr src_ip = {}; in match_policy() local
76 src_ip.s6_addr32[2] = htonl(0x0000ffff); in match_policy()
80 src_ip.s6_addr32[3] = iph->saddr; in match_policy()
92 src_ip = ip6h->saddr; in match_policy()
124 nomatch |= v6_not_equal(src_ip, existing_rule->src_ip); in match_policy()
198 nomatch |= policy->match_src_ip * v6_not_equal(src_ip, policy->src_ip); in match_policy()
241 .src_ip = src_ip, in match_policy()
DdscpPolicy.h32 struct in6_addr src_ip; member
48 struct in6_addr src_ip; member
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/net/
H A 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 …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/net/forwarding/
H A 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 \
H A 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
H A 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 \
H A Dtc_actions.sh163 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action \
170 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action drop
172 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 0 action pass
H A Drouter.sh198 flower src_ip 240.0.0.1 ip_proto udp action pass
276 flower src_ip 198.51.100.2 action pass
296 flower src_ip 2001:db8:2::2 action pass
/aosp_15_r20/packages/modules/Connectivity/staticlibs/tests/unit/host/python/
Dpacket_utils_test.py31 src_ip="192.168.1.2",
48 src_ip="192.168.1.2",
68 src_ip="192.168.1.1",
/aosp_15_r20/external/toybox/toys/pending/
H A Dtraceroute.c55 char *src_ip;
584 if (!inet_aton(TT.src_ip, &(source.sin_addr))) in traceroute_main()
585 error_exit("bad address: %s", TT.src_ip); in traceroute_main()
605 if(inet_pton(AF_INET6, TT.src_ip, &(source.sin6_addr)) <= 0) in traceroute_main()
606 error_exit("bad address: %s", TT.src_ip); in traceroute_main()
630 if (toys.optflags & FLAG_s) xprintf(" from %s",TT.src_ip); in traceroute_main()
H A Darping.c39 char *src_ip;
230 if ((toys.optflags & FLAG_s) && !(inet_aton(TT.src_ip, &src_addr))) in arping_main()
231 perror_exit("invalid source address '%s'",TT.src_ip); in arping_main()
/aosp_15_r20/packages/modules/Connectivity/staticlibs/testutils/host/python/
Dpacket_utils.py42 def construct_arp_packet(src_mac, dst_mac, src_ip, dst_ip, op) -> str: argument
64 sender_ip=inet_aton(src_ip).hex(),
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/proto/network/
Dpxe.rs54 src_ip: Option<&IpAddress>,
66 src_ip: Option<&mut IpAddress>,
459 src_ip: Option<&IpAddress>, in udp_write()
479 src_ip, in udp_write()
497 src_ip: Option<&mut IpAddress>, in udp_read()
518 src_ip, in udp_read()
/aosp_15_r20/external/rust/crates/uefi/src/proto/network/
Dpxe.rs54 src_ip: Option<&IpAddress>,
66 src_ip: Option<&mut IpAddress>,
459 src_ip: Option<&IpAddress>, in udp_write()
479 src_ip, in udp_write()
497 src_ip: Option<&mut IpAddress>, in udp_read()
518 src_ip, in udp_read()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/drivers/net/dsa/
H A Dtc_actions.sh163 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action \
170 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action drop
172 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 0 action pass
/aosp_15_r20/external/bcc/examples/networking/
H A Dtc_perf_event.py57 src_ip = bytes(bytearray(skb_event.raw[22:38]))
60 (cpu, socket.inet_ntop(socket.AF_INET6, src_ip),
/aosp_15_r20/external/bcc/examples/networking/http_filter/
H A Dhttp-parse-complete.c9 u32 src_ip; //source ip member
77 key.src_ip = ip->src; in http_filter()
/aosp_15_r20/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dconnectivity_test_utils.py43 def start_natt_socket_keepalive(ad, udp_encap, src_ip, dst_ip, interval = 10): argument
54 key = ad.droid.startNattSocketKeepalive(udp_encap, src_ip, dst_ip, interval)
/aosp_15_r20/external/iputils/
H A Darping.c381 struct in_addr src_ip, dst_ip; in recv_pack() local
410 memcpy(&src_ip, p+ah->ar_hln, 4); in recv_pack()
413 if (src_ip.s_addr != dst.s_addr) in recv_pack()
433 if (src_ip.s_addr != dst.s_addr) in recv_pack()
444 printf("%s [", inet_ntoa(src_ip)); in recv_pack()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
H A 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 \
H A Ddevlink_trap_l3_exceptions.sh269 local src_ip=$1; shift
286 $MC_CLI -I $table_name add $rp1 $src_ip $dst_ip $rp2
291 -A $src_ip -B $dst_ip -q &
/aosp_15_r20/external/iptables/extensions/
H A Dlibarpt_mangle.c66 mangle->u_s.src_ip.s_addr = ipaddr->s_addr; in arpmangle_parse()
148 ipaddr_to(&(m->u_s.src_ip), numeric)); in arpmangle_print()
/aosp_15_r20/kernel/tests/net/test/
H A Dsrcaddr_selection_test.py361 src_ip = self.GetSourceIP(self.test_netid)
362 self.assertFalse(src_ip in [self.test_ip, self.test_lladdr])
363 self.assertTrue(src_ip in

12345