Add ethertype constant for Wake-on-LAN
Bug: 408247593 Test: atest NetworkStackTests Flag: EXEMPT mainline Change-Id: I5ff868ee66c2941c496db1fdfa02f0322e48d243
This commit is contained in:
parent
9fdb003b6f
commit
6498be751c
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ public final class NetworkStackConstants {
|
|||
public static final int ETHER_TYPE_ARP = 0x0806;
|
||||
public static final int ETHER_TYPE_IPV4 = 0x0800;
|
||||
public static final int ETHER_TYPE_IPV6 = 0x86dd;
|
||||
public static final int ETHER_TYPE_WAKE_ON_LAN = 0x0842;
|
||||
public static final int ETHER_HEADER_LEN = 14;
|
||||
public static final int ETHER_MTU = 1500;
|
||||
public static final byte[] ETHER_BROADCAST = new byte[] {
|
||||
|
|
|
|||
Loading…
Reference in a new issue