/freebsd/lib/libc/tests/nss/ |
H A D | getserv_test.c | 49 DECLARE_TEST_DATA(servent) 50 DECLARE_TEST_FILE_SNAPSHOT(servent) 51 DECLARE_1PASS_TEST(servent) 52 DECLARE_2PASS_TEST(servent) 54 static void clone_servent(struct servent *, struct servent const *); 55 static int compare_servent(struct servent *, struct servent *, void *); 56 static void dump_servent(struct servent *); 57 static void free_servent(struct servent *); 59 static void sdump_servent(struct servent *, char *, size_t); 60 static int servent_read_snapshot_func(struct servent *, char *); [all …]
|
/freebsd/lib/libc/net/ |
H A D | getservent.c | 78 static int servent_unpack(char *, struct servent *, char **, size_t, int *); 131 struct servent serv; 136 NSS_TLS_HANDLING(servent); 146 static int wrap_getservbyname_r(struct key, struct servent *, char *, size_t, 147 struct servent **); 148 static int wrap_getservbyport_r(struct key, struct servent *, char *, size_t, 149 struct servent **); 150 static int wrap_getservent_r(struct key, struct servent *, char *, size_t, 151 struct servent **); 152 static struct servent *getserv(int (*fn)(struct key, struct servent *, char *, [all …]
|
/freebsd/include/ |
H A D | netdb.h | 120 struct servent { struct 243 struct servent *getservbyname(const char *, const char *); 244 struct servent *getservbyport(int, const char *); 245 struct servent *getservent(void); 286 int getservbyname_r(const char *, const char *, struct servent *, 287 char *, size_t, struct servent **); 288 int getservbyport_r(int, const char *, struct servent *, char *, 289 size_t, struct servent **); 290 int getservent_r(struct servent *, char *, size_t, 291 struct servent **);
|
/freebsd/usr.sbin/nscd/agents/ |
H A D | services.c | 39 static int services_marshal_func(struct servent *, char *, size_t *); 46 services_marshal_func(struct servent *serv, char *buffer, size_t *buffer_size) in services_marshal_func() 48 struct servent new_serv; in services_marshal_func() 56 desired_size = ALIGNBYTES + sizeof(struct servent) + sizeof(char *); in services_marshal_func() 79 memcpy(&new_serv, serv, sizeof(struct servent)); in services_marshal_func() 83 p = buffer + sizeof(struct servent) + sizeof(char *); in services_marshal_func() 84 memcpy(buffer + sizeof(struct servent), &p, sizeof(char *)); in services_marshal_func() 115 memcpy(buffer, &new_serv, sizeof(struct servent)); in services_marshal_func() 130 struct servent *result; in services_lookup_func() 218 struct servent *result; in services_mp_lookup_func()
|
/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | t_servent.sh | 28 atf_test_case servent 112 atf_add_test_case servent
|
H A D | h_servent.c | 38 pserv(const struct servent *svp) in pserv() 62 struct servent *svp; in main()
|
/freebsd/sbin/ipf/libipf/ |
H A D | portname.c | 17 struct servent *sv = NULL; in portname() 18 struct servent *sv1 = NULL; in portname()
|
H A D | getportproto.c | 16 struct servent *s; in getportproto()
|
H A D | getport.c | 17 struct servent *s; in getport()
|
/freebsd/contrib/tcpdump/missing/ |
H A D | getservent.c | 44 static struct servent serv; 93 struct servent *
|
/freebsd/contrib/ntp/libntp/ |
H A D | machines.c | 65 struct servent *getservbyname (char *name, char *type) 67 struct servent *serv1; in getservbyname() 68 serv1 = (struct servent *) emalloc (sizeof(struct servent)); in getservbyname()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_machine.h | 146 struct servent { struct 159 struct servent *getservbyname (char *name, char *type); argument
|
/freebsd/usr.sbin/ppp/ |
H A D | filter.c | 78 struct servent *servent; in ParsePort() local 82 servent = getservbyname(service, proto); in ParsePort() 83 if (servent != NULL) in ParsePort() 84 return ntohs(servent->s_port); in ParsePort()
|
/freebsd/usr.bin/tftp/ |
H A D | tftp.c | 79 struct servent *se; in xmitfile() 179 struct servent *se; in recvfile()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | get_port.c | 42 struct servent *sp; in krb5_getportbyname()
|
/freebsd/contrib/tcpdump/ |
H A D | getservent.h | 64 struct servent *getservent(void);
|
/freebsd/usr.bin/talk/ |
H A D | get_addrs.c | 46 struct servent *sp; in get_addrs()
|
/freebsd/usr.bin/systat/ |
H A D | netcmds.c | 124 struct servent *sp; in changeitems() 238 struct servent *sp; in showports()
|
/freebsd/lib/libc/rpc/ |
H A D | rtime.c | 76 struct servent *serv; in rtime()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getnameinfo.c | 74 struct servent *se; in doit()
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bio_addr.c | 771 struct servent *se; in BIO_lookup_ex() 774 struct servent se_fallback = { NULL, NULL, NULL, 0 }; in BIO_lookup_ex() 776 struct servent se_fallback = { NULL, NULL, 0, NULL }; in BIO_lookup_ex()
|
/freebsd/contrib/bsnmp/lib/ |
H A D | support.c | 134 struct servent *sent; in getaddrinfo()
|
/freebsd/lib/libc/resolv/ |
H A D | res_mkupdate.c | 974 struct servent *sp; in res_buildservicelist() 1114 static struct servent * 1118 static struct servent serv; in cgetservbyport() 1183 struct servent *ss; in res_servicename()
|
/freebsd/crypto/heimdal/appl/test/ |
H A D | common.c | 91 struct servent *s = roken_getservbyname(port_str, "tcp"); in common_setup()
|
/freebsd/crypto/openssl/include/internal/ |
H A D | sockets.h | 49 struct servent *PASCAL getservbyname(const char *, const char *);
|