/aosp_15_r20/external/bcc/examples/networking/tcp_mon_block/src/ |
H A D | tcp_mon_block.c | 26 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 D | tcp_mon_block.py | 156 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/ |
D | dscpPolicy.c | 59 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()
|
D | dscpPolicy.h | 32 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 D | bareudp.sh | 403 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 D | vxlan_bridge_1d_ipv6.sh | 338 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 D | pedit_ip.sh | 172 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 D | vxlan_bridge_1q_ipv6.sh | 441 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 D | tc_actions.sh | 163 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 D | router.sh | 198 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/ |
D | packet_utils_test.py | 31 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 D | traceroute.c | 55 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 D | arping.c | 39 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/ |
D | packet_utils.py | 42 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/ |
D | pxe.rs | 54 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/ |
D | pxe.rs | 54 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 D | tc_actions.sh | 163 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 D | tc_perf_event.py | 57 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 D | http-parse-complete.c | 9 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/ |
D | connectivity_test_utils.py | 43 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 D | arping.c | 381 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 D | blackhole_routes.sh | 124 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 D | devlink_trap_l3_exceptions.sh | 269 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 D | libarpt_mangle.c | 66 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 D | srcaddr_selection_test.py | 361 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
|