Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns_nw.c58 struct nwent net;
92 static struct nwent * get1101mask(struct irs_nw *this, struct nwent *);
144 static struct nwent *
162 static struct nwent *
180 static struct nwent *
441 get1101mask(struct irs_nw *this, struct nwent *nwent) { in get1101mask() argument
448 if (!nwent) in get1101mask()
453 return (nwent); in get1101mask()
466 return (nwent); in get1101mask()
479 return (nwent); in get1101mask()
[all …]
H A Dirp_nw.c57 struct nwent net;
64 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int);
65 static struct nwent * nw_next(struct irs_nw *);
69 static void free_nw(struct nwent *nw);
133 static struct nwent *
136 struct nwent *nw = &pvt->net; in nw_byaddr()
182 static struct nwent *
185 struct nwent *nw = &pvt->net; in nw_byname()
260 static struct nwent *
263 struct nwent *nw = &pvt->net; in nw_next()
[all …]
H A Dgetnetent.c56 static struct netent *nw_to_net(struct nwent *, struct net_data *);
300 nw_to_net(struct nwent *nwent, struct net_data *net_data) { in nw_to_net() argument
306 if (!nwent || nwent->n_addrtype != AF_INET) in nw_to_net()
316 pvt->netent.n_name = nwent->n_name; in nw_to_net()
317 pvt->netent.n_aliases = nwent->n_aliases; in nw_to_net()
318 pvt->netent.n_addrtype = nwent->n_addrtype; in nw_to_net()
328 msbyte = nwent->n_length / 8 + in nw_to_net()
329 ((nwent->n_length % 8) != 0 ? 1 : 0) - 1; in nw_to_net()
331 addr = (addr << 8) | ((unsigned char *)nwent->n_addr)[i]; in nw_to_net()
332 i = (32 - nwent->n_length) % 8; in nw_to_net()
H A Dlcl_nw.c87 struct nwent net;
97 static struct nwent * nw_byname(struct irs_nw *, const char *, int);
98 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int);
99 static struct nwent * nw_next(struct irs_nw *);
162 static struct nwent *
164 struct nwent *p; in nw_byaddr()
177 static struct nwent *
179 struct nwent *p; in nw_byname()
216 static struct nwent *
219 struct nwent *ret = NULL; in nw_next()
H A Dgen_nw.c52 static struct nwent * nw_next(struct irs_nw *);
53 static struct nwent * nw_byname(struct irs_nw *, const char *, int);
54 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int);
112 static struct nwent *
115 struct nwent *rval; in nw_next()
137 static struct nwent *
141 struct nwent *rval; in nw_byname()
160 static struct nwent *
164 struct nwent *rval; in nw_byaddr()
H A Dirs_data.h42 struct nwent * nww_last;
H A Dirpmarshall.c1310 irp_marshall_nw(struct nwent *ne, char **buffer, size_t *len) { in irp_marshall_nw()
1376 irp_unmarshall_nw(struct nwent *ne, char *buffer) { in irp_unmarshall_nw()
1990 struct nwent ne; in main()
/illumos-gate/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 *);
/illumos-gate/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