CONN_RMASK
#define CONN_NMASK(e) (CONN_RMASK(e) - 1)
#define CONN_RANGE(r, e, n) (CONN_RESVAL(r, e, n) & CONN_RMASK(e))