Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c00a7935 authored by Xiao Ma's avatar Xiao Ma
Browse files

Add integration test to verify different DHCP handshake process.

Bug: 122710829
Test: atest NetworkStackIntegrationTests
Test: atest NetworkStackTests

Change-Id: If605a5688827b376866b68289b76c452e8366d0c
parent 692abb71
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import java.nio.ByteBuffer;
/**
 * This class implements the DHCP-ACK packet.
 */
class DhcpAckPacket extends DhcpPacket {
public class DhcpAckPacket extends DhcpPacket {

    /**
     * The address of the server which sent this packet.
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import java.nio.ByteBuffer;
/**
 * This class implements the DHCP-DECLINE packet.
 */
class DhcpDeclinePacket extends DhcpPacket {
public class DhcpDeclinePacket extends DhcpPacket {
    /**
     * Generates a DECLINE packet with the specified parameters.
     */
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import java.nio.ByteBuffer;
/**
 * This class implements the (unused) DHCP-INFORM packet.
 */
class DhcpInformPacket extends DhcpPacket {
public class DhcpInformPacket extends DhcpPacket {
    /**
     * Generates an INFORM packet with the specified parameters.
     */
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import java.nio.ByteBuffer;
/**
 * This class implements the DHCP-NAK packet.
 */
class DhcpNakPacket extends DhcpPacket {
public class DhcpNakPacket extends DhcpPacket {
    /**
     * Generates a NAK packet with the specified parameters.
     */
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import java.nio.ByteBuffer;
/**
 * This class implements the DHCP-OFFER packet.
 */
class DhcpOfferPacket extends DhcpPacket {
public class DhcpOfferPacket extends DhcpPacket {
    /**
     * The IP address of the server which sent this packet.
     */
Loading