IFM_MMASK
ifmr->ifm_active &= ~IFM_MMASK;
#define IFM_MODE(x) ((x) & IFM_MMASK)
(((mode) << IFM_MSHIFT) & IFM_MMASK)