*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> protocols (4)              


 protocols(4)                                                   protocols(4)

 NAME    [Toc]    [Back]
      protocols - protocol name data base

 DESCRIPTION    [Toc]    [Back]
      This file associates protocol numbers with official protocol names and
      aliases.  This allows the user to refer to a protocol by a symbolic
      name instead of a number.  For each protocol a single line should be
      present with the following information:

           <official protocol name>   <official protocol number>   <aliases>

      These mappings are defined in RFC 1700 Assigned Numbers.

      Aliases are other names under which the protocol is also known.  For

           tcp     6       TCP

      In this example, the library call getprotobyname() can be invoked as:

           p = getprotobyname("TCP");

      instead of

           p = getprotobyname("tcp");

      Both produce the same results.

      A line cannot start with a space.  Items are separated by any number
      of blanks and/or tab characters.  A # character indicates the
      beginning of a comment.  Characters from the # to the end of the line
      are not interpreted by routines which search the file.

      Protocol names can contain any printable character other than a white
      space, new-line, or comment character.  Trailing blanks or tabs are
      allowed at the end of a line.

 EXAMPLES    [Toc]    [Back]
      tcp     6       TCP     # transmission control protocol
      udp     17      UDP     # user datagram protocol

 AUTHOR    [Toc]    [Back]
      protocols was developed by the University of California, Berkeley.

 SEE ALSO    [Toc]    [Back]

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
hosts Tru64 The host name data base
networks FreeBSD network name data base
hosts HP-UX host name data base
networks HP-UX network name data base
services FreeBSD service name data base
ndbm IRIX data base subroutines
services HP-UX service name data base
dbm IRIX data base subroutines
hosts FreeBSD host name data base
rpc Linux rpc program number data base
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service