Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

[Previous] [Contents] [Index] [Next]

protoent

Structure for information from the protocol database

Synopsis:

#include <netdb.h>

struct protoent {
     char *  p_name;
     char ** p_aliases;
     int     p_proto;
};

Description:

The protoent structure holds information from the network protocols database, /etc/protocols. The members of this structure are:

p_name
The name of the protocol.
p_aliases
A zero-terminated list of alternate names for the protocol.
p_proto
The protocol number.

Classification:

POSIX 1003.1

See also:

endprotoent(), getprotobyname(), getprotobynumber(), getprotoent(), setprotoent()

/etc/protocols in the Utilities Reference


[Previous] [Contents] [Index] [Next]