NM_LOCK_T
#define NM_LOCK_T safe_spinlock_t // see bsd_glue.h
#define NM_LOCK_T IOLock *
#define NM_LOCK_T win_spinlock_t // see win_glue.h
#define NM_LOCK_T struct mtx /* low level spinlock, used to protect queues */