Lines Matching full:circuit
62 static unsigned short circuit = 0x101; variable
166 * Find a connected NET/ROM socket given my circuit IDs.
188 * Find a connected NET/ROM socket given their circuit IDs.
212 * Find next free circuit ID.
216 unsigned short id = circuit; in nr_find_next_circuit()
704 circuit = nr_find_next_circuit(); in nr_connect()
707 nr->my_index = circuit / 256; in nr_connect()
708 nr->my_id = circuit % 256; in nr_connect()
710 circuit++; in nr_connect()
903 * Find an existing socket connection, based on circuit ID, if it's in nr_rx_frame()
904 * a Connect Request base it on their circuit ID. in nr_rx_frame()
906 * Circuit ID 0/0 is not valid but it could still be a "reset" for a in nr_rx_frame()
907 * circuit that no longer exists at the other end ... in nr_rx_frame()
978 /* Fill in his circuit details */ in nr_rx_frame()
988 circuit = nr_find_next_circuit(); in nr_rx_frame()
991 nr_make->my_index = circuit / 256; in nr_rx_frame()
992 nr_make->my_id = circuit % 256; in nr_rx_frame()
994 circuit++; in nr_rx_frame()