/freebsd-10-stable/tools/regression/lib/libc/nss/ |
H A D | test-getproto.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-10-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-10-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-10-stable/lib/libc/net/ |
H A D | getproto.c | 59 struct protoent pe; 64 struct protoent *pptr; 70 pptr = va_arg(ap, struct protoent *); 95 *((struct protoent **)retval) = pptr; 100 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer, 101 size_t buflen, struct protoent **result) 131 struct protoent * 135 struct protoent *rval;
|
H A D | getprotoname.c | 60 struct protoent pe; 66 struct protoent *pptr; 72 pptr = va_arg(ap, struct protoent *); 103 *((struct protoent **)retval) = pptr; 109 getprotobyname_r(const char *name, struct protoent *pptr, char *buffer, 110 size_t buflen, struct protoent **result) 139 struct protoent * 143 struct protoent *rval;
|
H A D | getprotoent.c | 148 struct protoent *proto; 152 struct protoent new_proto; 171 proto = va_arg(ap, struct protoent *); 175 desired_size = _ALIGNBYTES + sizeof(struct protoent) + sizeof(char *); 196 memcpy(&new_proto, proto, sizeof(struct protoent)); 200 p = buffer + sizeof(struct protoent) + sizeof(char *); 201 memcpy(buffer + sizeof(struct protoent), &p, sizeof(char *)); 225 memcpy(buffer, &new_proto, sizeof(struct protoent)); 235 struct protoent *proto; 257 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-10-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-10-stable/include/ |
H A D | netdb.h | 117 struct protoent { struct 227 struct protoent *getprotobyname(const char *); 228 struct protoent *getprotobynumber(int); 229 struct protoent *getprotoent(void); 266 int getprotobyname_r(const char *, struct protoent *, char *, 267 size_t, struct protoent **); 268 int getprotobynumber_r(int, struct protoent *, char *, size_t, 269 struct protoent **); 270 int getprotoent_r(struct protoent *, char *, size_t, 271 struct protoent **); [all...] |
/freebsd-10-stable/lib/libbluetooth/ |
H A D | bluetooth.c | 52 static struct protoent proto; 173 struct protoent * 176 struct protoent *p; 193 struct protoent * 196 struct protoent *p; 207 struct protoent *
|
H A D | bluetooth.h | 77 struct protoent * bt_getprotobyname (char const *name); 78 struct protoent * bt_getprotobynumber (int proto); 79 struct protoent * bt_getprotoent (void);
|
/freebsd-10-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-10-stable/sys/netgraph/ |
H A D | ng_cisco.c | 96 struct protoent { struct 108 struct protoent downstream; 109 struct protoent inet; /* IP information */ 112 struct protoent inet6; /* IPv6 information */ 113 struct protoent atalk; /* AppleTalk information */ 114 struct protoent ipx; /* IPX information */ 348 struct protoent *pep; 423 struct protoent *pep; 448 struct protoent *pep;
|
/freebsd-10-stable/contrib/tcp_wrappers/ |
H A D | fix_options.c | 45 struct protoent *ip;
|
/freebsd-10-stable/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 110 struct protoent *pe = NULL;
|
/freebsd-10-stable/contrib/gcc/ |
H A D | sys-types.h | 76 struct protoent;
|
/freebsd-10-stable/contrib/tcpdump/ |
H A D | print-cnfp.c | 86 struct protoent *pent;
|
/freebsd-10-stable/sbin/ipfw/ |
H A D | nat.c | 565 struct protoent *protoent; local 577 protoent = getprotobyname(**av); 578 if (protoent == NULL) 581 r->proto = protoent->p_proto; 625 struct protoent *p;
|
/freebsd-10-stable/usr.sbin/ppp/ |
H A D | filter.c | 134 ParseUdpOrTcp(int argc, char const *const *argv, const struct protoent *pe, 246 struct protoent *pe; 453 struct protoent *pe;
|