mirror of
https://github.com/clang-retro/llvm.git
synced 2026-11-28 21:29:24 -08:00
This makes <net/ethernet.h> include <linux/if_ether.h> and adds definitions for the ETHER_* length macros: - ETHER_ADDR_LEN - ETHER_TYPE_LEN - ETHER_CRC_LEN - ETHER_HDR_LEN - ETHER_MIN_LEN - ETHER_MAX_LEN - ETHER_MAX_LEN_JUMBO I'm using public_includes for <linux/if_ether.h>. It is fine for now, since <net/ethernet.h> is currently only enabled on Linux. If that changes, we'll need to figure out what to do with it. I'd probably go with something declarative, like adding a 'guard:' field to the public_includes list. Assisted-by: Gemini