| /src/usr.bin/rsh/ |
| getport.h | 29 extern struct servent *getport(const char *, const char *);
|
| getport.c | 44 struct servent * 49 struct servent *sp = getservbyname(service, protocol);
|
| /src/lib/libc/net/ |
| servent.h | 1 /* $NetBSD: servent.h,v 1.5 2024/01/20 14:52:48 christos Exp $ */ 40 struct servent serv; 60 struct servent *getservent_r(struct servent *, struct servent_data *); 61 struct servent *getservbyname_r(const char *, const char *, 62 struct servent *, struct servent_data *); 63 struct servent *getservbyport_r(int, const char *, 64 struct servent *, struct servent_data *); 71 struct servent *_servent_parseline(struct servent_data *, struct servent *); [all...] |
| getservbyname.c | 41 #include "servent.h" 47 struct servent * 50 struct servent *s;
|
| getservbyport.c | 42 #include "servent.h" 48 struct servent * 51 struct servent *s;
|
| getservent.c | 42 #include "servent.h" 71 struct servent * 74 struct servent *s;
|
| getservbyport_r.c | 48 #include "servent.h" 54 static struct servent * 55 _servent_getbyport(struct servent_data *sd, struct servent *sp, int port, 115 struct servent * 116 getservbyport_r(int port, const char *proto, struct servent *sp,
|
| getservbyname_r.c | 48 #include "servent.h" 54 static struct servent * 55 _servent_getbyname(struct servent_data *sd, struct servent *sp, 137 struct servent * 138 getservbyname_r(const char *name, const char *proto, struct servent *sp,
|
| /src/tests/lib/libc/net/ |
| t_servent.sh | 29 atf_test_case servent 32 atf_set "descr" "Checks {get,set,end}servent(3)" 95 atf_add_test_case servent
|
| h_servent.c | 38 pserv(const struct servent *svp) 62 struct servent *svp;
|
| /src/external/bsd/libbind/dist/irs/ |
| irs_p.h | 36 struct servent serv; 49 extern struct servent * irs_lclsv_fnxt(struct lcl_sv *);
|
| getservent_r.c | 40 copy_servent(struct servent *, struct servent *, SERV_R_COPY_ARGS); 44 struct servent *sptr, SERV_R_ARGS) { 45 struct servent *se = getservbyname(name, proto); 65 struct servent *sptr, SERV_R_ARGS) { 66 struct servent *se = getservbyport(port, proto); 91 getservent_r(struct servent *sptr, SERV_R_ARGS) { 92 struct servent *se = getservent(); 144 copy_servent(struct servent *se, struct servent *sptr, SERV_R_COPY_ARGS) [all...] |
| irp_sv.c | 59 struct servent service; 65 static struct servent * sv_next(struct irs_sv *); 66 static struct servent * sv_byname(struct irs_sv *, const char *, 68 static struct servent * sv_byport(struct irs_sv *, int, const char *); 72 static void free_service(struct servent *sv); 137 static struct servent * 140 struct servent *sv = &pvt->service; 177 * struct servent * sv_byname(struct irs_sv *this, const char *name, 182 static struct servent * 185 struct servent *sv = &pvt->service [all...] |
| dns_sv.c | 56 struct servent serv; 65 static struct servent * sv_byname(struct irs_sv *, 67 static struct servent * sv_byport(struct irs_sv *, int, const char *); 68 static struct servent * sv_next(struct irs_sv *); 78 static struct servent * parse_hes_list(struct irs_sv *, 139 static struct servent * 143 struct servent *s; 154 static struct servent * 158 struct servent *s; 171 static struct servent * [all...] |
| getservent.c | 52 struct servent * 59 struct servent * 66 struct servent * 89 struct servent * 99 struct servent * 122 struct servent *
|
| nis_sv.c | 69 struct servent serv; 80 static struct servent * sv_next(struct irs_sv *); 81 static struct servent * sv_byname(struct irs_sv *, const char *, 83 static struct servent * sv_byport(struct irs_sv *, int, const char *); 87 static struct servent * makeservent(struct irs_sv *this); 137 static struct servent * 139 struct servent *serv; 155 static struct servent * 157 struct servent *serv; 176 static struct servent * [all...] |
| irs_data.h | 41 struct servent * sv_last;
|
| gen_sv.c | 57 static struct servent * sv_next(struct irs_sv *); 58 static struct servent * sv_byname(struct irs_sv *, const char *, 60 static struct servent * sv_byport(struct irs_sv *, int, const char *); 111 static struct servent * 114 struct servent *rval; 133 static struct servent * 137 struct servent *rval; 150 static struct servent * 154 struct servent *rval;
|
| lcl_sv.c | 104 static struct servent * sv_next(struct irs_sv *); 105 static struct servent * sv_byname(struct irs_sv *, const char *, 107 static struct servent * sv_byport(struct irs_sv *, int, const char *); 110 /*global*/ struct servent * irs_lclsv_fnxt(struct lcl_sv *); 112 static struct servent * sv_db_rec(struct lcl_sv *, DBT *, DBT *); 172 static struct servent * 177 struct servent *p; 217 static struct servent * 222 struct servent *p; 289 static struct servent * [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| get_port.c | 44 struct servent *sp;
|
| /src/external/bsd/tcpdump/dist/ |
| getservent.h | 64 struct servent *getservent(void);
|
| /src/external/bsd/libbind/dist/include/ |
| netdb.h | 161 struct servent { struct 399 struct servent *getservbyname __P((const char *, const char *)); 400 struct servent *getservbyport __P((int, const char *)); 401 struct servent *getservent __P((void)); 475 struct servent *, struct servent_data *)); 477 struct servent *, struct servent_data *)); 478 int getservent_r __P((struct servent *, struct servent_data *)); 548 struct servent *, char *, size_t, struct servent **)); 550 struct servent *, char *, size_t, struct servent **)) [all...] |
| /src/external/bsd/ipf/dist/lib/ |
| portname.c | 18 struct servent *sv = NULL; 19 struct servent *sv1 = NULL;
|
| getportproto.c | 18 struct servent *s;
|
| /src/external/bsd/libbind/dist/include/isc/ |
| irpmarshall.h | 54 int irp_marshall_sv(const struct servent *, char **, size_t *); 55 int irp_unmarshall_sv(struct servent *, char *);
|