/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | PacketBuilderTest.java | 516 private ByteBuffer buildPacket(@Nullable final MacAddress srcMac, in buildPacket() method in PacketBuilderTest 751 final ByteBuffer packet = buildPacket(SRC_MAC, DST_MAC, IPPROTO_IP, IPPROTO_TCP, in testBuildPacketEtherIPv4Tcp() 759 final ByteBuffer packet = buildPacket(SRC_MAC, DST_MAC, IPPROTO_IP, IPPROTO_TCP, DATA); in testBuildPacketEtherIPv4TcpData() 767 final ByteBuffer packet = buildPacket(null /* srcMac */, null /* dstMac */, in testBuildPacketIPv4Tcp() 775 final ByteBuffer packet = buildPacket(null /* srcMac */, null /* dstMac */, in testBuildPacketIPv4TcpData() 783 final ByteBuffer packet = buildPacket(SRC_MAC, DST_MAC, IPPROTO_IP, IPPROTO_UDP, in testBuildPacketEtherIPv4Udp() 791 final ByteBuffer packet = buildPacket(SRC_MAC, DST_MAC, IPPROTO_IP, IPPROTO_UDP, DATA); in testBuildPacketEtherIPv4UdpData() 798 final ByteBuffer packet = buildPacket(null /* srcMac */, null /* dstMac */, in testBuildPacketIPv4Udp() 806 final ByteBuffer packet = buildPacket(null /* srcMac */, null /* dstMac */, in testBuildPacketIPv4UdpData() 814 final ByteBuffer packet = buildPacket(SRC_MAC, DST_MAC, IPPROTO_IPV6, IPPROTO_TCP, DATA); in testBuildPacketEtherIPv6TcpData() [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp6/ |
D | Dhcp6Packet.java | 680 return pkt.buildPacket(); in buildSolicitPacket() 690 return pkt.buildPacket(); in buildAdvertisePacket() 701 return pkt.buildPacket(); in buildReplyPacket() 713 return pkt.buildPacket(); in buildRequestPacket() 725 return pkt.buildPacket(); in buildRenewPacket() 735 return pkt.buildPacket(); in buildRebindPacket()
|
D | Dhcp6RebindPacket.java | 44 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6RebindPacket
|
D | Dhcp6AdvertisePacket.java | 43 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6AdvertisePacket
|
D | Dhcp6RenewPacket.java | 44 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6RenewPacket
|
D | Dhcp6ReplyPacket.java | 45 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6ReplyPacket
|
D | Dhcp6RequestPacket.java | 43 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6RequestPacket
|
D | Dhcp6SolicitPacket.java | 43 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6SolicitPacket
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 404 public abstract ByteBuffer buildPacket(int encap, short destUdp, in buildPacket() method in DhcpPacket 1525 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket() 1572 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildOfferPacket() 1622 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildAckPacket() 1649 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildNakPacket() 1668 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildRequestPacket() 1694 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDeclinePacket()
|
D | DhcpReleasePacket.java | 42 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpReleasePacket
|
D | DhcpNakPacket.java | 43 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpNakPacket
|
D | DhcpDeclinePacket.java | 45 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpDeclinePacket
|
D | DhcpDiscoverPacket.java | 50 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpDiscoverPacket
|
D | DhcpRequestPacket.java | 44 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpRequestPacket
|
D | DhcpOfferPacket.java | 61 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpOfferPacket
|
D | DhcpAckPacket.java | 60 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpAckPacket
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 142 public ByteBuffer buildPacket(int encap, short unusedDestUdp, short unusedSrcUdp) { in buildPacket() method in DhcpPacketTest.TestDhcpPacket 169 ByteBuffer pkt = buildPacket(ENCAP_BOOTP, (short) 0, (short) 0); in build()
|