Lines Matching refs:lookup_dd
182 /* lookup_dd - dhcptab - macro called '172.20.64.128', then delete it */
192 (void) printf("lookup_dd: macro %s ... ", dt.dt_key);
193 error = lookup_dd(handle, B_FALSE, query, -1, &dt, (void **)&resdtp,
199 (void) printf("lookup_dd: expected 1 record, got %d\n",
219 * lookup_dd - dhcptab - macro called '172.21.0.0', and modify its
229 (void) printf("lookup_dd: macro %s ... ", dt.dt_key);
230 error = lookup_dd(handle, B_FALSE, query, 1, &dt, (void **)&resdtp,
236 (void) printf("lookup_dd: expected 1 record, "
260 /* lookup_dd - all records */
264 (void) printf("lookup_dd: all records ... ");
265 error = lookup_dd(handle, B_FALSE, query, -1, &dt, (void **)&resdtp,
374 /* lookup_dd - lookup all records. */
377 (void) printf("lookup_dd: 129.148.5.0 ... ");
378 error = lookup_dd(handle, B_FALSE, query, -1, &dn, (void **)&resdnp,
407 * lookup_dd - 129.148.5.0 - record with cid of 01080020000001, modify
424 (void) printf("lookup_dd: 01080020000001 ... ");
425 error = lookup_dd(handle, B_FALSE, query, 1, &dn, (void **)&resdnp,
431 (void) printf("lookup_dd: expected 1 record, got %d\n",
450 /* lookup_dd - lookup all fields with DN_FMANUAL set */
458 (void) printf("lookup_dd: F_MANUAL ... ");
459 error = lookup_dd(handle, B_FALSE, query, 1, &dn, (void **)&resdnp,
465 (void) printf("lookup_dd: expected 1 record, "
483 /* lookup_dd - lookup all records. */
487 (void) printf("lookup_dd: 129.148.5.0 ...");
488 error = lookup_dd(handle, B_FALSE, query, -1, &dn, (void **)&resdnp,