📄 s_n_d.8
字号:
.TH SET_NET_DEFAULT 8.SH NAMEs_n_d, set_net_default \- select the default TCP/IP network.SH SYNOPSIS.B "set_net_default: not found".SH DESCRIPTIONThis manual page is here because so many others refer to it. The.B set_net_defaultcommand does not exist under standard Minix, because the TCP/IP server onlysupports one network. The server under Minix-vmd supports four differentnetworks, that can each be chosen as the default network..PPThe TCP/IP library and commands do have a notion about a "default network"however, because the code is shared between the Minix versions. So if youwant to venture into network programming then you should know about thedevices and environment variables mentioned below to make your programcompatible. (Especially since there is a plan to upgrade the TCP/IP serverfor standard Minix.).SS "Options and environment to change the default"Many TCP/IP programs implement the following options and environmentvariables to change the default devices set by.BR set_net_default .The options are only implemented for low level programs where it makes senseto name a network device. The environment variables are used in all code.You can run a process and all its children connected to a different networkby setting four environment variables..PP.BI ETH_DEVICE= device.br.BI -E " device".RSDevice to use as raw ethernet device instead of the default /dev/eth..RE.PP.BI PSIP_DEVICE= device.br.BI -P " device".RSPseudo IP device to use instead of /dev/psip..RE.PP.BI IP_DEVICE= device.br.BI -I " device".RSIP device to use instead of /dev/ip..RE.PP.BI TCP_DEVICE= device.br.BI -T " device".RSTCP device to use..RE.PP.BI UDP_DEVICE= device.br.BI -U " device".RSUDP device to use..RE.SH FILES.IP /dev/eth[01] 18nFirst and second raw ethernet..IP /dev/psip[01]First and second Pseudo IP network..IP /dev/ip[0123]IP devices for two ethernets and two Pseudo IP networks..IP /dev/tcp[0123]TCP devices for same four networks..IP /dev/udp[0123]UDP devices..IP "/dev/eth, /dev/psip, /dev/ip, /dev/tcp, /dev/udp"Devices for the default network, links to the devices above..B Ethis only present if ethernet is the default,.B psiponly for pseudo IP..SH "SEE ALSO".BR ip (4),.BR boot (8)..SH AUTHORKees J. Bot (kjb@cs.vu.nl)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -