Home
last modified time | relevance | path

Searched refs:buildPacket (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DPacketBuilderTest.java516 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/
DDhcp6Packet.java680 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()
DDhcp6RebindPacket.java44 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6RebindPacket
DDhcp6AdvertisePacket.java43 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6AdvertisePacket
DDhcp6RenewPacket.java44 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6RenewPacket
DDhcp6ReplyPacket.java45 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6ReplyPacket
DDhcp6RequestPacket.java43 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6RequestPacket
DDhcp6SolicitPacket.java43 public ByteBuffer buildPacket() { in buildPacket() method in Dhcp6SolicitPacket
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java404 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()
DDhcpReleasePacket.java42 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpReleasePacket
DDhcpNakPacket.java43 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpNakPacket
DDhcpDeclinePacket.java45 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpDeclinePacket
DDhcpDiscoverPacket.java50 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpDiscoverPacket
DDhcpRequestPacket.java44 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpRequestPacket
DDhcpOfferPacket.java61 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpOfferPacket
DDhcpAckPacket.java60 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) { in buildPacket() method in DhcpAckPacket
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java142 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()