Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
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:
See also:
endprotoent(), getprotobyname(), getprotobynumber(), getprotoent(), setprotoent()
/etc/protocols in the Utilities Reference
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)