Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/ieee_oui.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | |||||
* Allocate 16 bits for a pool to give to various interfaces that need a | * Allocate 16 bits for a pool to give to various interfaces that need a | ||||
* generated address, but don't quite need to slice off a whole section of | * generated address, but don't quite need to slice off a whole section of | ||||
* the OUI (e.g. cloned interfaces, one-off NICs of various vendors). | * the OUI (e.g. cloned interfaces, one-off NICs of various vendors). | ||||
* | * | ||||
* ether_gen_addr should be used to generate an address from this pool. | * ether_gen_addr should be used to generate an address from this pool. | ||||
*/ | */ | ||||
#define OUI_FREEBSD_GENERATED_MASK 0x10ffff | #define OUI_FREEBSD_GENERATED_MASK 0x10ffff | ||||
#define OUI_FREEBSD_GENERATED_LOW OUI_FREEBSD(0x100000) | #define OUI_FREEBSD_GENERATED_LOW OUI_FREEBSD(0x100000) | ||||
#define OUI_FREEBSD_GENERATED_HIGH OUI_FREEBSD(OU_FREEBSD_GENERATED_MASK) | #define OUI_FREEBSD_GENERATED_HIGH OUI_FREEBSD(OUI_FREEBSD_GENERATED_MASK) | ||||
/* Allocate 16 bits for emulated NVMe devices */ | |||||
#define OUI_FREEBSD_NVME_MASK 0x20ffff | |||||
#define OUI_FREEBSD_NVME_LOW OUI_FREEBSD(0x200000) | |||||
#define OUI_FRREBSD_NVME_HIGH OUI_FREEBSD(OUI_FREEBSD_NVME_MASK) |