Home
last modified time | relevance | path

Searched refs:protoent (Results 1 – 25 of 70) sorted by relevance

123

/netbsd/src/external/bsd/libbind/dist/include/
Dnetdb.h168 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 …]
Dirs.h95 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/
Dgetprotoent_r.c39 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()
Dirp_pr.c58 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 …]
Ddns_pr.c53 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 …]
Dlcl_pr.c91 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 *
Dgen_pr.c57 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()
Dnis_pr.c68 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 *
Dgetprotoent.c52 struct protoent *
59 struct protoent *
66 struct protoent *
89 struct protoent *
99 struct protoent *
119 struct protoent *
/netbsd/src/lib/libc/net/
Dprotoent.h39 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 *);
Dgetprotobynumber_r.c51 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()
Dgetprotobyname_r.c53 struct protoent * in __weak_alias()
54 getprotobyname_r(const char *name, struct protoent *pr, in __weak_alias()
57 struct protoent *p; in __weak_alias()
Dgetprotobyname.c47 struct protoent * in __weak_alias()
50 struct protoent *p; in __weak_alias()
Dgetprotobynumber.c48 struct protoent * in __weak_alias()
51 struct protoent *p; in __weak_alias()
Dgetprotoent.c71 struct protoent *
74 struct protoent *p; in getprotoent()
/netbsd/src/usr.bin/getaddrinfo/
Dsupport.c77 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()
Dgetaddrinfo.c175 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/
Dt_getprotoent.c57 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()
Dt_protoent.sh29 atf_test_case protoent
91 atf_add_test_case protoent
Dh_protoent.c38 pserv(const struct protoent *prp) in pserv()
62 struct protoent *prp; in main()
/netbsd/src/lib/libbluetooth/
Dbluetooth.c55 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 *
Dbluetooth.h58 struct protoent * bt_getprotobyname (char const *);
59 struct protoent * bt_getprotobynumber (int);
60 struct protoent * bt_getprotoent (void);
/netbsd/src/include/
Dnetdb.h181 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/
Dgetaddrinfo.c57 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/
Dirpmarshall.h56 int irp_marshall_pr(struct protoent *, char **, size_t *);
57 int irp_unmarshall_pr(struct protoent *, char *);

123