|
|
For protocols, the protoent structure defines the protocol-name mapping used with the routines getprotobyname, getprotobynumber, and getprotoent(S).
struct protoent { char *p_name; /* official protocol name */ char **p_aliases; /* alias list */ int p_proto; /* protocol number */ };