PORT_LOCK
#define PORT_LOCK(port) sx_xlock(&(port)->lock);
#define PORT_LOCK(port) mtx_lock(&(port)->lock);