Searched refs:nwent (Results 1 – 11 of 11) sorted by relevance
| /netbsd-src/external/bsd/libbind/dist/irs/ |
| H A D | dns_nw.c | 64 struct nwent net; 81 static struct nwent * nw_byname(struct irs_nw *, const char *, int); 82 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int); 83 static struct nwent * nw_next(struct irs_nw *); 91 static struct nwent * get1101byaddr(struct irs_nw *, u_char *, int); 92 static struct nwent * get1101byname(struct irs_nw *, const char *); 93 static struct nwent * get1101answer(struct irs_nw *, 98 static struct nwent * get1101mask(struct irs_nw *this, struct nwent *); 150 static struct nwent * 168 static struct nwent * [all …]
|
| H A D | nis_nw.c | 73 struct nwent nwent; member 91 static struct nwent * nw_byname(struct irs_nw *, const char *, int); 92 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int); 93 static struct nwent * nw_next(struct irs_nw *); 101 static struct nwent * makenwent(struct irs_nw *this); 152 static struct nwent * 190 static struct nwent * 222 static struct nwent * 225 struct nwent *rval; in nw_next() 302 static struct nwent * [all …]
|
| H A D | irp_nw.c | 67 struct nwent net; 73 static struct nwent * nw_byname(struct irs_nw *, const char *, int); 74 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int); 75 static struct nwent * nw_next(struct irs_nw *); 79 static void free_nw(struct nwent *nw); 143 static struct nwent * 146 struct nwent *nw = &pvt->net; in nw_byaddr() 192 static struct nwent * 195 struct nwent *nw = &pvt->net; in nw_byname() 270 static struct nwent * [all …]
|
| H A D | getnetent.c | 62 static struct netent *nw_to_net(struct nwent *, struct net_data *); 306 nw_to_net(struct nwent *nwent, struct net_data *net_data) { in nw_to_net() argument 312 if (!nwent || nwent->n_addrtype != AF_INET) in nw_to_net() 322 pvt->netent.n_name = nwent->n_name; in nw_to_net() 323 pvt->netent.n_aliases = nwent->n_aliases; in nw_to_net() 324 pvt->netent.n_addrtype = nwent->n_addrtype; in nw_to_net() 334 msbyte = nwent->n_length / 8 + in nw_to_net() 335 ((nwent->n_length % 8) != 0 ? 1 : 0) - 1; in nw_to_net() 337 addr = (addr << 8) | ((unsigned char *)nwent->n_addr)[i]; in nw_to_net() 338 i = (32 - nwent->n_length) % 8; in nw_to_net()
|
| H A D | lcl_nw.c | 92 struct nwent net; 102 static struct nwent * nw_byname(struct irs_nw *, const char *, int); 103 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int); 104 static struct nwent * nw_next(struct irs_nw *); 167 static struct nwent * 169 struct nwent *p; in nw_byaddr() 182 static struct nwent * 184 struct nwent *p; in nw_byname() 221 static struct nwent * 224 struct nwent *ret = NULL; in nw_next()
|
| H A D | gen_nw.c | 58 static struct nwent * nw_next(struct irs_nw *); 59 static struct nwent * nw_byname(struct irs_nw *, const char *, int); 60 static struct nwent * nw_byaddr(struct irs_nw *, void *, int, int); 118 static struct nwent * 121 struct nwent *rval; in nw_next() 143 static struct nwent * 147 struct nwent *rval; in nw_byname() 166 static struct nwent * 170 struct nwent *rval; in nw_byaddr()
|
| H A D | irs_data.h | 44 struct nwent * nww_last;
|
| H A D | irpmarshall.c | 1316 irp_marshall_nw(struct nwent *ne, char **buffer, size_t *len) { in irp_marshall_nw() 1382 irp_unmarshall_nw(struct nwent *ne, char *buffer) { in irp_unmarshall_nw() 1996 struct nwent ne; in main()
|
| /netbsd-src/external/bsd/libbind/dist/include/isc/ |
| H A D | irpmarshall.h | 63 int irp_marshall_nw(struct nwent *, char **, size_t *); 64 int irp_unmarshall_nw(struct nwent *, char *);
|
| /netbsd-src/external/bsd/libbind/dist/include/ |
| H A D | irs.h | 131 struct nwent * (*byname) __P((struct irs_nw *, const char *, int)); 132 struct nwent * (*byaddr) __P((struct irs_nw *, void *, int, int)); 133 struct nwent * (*next) __P((struct irs_nw *)); 189 struct nwent { struct
|
| /netbsd-src/external/bsd/am-utils/dist/libamu/ |
| H A D | wire.c | 141 struct nwent *np; in getwire_lookup()
|