protoent
struct protoent *getprotobyname(const char *);
struct protoent *getprotobynumber(int);
struct protoent *getprotoent(void);
int getprotobyname_r(const char *, struct protoent *, char *,
size_t, struct protoent **);
int getprotobynumber_r(int, struct protoent *, char *, size_t,
struct protoent **);
int getprotoent_r(struct protoent *, char *, size_t,
struct protoent **);
struct protoent *
struct protoent *p;
struct protoent *
struct protoent *p;
struct protoent *
static struct protoent proto;
struct protoent * bt_getprotobyname (char const *);
struct protoent * bt_getprotobynumber (int);
struct protoent * bt_getprotoent (void);
struct protoent *
struct protoent *rval;
struct protoent pe;
struct protoent *pptr;
pptr = va_arg(ap, struct protoent *);
*((struct protoent **)retval) = pptr;
getprotobynumber_r(int proto, struct protoent *pptr, char *buffer,
size_t buflen, struct protoent **result)
struct protoent *proto;
struct protoent new_proto;
proto = va_arg(ap, struct protoent *);
desired_size = _ALIGNBYTES + sizeof(struct protoent) + sizeof(char *);
memcpy(&new_proto, proto, sizeof(struct protoent));
p = buffer + sizeof(struct protoent) + sizeof(char *);
memcpy(buffer + sizeof(struct protoent), &p, sizeof(char *));
memcpy(buffer, &new_proto, sizeof(struct protoent));
struct protoent *proto;
proto = va_arg(ap, struct protoent *);
buffer_size - sizeof(struct protoent) - sizeof(char *)) {
memcpy(proto, buffer, sizeof(struct protoent));
memcpy(&p, buffer + sizeof(struct protoent), sizeof(char *));
memcpy(orig_buf, buffer + sizeof(struct protoent) + sizeof(char *) +
buffer_size - sizeof(struct protoent) - sizeof(char *) -
*((struct protoent **)retval) = proto;
__copy_protoent(struct protoent *pe, struct protoent *pptr, char *buf,
__getprotoent_p(struct protoent *pe, struct protoent_data *ped)
struct protoent pe;
struct protoent *pptr;
pptr = va_arg(ap, struct protoent *);
*((struct protoent **)retval) = pptr;
getprotoent_r(struct protoent *pptr, char *buffer, size_t buflen,
struct protoent **result)
struct protoent *
struct protoent *rval;
size_t buflen, struct protoent **result)
struct protoent *
struct protoent *rval;
struct protoent pe;
struct protoent *pptr;
pptr = va_arg(ap, struct protoent *);
*((struct protoent **)retval) = pptr;
getprotobyname_r(const char *name, struct protoent *pptr, char *buffer,
struct protoent proto;
int __copy_protoent(struct protoent *, struct protoent *, char *, size_t);
int __getprotoent_p(struct protoent *, struct protoent_data *);
struct protoent *pp;
static struct protoent *
static struct protoent prot;
struct protoent *pp;
struct protoent *pe = NULL;
struct protoent *pe;
struct protoent *pe;
struct protoent *pe;
struct protoent *pe;
struct protoent *pe;
struct protoent *pe;
struct protoent *pe;
struct protoent *pe;
struct protoent *pe;
struct protoent *pe = getprotobynumber(proto);
struct protoent *pe = NULL;
struct protoent *pe;
struct protoent *protoent;
protoent = getprotobyname(protoName);
if (protoent == NULL)
proto = protoent->p_proto;
struct protoent downstream;
struct protoent inet; /* IP information */
struct protoent inet6; /* IPv6 information */
struct protoent ipx; /* IPX information */
struct protoent *pep;
struct protoent *pep;
struct protoent *pep;
struct protoent downstream;
struct protoent inet; /* IP information */
struct protoent inet6; /* IPv6 information */
struct protoent ipx; /* IPX information */
struct protoent *pep;
struct protoent *pep;
struct protoent *pep;
struct protoent *pe;
struct protoent *protoent;
protoent = getprotobyname(string);
if (protoent == NULL)
*protop = protoent->p_proto;
struct protoent *protoent;
protoent = getprotobynumber(ai->ai_protocol);
if (protoent == NULL)
n = printf(" %s", protoent->p_name);
struct protoent *pe;
struct protoent *p;
struct protoent *p;
struct protoent *pe;
struct protoent *p;
struct protoent *p;
ParseUdpOrTcp(int argc, char const *const *argv, const struct protoent *pe,
struct protoent *pe;
struct protoent *pe;
struct protoent *pe;
struct protoent *pe;
struct protoent *pent;