Home
last modified time | relevance | path

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

1234

/titanic_44/usr/src/lib/libresolv/
H A Dnetdb.h76 struct servent { struct
96 struct servent *getservbyname_r argument
97 (const char *name, const char *, struct servent *, char *, int);
98 struct servent *getservbyport_r
99 (int port, const char *, struct servent *, char *, int);
100 struct servent *getservent_r(struct servent *, char *, int);
123 struct servent *getservbyname(const char *, const char *);
124 struct servent *getservbyport(int, const char *);
125 struct servent *getservent(void);
151 struct servent *getservbyname_r();
[all …]
/titanic_44/usr/src/lib/libsocket/inet/
H A Dgetservent.c45 NSS_XbyY_ALLOC(&buffer, (int)sizeof (struct servent), NSS_BUFLEN_SERVICES)
48 struct servent *
52 struct servent *res = 0; in getservbyname()
61 struct servent *
65 struct servent *res = 0; in getservbyport()
74 struct servent *
78 struct servent *res = 0; in getservent()
H A Dgetservbyname_r.c58 struct servent *
59 getservbyname_r(const char *name, const char *proto, struct servent *result, in getservbyname_r()
69 return ((struct servent *)NULL); in getservbyname_r()
87 return ((struct servent *)NULL); in getservbyname_r()
92 struct servent *
93 getservbyport_r(int port, const char *proto, struct servent *result, in getservbyport_r()
103 return ((struct servent *)NULL); in getservbyport_r()
121 return ((struct servent *)NULL); in getservbyport_r()
H A Dgetservent_r.c79 struct servent *
80 getservent_r(struct servent *result, char *buffer, int buflen) in getservent_r()
99 return (struct servent *)NSS_XbyY_FINI(&arg); in getservent_r()
/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dgetservent_r.c38 copy_servent(struct servent *, struct servent *, SERV_R_COPY_ARGS);
42 struct servent *sptr, SERV_R_ARGS) { in getservbyname_r()
43 struct servent *se = getservbyname(name, proto); in getservbyname_r()
63 struct servent *sptr, SERV_R_ARGS) { in getservbyport_r()
64 struct servent *se = getservbyport(port, proto); in getservbyport_r()
89 getservent_r(struct servent *sptr, SERV_R_ARGS) { in getservent_r()
90 struct servent *se = getservent(); in getservent_r()
142 copy_servent(struct servent *se, struct servent *sptr, SERV_R_COPY_ARGS) { in copy_servent()
193 copy_servent(struct servent *se, struct servent *sptr, SERV_R_COPY_ARGS) { in copy_servent()
H A Dirp_sv.c57 struct servent service;
63 static struct servent * sv_next(struct irs_sv *);
64 static struct servent * sv_byname(struct irs_sv *, const char *,
66 static struct servent * sv_byport(struct irs_sv *, int, const char *);
70 static void free_service(struct servent *sv);
135 static struct servent *
138 struct servent *sv = &pvt->service; in sv_next()
180 static struct servent *
183 struct servent *sv = &pvt->service; in sv_byname()
231 static struct servent *
[all …]
H A Ddns_sv.c54 struct servent serv;
63 static struct servent * sv_byname(struct irs_sv *,
65 static struct servent * sv_byport(struct irs_sv *, int, const char *);
66 static struct servent * sv_next(struct irs_sv *);
76 static struct servent * parse_hes_list(struct irs_sv *,
137 static struct servent *
141 struct servent *s; in sv_byname()
152 static struct servent *
156 struct servent *s; in sv_byport()
169 static struct servent *
[all …]
H A Dgen_sv.c55 static struct servent * sv_next(struct irs_sv *);
56 static struct servent * sv_byname(struct irs_sv *, const char *,
58 static struct servent * sv_byport(struct irs_sv *, int, const char *);
109 static struct servent *
112 struct servent *rval; in sv_next()
131 static struct servent *
135 struct servent *rval; in sv_byname()
148 static struct servent *
152 struct servent *rval; in sv_byport()
H A Dgetservent.c50 struct servent *
57 struct servent *
64 struct servent *
87 struct servent *
97 struct servent *
120 struct servent *
H A Dlcl_sv.c102 static struct servent * sv_next(struct irs_sv *);
103 static struct servent * sv_byname(struct irs_sv *, const char *,
105 static struct servent * sv_byport(struct irs_sv *, int, const char *);
108 /*global*/ struct servent * irs_lclsv_fnxt(struct lcl_sv *);
110 static struct servent * sv_db_rec(struct lcl_sv *, DBT *, DBT *);
170 static struct servent *
175 struct servent *p; in sv_byname()
215 static struct servent *
220 struct servent *p; in sv_byport()
287 static struct servent *
[all …]
H A Dirs_p.h34 struct servent serv;
47 extern struct servent * irs_lclsv_fnxt(struct lcl_sv *);
H A Dirs_data.h39 struct servent * sv_last;
/titanic_44/usr/src/head/
H A Dnetdb.h230 struct servent { struct
247 struct servent *getservbyname_r argument
248 (const char *name, const char *, struct servent *, char *, int);
249 struct servent *getservbyport_r
250 (int port, const char *, struct servent *, char *, int);
251 struct servent *getservent_r(struct servent *, char *, int);
277 struct servent *getservbyname(const char *, const char *);
278 struct servent *getservbyport(int, const char *);
279 struct servent *getservent(void);
H A Dnss_netdir.h89 struct servent *serv;
122 struct servent *serv;
/titanic_44/usr/src/lib/libresolv2/include/
H A Dport_netdb.h146 struct servent *getservbyname __P((const char *, const char *));
150 struct servent *getservbyname_r __P((const char *name, const char *,
151 struct servent *, char *, int));
155 struct servent *getservbyport __P((int, const char *));
159 struct servent *getservbyport_r __P((int port, const char *,
160 struct servent *, char *, int));
164 struct servent *getservent __P((void));
168 struct servent *getservent_r __P((struct servent *, char *, int));
H A Dirs.h76 struct servent *(*byname) __P((struct irs_sv *,
78 struct servent *(*byport) __P((struct irs_sv *, int, const char *));
79 struct servent *(*next) __P((struct irs_sv *));
338 extern struct servent *getservent_p __P((struct net_data *));
339 extern struct servent *getservbyname_p __P((const char *, const char *,
341 extern struct servent *getservbyport_p __P((int, const char *,
/titanic_44/usr/src/lib/libbc/inc/include/
H A Dnetdb.h52 struct servent { struct
73 struct servent *getservbyname(), *getservbyport(), *getservent(); argument
/titanic_44/usr/src/lib/libresolv2/include/isc/
H A Dirpmarshall.h52 int irp_marshall_sv(const struct servent *, char **, size_t *);
53 int irp_unmarshall_sv(struct servent *, char *);
/titanic_44/usr/src/cmd/getent/
H A Ddogetserv.c39 putservent(const struct servent *sp, FILE *fp) in putservent()
71 struct servent *sp; in dogetserv()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dget_addrs.c51 struct servent *getservbyname();
59 struct servent *sp;
/titanic_44/usr/src/lib/nsswitch/nis/common/
H A Dgetservent.c51 struct servent *serv = (struct servent *)args->returnval;
216 struct servent *serv = (struct servent *)args->returnval;
/titanic_44/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c132 struct servent *_switch_getservbyname_r(const char *, const char *,
133 struct servent *, char *, int);
134 struct servent *_switch_getservbyport_r(int, const char *, struct servent *,
143 static int hsents2ndhostservs(struct hostent *, struct servent *, ushort_t,
145 static int ndaddr2srent(const char *, const char *, ushort_t, struct servent *,
150 struct servent *, char *, int);
494 struct servent *se; in _get_hostserv_inetnetdir_byname()
548 sizeof (struct servent), NSS_BUFLEN_SERVICES); in _get_hostserv_inetnetdir_byname()
646 sizeof (struct servent), in _get_hostserv_inetnetdir_byname()
910 struct servent *se = NULL; in _get_hostserv_inetnetdir_byaddr()
[all …]
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c251 typedef struct servent *GET_SERV_TMP;
259 struct servent ent;
264 struct servent *my_sp; \
275 struct servent *my_sp; \
287 struct servent ent;
299 struct servent *my_sp; \
856 struct servent *sp; in fake_getaddrinfo()
931 struct servent *sp; in fake_getnameinfo()
/titanic_44/usr/src/cmd/ipf/lib/common/
H A Dgetportproto.c13 struct servent *s;
H A Dgetport.c14 struct servent *s;

1234