Lines Matching refs:port
302 /* convert channel to port iff 0 <= port < 8. */
303 if (tp.port < 4)
304 t->tp.port = sc->chan_map[tp.port];
305 else if (tp.port < 8)
306 t->tp.port = sc->chan_map[tp.port - 4] + 4;
308 t->tp.port = tp.port;
350 if (t->tp.port > 19 || t->tp.snap_len > 9600 ||
365 /* convert port to channel iff 0 <= port < 8. */
366 if (t->tp.port < 4) {
367 if (sc->port[t->tp.port] == NULL) {
371 tp.port = sc->port[t->tp.port]->tx_chan;
372 } else if (t->tp.port < 8) {
373 if (sc->port[t->tp.port - 4] == NULL) {
377 tp.port = sc->port[t->tp.port - 4]->tx_chan + 4;