/etc/protocols

protocol name database

Name:

/etc/protocols

Description:

The protocols file contains information regarding the known protocols used in the DARPA Internet. For each protocol, a single line should be present with the following information:

official_protocol_name protocol_number aliases

Items are separated by any number of blanks or tabs, or both. A pound sign (#) in a line indicates the beginning of a comment - any characters after a #, up to the end of the line, aren't interpreted by routines that search the file.

Protocol names may contain any printable character other than a field delimiter, newline, or comment character.

See also:

getprotoent()