Home
last modified time | relevance | path

Searched refs:servent (Results 1 – 25 of 122) sorted by relevance

12345

/netbsd-src/lib/libc/net/
H A Dservent.h40 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 *);
72 struct servent *_servent_parsedb(struct servent_data *, struct servent *,
H A Dgetservbyport_r.c53 static struct servent * in __weak_alias()
54 _servent_getbyport(struct servent_data *sd, struct servent *sp, int port, in __weak_alias()
114 struct servent *
115 getservbyport_r(int port, const char *proto, struct servent *sp, in getservbyport_r()
H A Dgetservbyname_r.c54 static struct servent * in __weak_alias()
55 _servent_getbyname(struct servent_data *sd, struct servent *sp, in __weak_alias()
137 struct servent *
138 getservbyname_r(const char *name, const char *proto, struct servent *sp, in getservbyname_r()
H A Dgetservent_r.c130 struct servent *
131 _servent_parseline(struct servent_data *sd, struct servent *sp) in _servent_parseline()
213 struct servent *
214 getservent_r(struct servent *sp, struct servent_data *sd) in getservent_r()
247 struct servent *
248 _servent_parsedb(struct servent_data *sd, struct servent *sp, in _servent_parsedb()
H A Dgetservbyport.c48 struct servent * in __weak_alias()
51 struct servent *s; in __weak_alias()
H A Dgetservbyname.c47 struct servent * in __weak_alias()
50 struct servent *s; in __weak_alias()
H A Dgetservent.c71 struct servent *
74 struct servent *s; in getservent()
/netbsd-src/external/bsd/libbind/dist/include/
H A Dnetdb.h161 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 **));
551 int getservent_r __P((struct servent *, char *, size_t, struct servent **));
[all …]
H A Dirs.h78 struct servent *(*byname) __P((struct irs_sv *,
80 struct servent *(*byport) __P((struct irs_sv *, int, const char *));
81 struct servent *(*next) __P((struct irs_sv *));
340 extern struct servent *getservent_p __P((struct net_data *));
341 extern struct servent *getservbyname_p __P((const char *, const char *,
343 extern struct servent *getservbyport_p __P((int, const char *,
/netbsd-src/external/bsd/libbind/dist/irs/
H A Dgetservent_r.c40 copy_servent(struct servent *, struct servent *, SERV_R_COPY_ARGS);
44 struct servent *sptr, SERV_R_ARGS) { in getservbyname_r()
45 struct servent *se = getservbyname(name, proto); in getservbyname_r()
65 struct servent *sptr, SERV_R_ARGS) { in getservbyport_r()
66 struct servent *se = getservbyport(port, proto); in getservbyport_r()
91 getservent_r(struct servent *sptr, SERV_R_ARGS) { in getservent_r()
92 struct servent *se = getservent(); in getservent_r()
144 copy_servent(struct servent *se, struct servent *sptr, SERV_R_COPY_ARGS) { in copy_servent()
195 copy_servent(struct servent *se, struct servent *sptr, SERV_R_COPY_ARGS) { in copy_servent()
H A Dirp_sv.c59 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; in sv_next()
182 static struct servent *
185 struct servent *sv = &pvt->service; in sv_byname()
233 static struct servent *
[all …]
H A Dnis_sv.c69 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; in sv_byname()
155 static struct servent *
157 struct servent *serv; in sv_byport()
176 static struct servent *
[all …]
H A Ddns_sv.c56 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; in sv_byname()
154 static struct servent *
158 struct servent *s; in sv_byport()
171 static struct servent *
[all …]
H A Dgen_sv.c57 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; in sv_next()
133 static struct servent *
137 struct servent *rval; in sv_byname()
150 static struct servent *
154 struct servent *rval; in sv_byport()
H A Dlcl_sv.c104 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; in sv_byname()
217 static struct servent *
222 struct servent *p; in sv_byport()
289 static struct servent *
[all …]
H A Dgetservent.c52 struct servent *
59 struct servent *
66 struct servent *
89 struct servent *
99 struct servent *
122 struct servent *
H A Dirs_p.h36 struct servent serv;
49 extern struct servent * irs_lclsv_fnxt(struct lcl_sv *);
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dnetdb.d175 struct servent in version()
259 struct servent in version()
343 struct servent in version()
439 struct servent in version()
534 struct servent in version()
630 struct servent in version()
728 struct servent in version()
815 struct servent in version()
896 struct servent in version()
974 struct servent in version()
[all …]
/netbsd-src/include/
H A Dnetdb.h174 struct servent { struct
333 struct servent *getservbyname(const char *, const char *);
334 struct servent *getservbyport(int, const char *);
335 struct servent *getservent(void);
/netbsd-src/tests/lib/libc/net/
H A Dt_servent.sh29 atf_test_case servent
95 atf_add_test_case servent
H A Dh_servent.c38 pserv(const struct servent *svp) in pserv()
62 struct servent *svp; in main()
/netbsd-src/usr.bin/rsh/
H A Dgetport.c44 struct servent *
49 struct servent *sp = getservbyname(service, protocol); in getport()
/netbsd-src/external/bsd/ipf/dist/lib/
H A Dportname.c18 struct servent *sv = NULL;
19 struct servent *sv1 = NULL;
/netbsd-src/external/bsd/libbind/dist/include/isc/
H A Dirpmarshall.h54 int irp_marshall_sv(const struct servent *, char **, size_t *);
55 int irp_unmarshall_sv(struct servent *, char *);
/netbsd-src/external/bsd/ntp/dist/include/
H A Dntp_machine.h148 struct servent { struct
161 struct servent *getservbyname (char *name, char *type); argument

12345