| /src/lib/libc/net/ | 
| protoent.h | 1 /*	$NetBSD: protoent.h,v 1.3 2024/01/20 14:52:48 christos Exp $	*/ 39 	struct protoent proto;
 53 struct protoent	*getprotoent_r(struct protoent *, struct protoent_data *);
 54 struct protoent	*getprotobyname_r(const char *,
 55     struct protoent *, struct protoent_data *);
 56 struct protoent	*getprotobynumber_r(int,
 57     struct protoent *, struct protoent_data *);
 
 | 
| getprotobyname.c | 41 #include "protoent.h" 47 struct protoent *
 50 	struct protoent *p;
 
 | 
| getprotobynumber.c | 42 #include "protoent.h" 48 struct protoent *
 51 	struct protoent *p;
 
 | 
| getprotobynumber_r.c | 45 #include "protoent.h" 51 struct protoent *
 52 getprotobynumber_r(int proto, struct protoent *pr, struct protoent_data *pd)
 54 	struct protoent *p;
 
 | 
| getprotobyname_r.c | 47 #include "protoent.h" 53 struct protoent *
 54 getprotobyname_r(const char *name, struct protoent *pr,
 57 	struct protoent *p;
 
 | 
| getprotoent.c | 42 #include "protoent.h" 71 struct protoent *
 74 	struct protoent *p;
 
 | 
| getprotoent_r.c | 48 #include "protoent.h" 85 struct protoent *
 86 getprotoent_r(struct protoent *pr, struct protoent_data *pd)
 
 | 
| /src/tests/lib/libc/net/ | 
| t_protoent.sh | 29 atf_test_case protoent 32 	atf_set "descr" "Checks {get,set,end}protoent(3)"
 91 	atf_add_test_case protoent
 
 | 
| h_protoent.c | 38 pserv(const struct protoent *prp) 62 	struct protoent *prp;
 
 | 
| t_getprotoent.c | 57 	struct protoent *p; 86 	struct protoent *p;
 129 	struct protoent *p;
 172 	struct protoent *p;
 194 	struct protoent *p;
 
 | 
| /src/usr.bin/getaddrinfo/ | 
| support.c | 77 	struct protoent *protoent;  local in function:parse_protocol 82 	protoent = getprotobyname(string);
 83 	if (protoent == NULL)
 86 	*protop = protoent->p_proto;
 
 | 
| getaddrinfo.c | 175 	struct protoent *protoent;  local in function:printaddrinfo 199 		protoent = getprotobynumber(ai->ai_protocol);
 200 		if (protoent == NULL)
 203 			n = printf(" %s", protoent->p_name);
 
 | 
| /src/include/ | 
| netdb.h | 181 struct	protoent {  struct 330 struct protoent	*getprotobyname(const char *);
 331 struct protoent	*getprotobynumber(int);
 332 struct protoent	*getprotoent(void);
 
 | 
| /src/lib/libbluetooth/ | 
| bluetooth.c | 55 static struct protoent	 proto; 176 struct protoent *
 179 	struct protoent	 *p;
 196 struct protoent *
 199 	struct protoent	*p;
 210 struct protoent *
 
 | 
| bluetooth.h | 58 struct protoent * bt_getprotobyname   (char const *); 59 struct protoent * bt_getprotobynumber (int);
 60 struct protoent * bt_getprotoent      (void);
 
 | 
| /src/lib/libwrap/ | 
| fix_options.c | 50     struct protoent *ip; 
 | 
| /src/lib/libresolv/ | 
| res_mkupdate.c | 1009 	struct protoent *pp; 1118 static struct protoent *
 1122 	static struct protoent prot;
 1144 	struct protoent *pp;
 
 | 
| /src/libexec/rshd/ | 
| rshd.c | 163 	struct protoent *proto; 316 	struct protoent *ip;
 
 | 
| /src/usr.bin/netstat/ | 
| main.c | 411 	struct protoent *p; 846 	struct protoent *p;
 
 | 
| /src/dist/pf/sbin/pfctl/ | 
| pf_print_state.c | 197 	struct protoent *p; 
 | 
| /src/usr.bin/rsh/ | 
| rsh.c | 97 	struct protoent *proto; 
 | 
| /src/usr.sbin/pf/pfs/ | 
| parse.y | 127 			struct protoent *p; 
 | 
| pfs.c | 292 	struct protoent *proto; 
 | 
| /src/libexec/rlogind/ | 
| rlogind.c | 355 		struct protoent *ip; 
 | 
| /src/usr.bin/getent/ | 
| getent.c | 695 	struct protoent	*pe; 
 |