Title: nw_init()


nw_init() is called by main() to initialize the network service before entering the endless loop within main(). nw_init() first calls read_conf() to process the /etc/inet.conf file and then calls svrctl() three times to register the network service with the memory manager, the kernel, and the file system. Finally, nw_init() calls the initialization functions of several subsystems (e.g., the buffer management subsystem) and protocols (e.g., udp_init() for the udp layer).