Searched refs:protoent (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-current/lib/libc/tests/nss/
H A Dgetproto_test.c50 DECLARE_TEST_DATA(protoent)
51 DECLARE_TEST_FILE_SNAPSHOT(protoent)
52 DECLARE_1PASS_TEST(protoent)
53 DECLARE_2PASS_TEST(protoent)
55 static void clone_protoent(struct protoent *, struct protoent const *);
56 static int compare_protoent(struct protoent *, struct protoent *, void *);
57 static void dump_protoent(struct protoent *);
58 static void free_protoent(struct protoent *);
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/net/
H A Dt_protoent.sh28 atf_test_case protoent
31 atf_set "descr" "Checks {get,set,end}protoent(3)"
90 atf_add_test_case protoent
H A Dh_protoent.c38 pserv(const struct protoent *prp)
62 struct protoent *prp;
H A Dt_getprotoent.c57 struct protoent *p;
86 struct protoent *p;
129 struct protoent *p;
172 struct protoent *p;
194 struct protoent *p;
/freebsd-current/lib/libc/net/
H A Dgetproto.c49 struct protoent pe;
54 struct protoent *pptr;
60 pptr = va_arg(ap, struct protoent *);
85 *((struct protoent **)retval) = pptr;
90 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer,
91 size_t buflen, struct protoent **result)
121 struct protoent *
125 struct protoent *rval;
H A Dgetprotoname.c56 struct protoent pe;
62 struct protoent *pptr;
68 pptr = va_arg(ap, struct protoent *);
99 *((struct protoent **)retval) = pptr;
105 getprotobyname_r(const char *name, struct protoent *pptr, char *buffer,
106 size_t buflen, struct protoent **result)
135 struct protoent *
139 struct protoent *rval;
H A Dgetprotoent.c143 struct protoent *proto;
147 struct protoent new_proto;
166 proto = va_arg(ap, struct protoent *);
170 desired_size = _ALIGNBYTES + sizeof(struct protoent) + sizeof(char *);
191 memcpy(&new_proto, proto, sizeof(struct protoent));
195 p = buffer + sizeof(struct protoent) + sizeof(char *);
196 memcpy(buffer + sizeof(struct protoent), &p, sizeof(char *));
220 memcpy(buffer, &new_proto, sizeof(struct protoent));
230 struct protoent *proto;
252 proto = va_arg(ap, struct protoent *);
[all...]
H A Dnetdb_private.h114 struct protoent proto;
127 int __copy_protoent(struct protoent *, struct protoent *, char *, size_t);
130 int __getprotoent_p(struct protoent *, struct protoent_data *);
/freebsd-current/sbin/ipf/libipf/
H A Dgetproto.c18 struct protoent *p;
H A Dgetportproto.c17 struct protoent *p;
H A Dprintproto.c13 printproto(struct protoent *pr, int p, ipnat_t *np)
H A Dportname.c16 struct protoent *p = NULL;
H A Dgetport.c16 struct protoent *p;
/freebsd-current/lib/libcasper/services/cap_netdb/
H A Dcap_netdb.h40 struct protoent *cap_getprotobyname(cap_channel_t *chan, const char *name);
H A Dcap_netdb.c45 static struct protoent *
48 struct protoent *pp;
79 struct protoent *
98 protoent_pack(const struct protoent *pp, nvlist_t *nvl)
117 struct protoent *pp;
/freebsd-current/include/
H A Dnetdb.h127 struct protoent { struct
240 struct protoent *getprotobyname(const char *);
241 struct protoent *getprotobynumber(int);
242 struct protoent *getprotoent(void);
280 int getprotobyname_r(const char *, struct protoent *, char *,
281 size_t, struct protoent **);
282 int getprotobynumber_r(int, struct protoent *, char *, size_t,
283 struct protoent **);
284 int getprotoent_r(struct protoent *, char *, size_t,
285 struct protoent **);
[all...]
/freebsd-current/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c188 struct protoent *protoent; local
205 protoent = getprotobyname(string);
206 if (protoent == NULL)
209 *protop = protoent->p_proto;
265 struct protoent *protoent; local
289 protoent = getprotobynumber(ai->ai_protocol);
290 if (protoent == NULL)
293 n = printf(" %s", protoent
[all...]
/freebsd-current/lib/libbluetooth/
H A Dbluetooth.c53 static struct protoent proto;
174 struct protoent *
177 struct protoent *p;
194 struct protoent *
197 struct protoent *p;
208 struct protoent *
H A Dbluetooth.h81 struct protoent * bt_getprotobyname (char const *name);
82 struct protoent * bt_getprotobynumber (int proto);
83 struct protoent * bt_getprotoent (void);
/freebsd-current/lib/libcasper/services/cap_netdb/tests/
H A Dnetdb_test.c68 struct protoent *pp;
/freebsd-current/crypto/heimdal/lib/roken/
H A Dgetaddrinfo.c55 struct protoent *protoent = getprotobynumber (hints->ai_protocol); local
57 if (protoent == NULL)
60 proto_str = protoent->p_name;
61 *protocol = protoent->p_proto;
/freebsd-current/sys/netgraph/
H A Dng_cisco.c89 struct protoent { struct
101 struct protoent downstream;
102 struct protoent inet; /* IP information */
105 struct protoent inet6; /* IPv6 information */
106 struct protoent atalk; /* AppleTalk information */
107 struct protoent ipx; /* IPX information */
341 struct protoent *pep;
416 struct protoent *pep;
441 struct protoent *pep;
/freebsd-current/contrib/tcp_wrappers/
H A Dfix_options.c44 struct protoent *ip;
/freebsd-current/usr.bin/bluetooth/bthost/
H A Dbthost.c112 struct protoent *pe = NULL;
/freebsd-current/contrib/libpcap/
H A Dnametoaddr.c518 struct protoent *p;
523 struct protoent result_buf;
539 struct protoent result_buf;
547 struct protoent result_buf;

Completed in 160 milliseconds

123