Home
last modified time | relevance | path

Searched refs:icmp6 (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/clatd/
Ddump.c115 void dump_icmp6(struct icmp6_hdr *icmp6) { in dump_icmp6() argument
117 printf("type = %x", icmp6->icmp6_type); in dump_icmp6()
118 if (icmp6->icmp6_type == ICMP6_ECHO_REQUEST) { in dump_icmp6()
120 } else if (icmp6->icmp6_type == ICMP6_ECHO_REPLY) { in dump_icmp6()
124 printf("code = %x\n", icmp6->icmp6_code); in dump_icmp6()
126 printf("checksum = %x\n", icmp6->icmp6_cksum); in dump_icmp6()
128 if ((icmp6->icmp6_type == ICMP6_ECHO_REQUEST) || (icmp6->icmp6_type == ICMP6_ECHO_REPLY)) { in dump_icmp6()
129 printf("icmp6_id = %x\n", icmp6->icmp6_id); in dump_icmp6()
130 printf("icmp6_seq = %x\n", icmp6->icmp6_seq); in dump_icmp6()
Dtranslate.c280 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, in icmp6_to_icmp() argument
288 icmp_type = icmp6_to_icmp_type(icmp6->icmp6_type, icmp6->icmp6_code); in icmp6_to_icmp()
290 icmp_targ->code = icmp6_to_icmp_code(icmp6->icmp6_type, icmp6->icmp6_code); in icmp6_to_icmp()
294 if (pos == CLAT_POS_TRANSPORTHDR && is_icmp6_error(icmp6->icmp6_type) && in icmp6_to_icmp()
301 icmp_targ->un.echo.id = icmp6->icmp6_id; in icmp6_to_icmp()
302 icmp_targ->un.echo.sequence = icmp6->icmp6_seq; in icmp6_to_icmp()
Dipv6.c36 int icmp6_packet(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, in icmp6_packet() argument
46 payload = (const uint8_t *)(icmp6 + 1); in icmp6_packet()
49 return icmp6_to_icmp(out, pos, icmp6, payload, payload_size); in icmp6_packet()
Ddump.h37 void dump_icmp6(struct icmp6_hdr *icmp6);
Dtranslate.h72 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6,
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWlanWakeReasonAndCounts.java47 public int icmp6; field in WlanWakeReasonAndCounts
75 sb.append(" icmp6 ").append(icmp6); in toString()
115 dest.writeInt(icmp6); in writeToParcel()
143 counts.icmp6 = in.readInt();
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java100 final int icmp6 = 58; in testWakeupEventLogging() local
109 wakeupEvent(iface, uids[3], v4, icmp6, mac, srcIp, dstIp, sport, dport, now); in testWakeupEventLogging()
181 final int icmp6 = 58; in testWakeupStatsLogging() local
189 wakeupEvent("wlan0", -1, v6, icmp6, mac, srcIp6, dstIp6, sport, dport, now); in testWakeupStatsLogging()
196 wakeupEvent("wlan0", -1, v6, icmp6, mac, srcIp6, dstIp6, sport, dport, now); in testWakeupStatsLogging()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiChipAidlImplTest.java198 assertEquals(stats.rxIcmpPkWakeDetails.icmp6Pkt, retrievedStats.icmp6); in testGetWlanWakeReasonCount()
DWifiChipHidlImplTest.java257 assertEquals(stats.rxIcmpPkWakeDetails.icmp6Pkt, retrievedStats.icmp6); in testGetWlanWakeReasonCount()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiChipAidlImpl.java1350 ans.icmp6 = h.rxIcmpPkWakeDetails.icmp6Pkt; in halToFrameworkWakeReasons()
DWifiChipHidlImpl.java1860 ans.icmp6 = h.rxIcmpPkWakeDetails.icmp6Pkt; in halToFrameworkWakeReasons()