Searched defs:targetp (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/lib/libdhcpsvc/modules/templates/
H A Ddhcp_network.c71 * described by the combination of query and targetp. If the partial
76 * server_ip, expiration, macro, or comment} of targetp are to be
91 const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp)
90 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp) argument
H A Ddhcptab.c69 * described by the combination of query and targetp. If the partial
73 * 16 bits selects which fields {key, flags} of targetp are to be
88 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp)
87 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) argument
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Ddhcptab.c174 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp)
189 retval = find_dt(fd, partial ? FIND_PARTIAL : 0, query, count, targetp,
204 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp)
233 if (!record_match(&rec.rec_dt, targetp, query))
314 * Compares `dtp' to the target `targetp', using `query' to decide what
315 * fields to compare. Returns B_TRUE if `dtp' matches `targetp', B_FALSE
319 record_match(const dt_rec_t *dtp, const dt_rec_t *targetp, uint_t query) argument
321 if (DSVC_QISEQ(query, DT_QTYPE) && targetp->dt_type != dtp->dt_type)
323 if (DSVC_QISNEQ(query, DT_QTYPE) && targetp->dt_type == dtp->dt_type)
327 strcmp(targetp
173 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) argument
203 find_dt(int fd, uint_t flags, uint_t query, int count, const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) argument
[all...]
H A Ddhcp_network.c318 const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp)
368 recid = RECID(targetp->dn_cip.s_addr, dhp->dh_netmask);
382 hash = cidhash(targetp->dn_cid,
383 targetp->dn_cid_len);
443 if (!record_match(&rec.rec_dn, targetp, query))
495 * Compares `dnp' to the target `targetp', using `query' to decide what
496 * fields to compare. Returns B_TRUE if `dnp' matches `targetp', B_FALSE
500 record_match(const dn_rec_t *dnp, const dn_rec_t *targetp, uint_t query) argument
517 targetp->dn_lease != dnp->dn_lease)
520 targetp
317 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp) argument
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/
H A Ddhcptab.c147 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp)
194 targetp->dt_type != dt.dt_type)
197 targetp->dt_type == dt.dt_type)
202 strcmp(targetp->dt_key, dt.dt_key) != 0)
205 strcmp(targetp->dt_key, dt.dt_key) == 0)
284 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp)
299 retval = find_dt(fp, partial ? FIND_PARTIAL : 0, query, count, targetp,
146 find_dt(FILE *fp, uint_t flags, uint_t query, int count, const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) argument
283 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) argument
H A Ddhcp_network.c168 find_dn(int fd, uint_t flags, uint_t query, int count, const dn_rec_t *targetp, argument
206 cip_nbo.s_addr = htonl(targetp->dn_cip.s_addr);
270 if (!record_match(fields, &dn, targetp, query))
340 const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp)
355 retval = find_dn(fd, partial ? FIND_PARTIAL : 0, query, count, targetp,
363 * Compares the fields in fields[] agains the fields in target `targetp',
365 * matches `targetp', B_FALSE if not. On success, `dnp' is completely
369 record_match(char *fields[], dn_rec_t *dnp, const dn_rec_t *targetp, argument
381 dnp->dn_cip.s_addr != targetp->dn_cip.s_addr)
384 dnp->dn_cip.s_addr == targetp
339 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp) argument
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/modules/files0/
H A Ddhcptab.c113 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp)
159 targetp->dt_type != fields[DTF_TYPE][0])
162 targetp->dt_type == fields[DTF_TYPE][0])
166 strcmp(targetp->dt_key, fields[DTF_KEY]) != 0)
169 strcmp(targetp->dt_key, fields[DTF_KEY]) == 0)
249 const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp)
264 retval = find_dt(fp, partial ? FIND_PARTIAL : 0, query, count, targetp,
112 find_dt(FILE *fp, uint_t flags, uint_t query, int count, const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) argument
248 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, const dt_rec_t *targetp, dt_rec_list_t **recordsp, uint_t *nrecordsp) argument
H A Ddhcp_network.c115 const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp)
199 if (!record_match(fields, &dn, targetp, query))
270 const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp)
285 retval = find_dn(fp, partial ? FIND_PARTIAL : 0, query, count, targetp,
293 * Compares the fields in fields[] agains the fields in target `targetp',
295 * matches `targetp', B_FALSE if not. On success, `dnp' is completely
299 record_match(char *fields[], dn_rec_t *dnp, const dn_rec_t *targetp, argument
311 dnp->dn_cip.s_addr != targetp->dn_cip.s_addr)
314 dnp->dn_cip.s_addr == targetp->dn_cip.s_addr)
318 if (DSVC_QISEQ(query, DN_QLEASE) && targetp
114 find_dn(FILE *fp, uint_t flags, uint_t query, int count, const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp) argument
269 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, const dn_rec_t *targetp, dn_rec_list_t **recordsp, uint_t *nrecordsp) argument
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c424 const char *targetp; local
429 targetp = targetstr;
433 targetp = clientstr;
439 (int) clen, clientstr, cdots, (int) tlen, targetp, tdots,
/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Dprivate.c518 * the combination of query and targetp. If the partial field is true, then
521 * each 16 bits long. The lower 16 bits selects which fields in the targetp
535 int count, const void *targetp, void **recordsp, uint_t *nrecordsp)
542 if (targetp == NULL || nrecordsp == NULL || DSVC_HANDLE_INVAL(hand))
558 * XXX: need to validate the `targetp' -- what a mess cuz only the
568 error = lookup(hand->d_hand, partial, query, count, targetp, recordsp,
534 lookup_dd(dsvc_handle_t hand, boolean_t partial, uint_t query, int count, const void *targetp, void **recordsp, uint_t *nrecordsp) argument

Completed in 82 milliseconds