/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 280 public abstract ByteBuffer buildPacket(int encap, short destUdp, in buildPacket() argument 331 protected void fillInPacket(int encap, Inet4Address destIp, in fillInPacket() argument 347 if (encap == ENCAP_L2) { in fillInPacket() 356 if (encap <= ENCAP_L3) { in fillInPacket() 416 if (encap <= ENCAP_L3) { in fillInPacket() 1074 public static ByteBuffer buildDiscoverPacket(int encap, int transactionId, in buildDiscoverPacket() argument 1079 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket() 1086 public static ByteBuffer buildOfferPacket(int encap, int transactionId, in buildOfferPacket() argument 1100 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildOfferPacket() 1106 public static ByteBuffer buildAckPacket(int encap, int transactionId, in buildAckPacket() argument [all …]
|
D | DhcpDeclinePacket.java | 43 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() argument 46 fillInPacket(encap, mClientIp, mYourIp, destUdp, srcUdp, result, in buildPacket()
|
D | DhcpDiscoverPacket.java | 42 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() argument 44 fillInPacket(encap, INADDR_BROADCAST, INADDR_ANY, destUdp, in buildPacket()
|
D | DhcpInformPacket.java | 43 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() argument 46 fillInPacket(encap, mClientIp, mYourIp, destUdp, srcUdp, result, in buildPacket()
|
D | DhcpNakPacket.java | 44 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() argument 49 fillInPacket(encap, destIp, srcIp, destUdp, srcUdp, result, in buildPacket()
|
D | DhcpRequestPacket.java | 46 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() argument 49 fillInPacket(encap, INADDR_BROADCAST, INADDR_ANY, destUdp, srcUdp, in buildPacket()
|
D | DhcpOfferPacket.java | 58 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() argument 63 fillInPacket(encap, destIp, srcIp, destUdp, srcUdp, result, in buildPacket()
|
D | DhcpAckPacket.java | 56 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() argument 61 fillInPacket(encap, destIp, srcIp, destUdp, srcUdp, result, in buildPacket()
|
D | DhcpClient.java | 399 int encap = to.equals(INADDR_BROADCAST) ? DhcpPacket.ENCAP_L2 : DhcpPacket.ENCAP_BOOTP; in sendRequestPacket() local 402 encap, mTransactionId, getSecs(), clientAddress, in sendRequestPacket()
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 85 public ByteBuffer buildPacket(int encap, short unusedDestUdp, short unusedSrcUdp) { in buildPacket() argument 87 fillInPacket(encap, CLIENT_ADDR, SERVER_ADDR, in buildPacket()
|