protocols 中文man页面

系统
该文件为普通 ASCII 文件,它描述了 TCP/IP 子系统中各类 DARPA internet 协议族.你应该参考这个文件, 而不是使用 ARPA 的 include 文件中的号码, 更不必去猜测它们. 这些号码将出现在任何 ip 包头的协议字段中.

NAME 名称

protocols - 协议定义文件  

描述

该文件为普通 ASCII 文件,它描述了 TCP/IP 子系统中各类 DARPA internet 协议族.你应该参考这个文件, 而不是使用 ARPA 的 include 文件中的号码, 更不必去猜测它们. 这些号码将出现在任何 ip 包头的协议字段中.

你应该保持这个文件不变, 因为修改会导致不正确的 ip 包. 协议号码和名字由 DDN 网络信息中心指定.

每行的格式如下:

协议 号码 别名 ...

这里的字段以空格或者 tab 键分隔. 空行和以散列符 (#) 开头的行将忽略. 从散列符起始的行的剩余部分也将忽略.

字段描述如下:

协议
协议的本名.例如 :ip, tcp 或者 udp.
号码
协议的正式号码, 它将出现在 ip 包头中.
别名
协议的可选别名.

该文件也可以使用网络范围中的名字服务,如黄页/NIS 或 BIND/Hesoid,在网络分发.

文件

/etc/protocols
协议定义文件.

参见

getprotoent(3)

#p#

NAME

protocols - the protocols definition file  

DESCRIPTION

This file is a plain ASCII file, describing the various DARPA internet protocols that are available from the TCP/IP subsystem. It should be consulted instead of using the numbers in the ARPA include files, or, even worse, just guessing them. These numbers will occur in the protocol field of any ip header.

Keep this file untouched since changes would result in incorrect ip packages. Protocol numbers and names are specified by the IANA (Internet Assigned Numbers Authority).

Each line is of the following format:

protocol number aliases ...

where the fields are delimited by spaces or tabs. Empty lines are ignored. If a line contains a hash mark (#), the hash mark and the part of the line following it are ignored.

The field descriptions are:

protocol
the native name for the protocol. For example ip, tcp, or udp.
number
the official number for this protocol as it will appear within the ip header.
aliases
optional aliases for the protocol.

This file might be distributed over a network using a networkwide naming service like Yellow Pages/NIS or BIND/Hesiod.

FILES

/etc/protocols
The protocols definition file.

SEE ALSO

getprotoent(3)

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-11-01 13:46:50

中文mantac

2011-08-25 16:55:26

gets中文man

2011-08-25 15:49:02

freopen中文man

2011-08-25 16:08:55

fsetpos中文man

2011-08-25 15:33:18

exit中文man

2011-08-25 10:55:37

services中文man

2011-08-25 09:35:26

units中文man

2011-08-24 13:57:35

DECLARE中文man

2011-08-11 15:28:43

ali中文man

2011-08-23 17:24:11

userdel中文man

2011-08-23 17:33:22

rdev中文man

2011-08-23 18:05:21

ABORT中文man

2011-08-18 19:15:25

group中文man

2011-08-23 10:17:54

bdflush中文man

2011-08-23 10:48:03

exportfs中文man

2011-08-15 14:25:41

testparm中文man
点赞
收藏

51CTO技术栈公众号