Title: check_dev()


check_dev(), called by read_conf(), creates device files and links to the device files. For the following /etc/inet.conf file:

eth0 DP8390 0 { default; };
psip1;

check_dev() is called with the following two pairs of arguments:

NETTYPE_ETH, 0
NETTYPE_PSIP, 1

For the first call, check_dev() creates the files:

/dev/eth0, /dev/ip0, /dev/tcp0, /dev/udp0

and for the second call, check_dev() creates the files:

/dev/psip1, /dev/ip1, /dev/tcp1, /dev/udp1