usr.bin/telnet/network.c
/*
 * Initialize internal network data structures.
 */
Initialize internal network data structures.
Initialize internal network data structures .
void
init_network()
{
    if (ring_init(&netoring, netobuf, sizeof netobuf) != 1) {
	exit(1);
    }
    if (ring_init(&netiring, netibuf, sizeof netibuf) != 1) {
	exit(1);
    }
    NetTrace = stdout;
}
void init_network ( ) { if ( ring_init ( & netoring , netobuf , sizeof netobuf ) != 1 ) { exit ( 1 ) ; } if ( ring_init ( & netiring , netibuf , sizeof netibuf ) != 1 ) { exit ( 1 ) ; } NetTrace = stdout ; }
Initialize internal network data structures.
Initialize internal network data structures .