NHDLC
struct mdesc *mdt[NHDLC];
struct mdesc *mdr[NHDLC];
struct schan *chan[NHDLC];
for (i = 0; i < NHDLC; i++) {