Lines Matching refs:port
306 /* convert channel to port iff 0 <= port < 8. */
307 if (tp.port < 4)
308 t->tp.port = sc->chan_map[tp.port];
309 else if (tp.port < 8)
310 t->tp.port = sc->chan_map[tp.port - 4] + 4;
312 t->tp.port = tp.port;
354 if (t->tp.port > 19 || t->tp.snap_len > 9600 ||
369 /* convert port to channel iff 0 <= port < 8. */
370 if (t->tp.port < 4) {
371 if (sc->port[t->tp.port] == NULL) {
375 tp.port = sc->port[t->tp.port]->tx_chan;
376 } else if (t->tp.port < 8) {
377 if (sc->port[t->tp.port - 4] == NULL) {
381 tp.port = sc->port[t->tp.port - 4]->tx_chan + 4;