Home
last modified time | relevance | path

Searched refs:nwent (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Ddns_nw.c62 struct nwent net;
79 static struct nwent * nw_byname(struct irs_nw *, const char *, int);
80 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int);
81 static struct nwent * nw_next(struct irs_nw *);
89 static struct nwent * get1101byaddr(struct irs_nw *, u_char *, int);
90 static struct nwent * get1101byname(struct irs_nw *, const char *);
91 static struct nwent * get1101answer(struct irs_nw *,
96 static struct nwent * get1101mask(struct irs_nw *this, struct nwent *);
148 static struct nwent *
166 static struct nwent *
[all …]
H A Dirp_nw.c65 struct nwent net;
71 static struct nwent * nw_byname(struct irs_nw *, const char *, int);
72 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int);
73 static struct nwent * nw_next(struct irs_nw *);
77 static void free_nw(struct nwent *nw);
141 static struct nwent *
144 struct nwent *nw = &pvt->net; in nw_byaddr()
190 static struct nwent *
193 struct nwent *nw = &pvt->net; in nw_byname()
268 static struct nwent *
[all …]
H A Dgetnetent.c60 static struct netent *nw_to_net(struct nwent *, struct net_data *);
304 nw_to_net(struct nwent *nwent, struct net_data *net_data) { in nw_to_net() argument
310 if (!nwent || nwent->n_addrtype != AF_INET) in nw_to_net()
320 pvt->netent.n_name = nwent->n_name; in nw_to_net()
321 pvt->netent.n_aliases = nwent->n_aliases; in nw_to_net()
322 pvt->netent.n_addrtype = nwent->n_addrtype; in nw_to_net()
332 msbyte = nwent->n_length / 8 + in nw_to_net()
333 ((nwent->n_length % 8) != 0 ? 1 : 0) - 1; in nw_to_net()
335 addr = (addr << 8) | ((unsigned char *)nwent->n_addr)[i]; in nw_to_net()
336 i = (32 - nwent->n_length) % 8; in nw_to_net()
H A Dlcl_nw.c90 struct nwent net;
100 static struct nwent * nw_byname(struct irs_nw *, const char *, int);
101 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int);
102 static struct nwent * nw_next(struct irs_nw *);
165 static struct nwent *
167 struct nwent *p; in nw_byaddr()
180 static struct nwent *
182 struct nwent *p; in nw_byname()
219 static struct nwent *
222 struct nwent *ret = NULL; in nw_next()
H A Dgen_nw.c56 static struct nwent * nw_next(struct irs_nw *);
57 static struct nwent * nw_byname(struct irs_nw *, const char *, int);
58 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int);
116 static struct nwent *
119 struct nwent *rval; in nw_next()
141 static struct nwent *
145 struct nwent *rval; in nw_byname()
164 static struct nwent *
168 struct nwent *rval; in nw_byaddr()
H A Dirs_data.h42 struct nwent * nww_last;
H A Dirpmarshall.c1314 irp_marshall_nw(struct nwent *ne, char **buffer, size_t *len) { in irp_marshall_nw()
1380 irp_unmarshall_nw(struct nwent *ne, char *buffer) { in irp_unmarshall_nw()
1994 struct nwent ne; in main()
/titanic_44/usr/src/lib/libresolv2/include/isc/
H A Dirpmarshall.h61 int irp_marshall_nw(struct nwent *, char **, size_t *);
62 int irp_unmarshall_nw(struct nwent *, char *);
/titanic_44/usr/src/lib/libresolv2/include/
H A Dirs.h129 struct nwent * (*byname) __P((struct irs_nw *, const char *, int));
130 struct nwent * (*byaddr) __P((struct irs_nw *, void *, int, int));
131 struct nwent * (*next) __P((struct irs_nw *));
187 struct nwent { struct