/freebsd-current/lib/libc/tests/nss/ |
H A D | getproto_test.c | 50 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 D | t_protoent.sh | 28 atf_test_case protoent 31 atf_set "descr" "Checks {get,set,end}protoent(3)" 90 atf_add_test_case protoent
|
H A D | h_protoent.c | 38 pserv(const struct protoent *prp) 62 struct protoent *prp;
|
H A D | t_getprotoent.c | 57 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 D | getproto.c | 49 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 D | getprotoname.c | 56 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 D | getprotoent.c | 143 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 D | netdb_private.h | 114 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 D | getproto.c | 18 struct protoent *p;
|
H A D | getportproto.c | 17 struct protoent *p;
|
H A D | printproto.c | 13 printproto(struct protoent *pr, int p, ipnat_t *np)
|
H A D | portname.c | 16 struct protoent *p = NULL;
|
H A D | getport.c | 16 struct protoent *p;
|
/freebsd-current/lib/libcasper/services/cap_netdb/ |
H A D | cap_netdb.h | 40 struct protoent *cap_getprotobyname(cap_channel_t *chan, const char *name);
|
H A D | cap_netdb.c | 45 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 D | netdb.h | 127 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 D | getaddrinfo.c | 188 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 D | bluetooth.c | 53 static struct protoent proto; 174 struct protoent * 177 struct protoent *p; 194 struct protoent * 197 struct protoent *p; 208 struct protoent *
|
H A D | bluetooth.h | 81 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 D | netdb_test.c | 68 struct protoent *pp;
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 55 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 D | ng_cisco.c | 89 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 D | fix_options.c | 44 struct protoent *ip;
|
/freebsd-current/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 112 struct protoent *pe = NULL;
|
/freebsd-current/contrib/libpcap/ |
H A D | nametoaddr.c | 518 struct protoent *p; 523 struct protoent result_buf; 539 struct protoent result_buf; 547 struct protoent result_buf;
|