| /netbsd/src/external/bsd/libbind/dist/include/ |
| D | netdb.h | 168 struct protoent { struct 396 struct protoent *getprotobyname __P((const char *)); 397 struct protoent *getprotobynumber __P((int)); 398 struct protoent *getprotoent __P((void)); 463 struct protoent *, struct protoent_data *)); 465 struct protoent *, struct protoent_data *)); 466 int getprotoent_r __P((struct protoent *, struct protoent_data *)); 531 int getprotobyname_r __P((const char *, struct protoent *, char *, 532 size_t, struct protoent **)); 533 int getprotobynumber_r __P((int, struct protoent *, char *, size_t, [all …]
|
| D | irs.h | 95 struct protoent *(*byname) __P((struct irs_pr *, const char *)); 96 struct protoent *(*bynumber) __P((struct irs_pr *, int)); 97 struct protoent *(*next) __P((struct irs_pr *)); 320 extern struct protoent *getprotoent_p __P((struct net_data *)); 321 extern struct protoent *getprotobyname_p __P((const char *, 323 extern struct protoent *getprotobynumber_p __P((int, struct net_data *));
|
| /netbsd/src/external/bsd/libbind/dist/irs/ |
| D | getprotoent_r.c | 39 copy_protoent(struct protoent *, struct protoent *, PROTO_R_COPY_ARGS); 42 getprotobyname_r(const char *name, struct protoent *pptr, PROTO_R_ARGS) { in getprotobyname_r() 43 struct protoent *pe = getprotobyname(name); in getprotobyname_r() 62 getprotobynumber_r(int proto, struct protoent *pptr, PROTO_R_ARGS) { in getprotobynumber_r() 63 struct protoent *pe = getprotobynumber(proto); in getprotobynumber_r() 88 getprotoent_r(struct protoent *pptr, PROTO_R_ARGS) { in getprotoent_r() 89 struct protoent *pe = getprotoent(); in getprotoent_r() 141 copy_protoent(struct protoent *pe, struct protoent *pptr, PROTO_R_COPY_ARGS) { in copy_protoent() 185 copy_protoent(struct protoent *pe, struct protoent *pptr, PROTO_R_COPY_ARGS) { in copy_protoent()
|
| D | irp_pr.c | 58 struct protoent proto; 64 static struct protoent * pr_next(struct irs_pr *); 65 static struct protoent * pr_byname(struct irs_pr *, const char *); 66 static struct protoent * pr_bynumber(struct irs_pr *, int); 70 static void free_proto(struct protoent *pr); 132 static struct protoent * 135 struct protoent *pr = &pvt->proto; in pr_byname() 181 static struct protoent * 184 struct protoent *pr = &pvt->proto; in pr_bynumber() 259 static struct protoent * [all …]
|
| D | dns_pr.c | 53 struct protoent proto; 60 static struct protoent * pr_byname(struct irs_pr *, const char *); 61 static struct protoent * pr_bynumber(struct irs_pr *, int); 62 static struct protoent * pr_next(struct irs_pr *); 70 static struct protoent * parse_hes_list(struct irs_pr *, char **); 123 static struct protoent * 127 struct protoent *proto; in pr_byname() 138 static struct protoent * 142 struct protoent *proto; in pr_bynumber() 155 static struct protoent * [all …]
|
| D | lcl_pr.c | 91 struct protoent proto; 98 static struct protoent * pr_next(struct irs_pr *); 99 static struct protoent * pr_byname(struct irs_pr *, const char *); 100 static struct protoent * pr_bynumber(struct irs_pr *, int); 153 static struct protoent * 156 struct protoent *p; in pr_byname() 171 static struct protoent * 173 struct protoent *p; in pr_bynumber() 199 static struct protoent *
|
| D | gen_pr.c | 57 static struct protoent * pr_next(struct irs_pr *); 58 static struct protoent * pr_byname(struct irs_pr *, const char *); 59 static struct protoent * pr_bynumber(struct irs_pr *, int); 110 static struct protoent * 113 struct protoent *rval; in pr_next() 132 static struct protoent * 136 struct protoent *rval; in pr_byname() 149 static struct protoent * 153 struct protoent *rval; in pr_bynumber()
|
| D | nis_pr.c | 68 struct protoent proto; 80 static struct protoent * pr_byname(struct irs_pr *, const char *); 81 static struct protoent * pr_bynumber(struct irs_pr *, int); 82 static struct protoent * pr_next(struct irs_pr *); 86 static struct protoent * makeprotoent(struct irs_pr *this); 136 static struct protoent * 153 static struct protoent * 170 static struct protoent * 173 struct protoent *rval; in pr_next() 220 static struct protoent *
|
| D | getprotoent.c | 52 struct protoent * 59 struct protoent * 66 struct protoent * 89 struct protoent * 99 struct protoent * 119 struct protoent *
|
| /netbsd/src/lib/libc/net/ |
| D | protoent.h | 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 *);
|
| D | getprotobynumber_r.c | 51 struct protoent * in __weak_alias() 52 getprotobynumber_r(int proto, struct protoent *pr, struct protoent_data *pd) in __weak_alias() 54 struct protoent *p; in __weak_alias()
|
| D | getprotobyname_r.c | 53 struct protoent * in __weak_alias() 54 getprotobyname_r(const char *name, struct protoent *pr, in __weak_alias() 57 struct protoent *p; in __weak_alias()
|
| D | getprotobyname.c | 47 struct protoent * in __weak_alias() 50 struct protoent *p; in __weak_alias()
|
| D | getprotobynumber.c | 48 struct protoent * in __weak_alias() 51 struct protoent *p; in __weak_alias()
|
| D | getprotoent.c | 71 struct protoent * 74 struct protoent *p; in getprotoent()
|
| /netbsd/src/usr.bin/getaddrinfo/ |
| D | support.c | 77 struct protoent *protoent; in parse_protocol() local 82 protoent = getprotobyname(string); in parse_protocol() 83 if (protoent == NULL) in parse_protocol() 86 *protop = protoent->p_proto; in parse_protocol()
|
| D | getaddrinfo.c | 175 struct protoent *protoent; in printaddrinfo() local 199 protoent = getprotobynumber(ai->ai_protocol); in printaddrinfo() 200 if (protoent == NULL) in printaddrinfo() 203 n = printf(" %s", protoent->p_name); in printaddrinfo()
|
| /netbsd/src/tests/lib/libc/net/ |
| D | t_getprotoent.c | 57 struct protoent *p; in ATF_TC_BODY() 86 struct protoent *p; in ATF_TC_BODY() 129 struct protoent *p; in ATF_TC_BODY() 172 struct protoent *p; in ATF_TC_BODY() 194 struct protoent *p; in ATF_TC_BODY()
|
| D | t_protoent.sh | 29 atf_test_case protoent 91 atf_add_test_case protoent
|
| D | h_protoent.c | 38 pserv(const struct protoent *prp) in pserv() 62 struct protoent *prp; in main()
|
| /netbsd/src/lib/libbluetooth/ |
| D | bluetooth.c | 55 static struct protoent proto; 176 struct protoent * 179 struct protoent *p; in bt_getprotobyname() 196 struct protoent * 199 struct protoent *p; in bt_getprotobynumber() 210 struct protoent *
|
| D | bluetooth.h | 58 struct protoent * bt_getprotobyname (char const *); 59 struct protoent * bt_getprotobynumber (int); 60 struct protoent * bt_getprotoent (void);
|
| /netbsd/src/include/ |
| D | netdb.h | 181 struct protoent { struct 330 struct protoent *getprotobyname(const char *); 331 struct protoent *getprotobynumber(int); 332 struct protoent *getprotoent(void);
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| D | getaddrinfo.c | 57 struct protoent *protoent = getprotobynumber (hints->ai_protocol); in get_port_protocol_socktype() local 59 if (protoent == NULL) in get_port_protocol_socktype() 62 proto_str = protoent->p_name; in get_port_protocol_socktype() 63 *protocol = protoent->p_proto; in get_port_protocol_socktype()
|
| /netbsd/src/external/bsd/libbind/dist/include/isc/ |
| D | irpmarshall.h | 56 int irp_marshall_pr(struct protoent *, char **, size_t *); 57 int irp_unmarshall_pr(struct protoent *, char *);
|