Searched refs:pkt (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/common_time/ |
D | common_time_server.cpp | 626 UniversalTimeServicePacket pkt; in handlePacket() local 627 if (pkt.deserializePacket(buf, recvBytes, mSyncGroupID) < 0) { in handlePacket() 640 switch (pkt.packetType) { in handlePacket() 642 result = handleWhoIsMasterRequest(&pkt.p.who_is_master_request, in handlePacket() 647 result = handleWhoIsMasterResponse(&pkt.p.who_is_master_response, in handlePacket() 652 result = handleSyncRequest(&pkt.p.sync_request, srcAddr); in handlePacket() 656 result = handleSyncResponse(&pkt.p.sync_response, srcAddr); in handlePacket() 660 result = handleMasterAnnouncement(&pkt.p.master_announcement, in handlePacket() 670 pkt.packetType, srcEPStr); in handlePacket() 772 WhoIsMasterResponsePacket pkt; in handleWhoIsMasterRequest() local [all …]
|
/frameworks/base/core/java/android/net/dhcp/ |
D | DhcpPacket.java | 820 DhcpPacket pkt = new DhcpDiscoverPacket( in buildDiscoverPacket() local 822 pkt.mRequestedParams = expectedParams; in buildDiscoverPacket() 823 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket() 835 DhcpPacket pkt = new DhcpOfferPacket( in buildOfferPacket() local 837 pkt.mGateway = gateway; in buildOfferPacket() 838 pkt.mDnsServers = dnsServers; in buildOfferPacket() 839 pkt.mLeaseTime = timeout; in buildOfferPacket() 840 pkt.mDomainName = domainName; in buildOfferPacket() 841 pkt.mServerIdentifier = dhcpServerIdentifier; in buildOfferPacket() 842 pkt.mSubnetMask = netMask; in buildOfferPacket() [all …]
|