EtherType.h 268 B

1234567891011121314151617
  1. /*
  2. * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Types.h>
  8. struct EtherType {
  9. enum : u16 {
  10. ARP = 0x0806,
  11. IPv4 = 0x0800,
  12. IPv6 = 0x86DD,
  13. };
  14. };