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