/freebsd-13-stable/lib/libc/tests/nss/ |
H A D | getproto_test.c | 53 DECLARE_TEST_DATA(protoent) 54 DECLARE_TEST_FILE_SNAPSHOT(protoent) 55 DECLARE_1PASS_TEST(protoent) 56 DECLARE_2PASS_TEST(protoent) 58 static void clone_protoent(struct protoent *, struct protoent const *); 59 static int compare_protoent(struct protoent *, struct protoent *, void *); 60 static void dump_protoent(struct protoent *); 61 static void free_protoent(struct protoent *); [all...] |
/freebsd-13-stable/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-13-stable/lib/libc/net/ |
H A D | getproto.c | 55 struct protoent pe; 60 struct protoent *pptr; 66 pptr = va_arg(ap, struct protoent *); 91 *((struct protoent **)retval) = pptr; 96 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer, 97 size_t buflen, struct protoent **result) 127 struct protoent * 131 struct protoent *rval;
|
H A D | getprotoname.c | 62 struct protoent pe; 68 struct protoent *pptr; 74 pptr = va_arg(ap, struct protoent *); 105 *((struct protoent **)retval) = pptr; 111 getprotobyname_r(const char *name, struct protoent *pptr, char *buffer, 112 size_t buflen, struct protoent **result) 141 struct protoent * 145 struct protoent *rval;
|
H A D | getprotoent.c | 149 struct protoent *proto; 153 struct protoent new_proto; 172 proto = va_arg(ap, struct protoent *); 176 desired_size = _ALIGNBYTES + sizeof(struct protoent) + sizeof(char *); 197 memcpy(&new_proto, proto, sizeof(struct protoent)); 201 p = buffer + sizeof(struct protoent) + sizeof(char *); 202 memcpy(buffer + sizeof(struct protoent), &p, sizeof(char *)); 226 memcpy(buffer, &new_proto, sizeof(struct protoent)); 236 struct protoent *proto; 258 proto = va_arg(ap, struct protoent *); [all...] |
H A D | netdb_private.h | 116 struct protoent proto; 129 int __copy_protoent(struct protoent *, struct protoent *, char *, size_t); 132 int __getprotoent_p(struct protoent *, struct protoent_data *);
|
/freebsd-13-stable/contrib/ipfilter/lib/ |
H A D | getproto.c | 17 struct protoent *p;
|
H A D | getportproto.c | 19 struct protoent *p;
|
H A D | printproto.c | 17 struct protoent *pr;
|
H A D | portname.c | 17 struct protoent *p = NULL;
|
H A D | getport.c | 19 struct protoent *p;
|
/freebsd-13-stable/include/ |
H A D | netdb.h | 129 struct protoent { struct 239 struct protoent *getprotobyname(const char *); 240 struct protoent *getprotobynumber(int); 241 struct protoent *getprotoent(void); 279 int getprotobyname_r(const char *, struct protoent *, char *, 280 size_t, struct protoent **); 281 int getprotobynumber_r(int, struct protoent *, char *, size_t, 282 struct protoent **); 283 int getprotoent_r(struct protoent *, char *, size_t, 284 struct protoent **); [all...] |
/freebsd-13-stable/usr.bin/getaddrinfo/ |
H A D | getaddrinfo.c | 191 struct protoent *protoent; local 208 protoent = getprotobyname(string); 209 if (protoent == NULL) 212 *protop = protoent->p_proto; 268 struct protoent *protoent; local 292 protoent = getprotobynumber(ai->ai_protocol); 293 if (protoent == NULL) 296 n = printf(" %s", protoent [all...] |
/freebsd-13-stable/lib/libbluetooth/ |
H A D | bluetooth.c | 54 static struct protoent proto; 175 struct protoent * 178 struct protoent *p; 195 struct protoent * 198 struct protoent *p; 209 struct protoent *
|
H A D | bluetooth.h | 82 struct protoent * bt_getprotobyname (char const *name); 83 struct protoent * bt_getprotobynumber (int proto); 84 struct protoent * bt_getprotoent (void);
|
/freebsd-13-stable/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-13-stable/sys/netgraph/ |
H A D | ng_cisco.c | 91 struct protoent { struct 103 struct protoent downstream; 104 struct protoent inet; /* IP information */ 107 struct protoent inet6; /* IPv6 information */ 108 struct protoent atalk; /* AppleTalk information */ 109 struct protoent ipx; /* IPX information */ 343 struct protoent *pep; 418 struct protoent *pep; 443 struct protoent *pep;
|
/freebsd-13-stable/contrib/tcp_wrappers/ |
H A D | fix_options.c | 45 struct protoent *ip;
|
/freebsd-13-stable/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 113 struct protoent *pe = NULL;
|
/freebsd-13-stable/contrib/libpcap/ |
H A D | nametoaddr.c | 497 struct protoent *p; 502 struct protoent result_buf; 518 struct protoent result_buf; 526 struct protoent result_buf;
|
/freebsd-13-stable/sbin/ipfw/ |
H A D | nat.c | 573 struct protoent *protoent; local 585 protoent = getprotobyname(**av); 586 if (protoent == NULL) 589 r->proto = protoent->p_proto; 642 struct protoent *p;
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | filter.c | 136 ParseUdpOrTcp(int argc, char const *const *argv, const struct protoent *pe, 248 struct protoent *pe; 455 struct protoent *pe;
|
/freebsd-13-stable/lib/libc/resolv/ |
H A D | res_mkupdate.c | 1030 struct protoent *pp; 1148 static struct protoent * 1152 static struct protoent prot; 1174 struct protoent *pp;
|