Searched refs:ip (Results 1 – 14 of 14) sorted by relevance
/system/core/libnetutils/ |
D | packet.c | 93 struct iphdr ip; in send_packet() local 101 ip.version = IPVERSION; in send_packet() 102 ip.ihl = sizeof(ip) >> 2; in send_packet() 103 ip.tos = 0; in send_packet() 104 ip.tot_len = htons(sizeof(ip) + sizeof(udp) + size); in send_packet() 105 ip.id = 0; in send_packet() 106 ip.frag_off = 0; in send_packet() 107 ip.ttl = IPDEFTTL; in send_packet() 108 ip.protocol = IPPROTO_UDP; in send_packet() 109 ip.check = 0; in send_packet() [all …]
|
/system/extras/tests/net_test/ |
D | net_test.sh | 7 ip link set lo up 8 ip link set lo mtu 16436 9 ip link set eth0 up
|
D | multinetwork_test.py | 91 ip = cls._GetIpLayer(version) 96 ip(src=srcaddr, dst=dstaddr) / 114 ip = cls._GetIpLayer(version) 118 ip(src=srcaddr, dst=dstaddr) / 125 ip = cls._GetIpLayer(version) 128 ip(src=srcaddr, dst=dstaddr) / 135 ip = cls._GetIpLayer(version) 138 ip(src=srcaddr, dst=dstaddr) / 145 ip = cls._GetIpLayer(version) 152 ip(src=srcaddr, dst=dstaddr) / [all …]
|
D | run_net_test.sh | 59 if ! ip link list $tap > /dev/null; then 62 sudo ip link set $tap up
|
D | ping6_test.sh | 4 ip link set eth0 up
|
D | ping6_test.py | 109 def IPv4Packet(self, ip): argument 110 icmp = ip.getlayer(scapy.ICMP) 113 if (ip.proto != IPPROTO_ICMP or 119 if not self.ChecksumValid(ip): 122 if ip.ttl < self.MIN_TTL: 123 self.SendTimeExceeded(4, ip) 127 self.SwapAddresses(ip) 128 self.SendPacket(ip)
|
/system/extras/perfprofd/quipper/ |
D | perf_parser.cc | 263 const uint64_t unmapped_event_ip = sample_info.ip; in MapSampleEvent() 266 if (!MapIPAndPidAndGetNameAndOffset(sample_info.ip, in MapSampleEvent() 268 &sample_info.ip, in MapSampleEvent() 274 !MapCallchain(sample_info.ip, in MapSampleEvent() 300 bool PerfParser::MapCallchain(const uint64_t ip, in MapCallchain() argument 327 callchain->ips[j] = ip; in MapCallchain() 406 uint64_t ip, in MapIPAndPidAndGetNameAndOffset() argument 420 bool mapped = mapper->GetMappedAddress(ip, &mapped_addr); in MapIPAndPidAndGetNameAndOffset() 423 mapped = mapper->GetMappedAddress(ip, &mapped_addr); in MapIPAndPidAndGetNameAndOffset() 430 CHECK(mapper->GetMappedIDAndOffset(ip, &id, &dso_and_offset->offset_)); in MapIPAndPidAndGetNameAndOffset()
|
D | perf_parser.h | 212 bool MapCallchain(const uint64_t ip, 229 uint64_t ip,
|
D | perf_reader.cc | 383 sample->ip = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData() 510 *array++ = sample.ip; in WritePerfSampleToData()
|
/system/extras/simpleperf/ |
D | record_file.cpp | 158 uint64_t ip = r.ip_data.ip; in GetHitModulesInBuffer() local 164 if (ip >= m_record.data.addr && ip < m_record.data.addr + m_record.data.len) { in GetHitModulesInBuffer() 172 if (pid == m_record.data.pid && ip >= m_record.data.addr && in GetHitModulesInBuffer() 173 ip < m_record.data.addr + m_record.data.len) { in GetHitModulesInBuffer()
|
D | record.h | 40 uint64_t ip; member
|
D | record.cpp | 281 PrintIndented(indent, "ip %p\n", reinterpret_cast<void*>(ip_data.ip)); in DumpData()
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
D | event.h | 115 u64 ip; member
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | event.h | 106 u64 ip; member
|