Lines Matching full:circuit
59 static unsigned short circuit = 0x101; variable
163 * Find a connected NET/ROM socket given my circuit IDs.
185 * Find a connected NET/ROM socket given their circuit IDs.
209 * Find next free circuit ID.
213 unsigned short id = circuit; in nr_find_next_circuit()
701 circuit = nr_find_next_circuit(); in nr_connect()
704 nr->my_index = circuit / 256; in nr_connect()
705 nr->my_id = circuit % 256; in nr_connect()
707 circuit++; in nr_connect()
900 * Find an existing socket connection, based on circuit ID, if it's in nr_rx_frame()
901 * a Connect Request base it on their circuit ID. in nr_rx_frame()
903 * Circuit ID 0/0 is not valid but it could still be a "reset" for a in nr_rx_frame()
904 * circuit that no longer exists at the other end ... in nr_rx_frame()
975 /* Fill in his circuit details */ in nr_rx_frame()
985 circuit = nr_find_next_circuit(); in nr_rx_frame()
988 nr_make->my_index = circuit / 256; in nr_rx_frame()
989 nr_make->my_id = circuit % 256; in nr_rx_frame()
991 circuit++; in nr_rx_frame()