Lines Matching defs:argp
46 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
52 for (s = argp->key.ipnode.name; (c = *s) != '\0'; s++) {
57 if ((copy = strdup(argp->key.ipnode.name)) == 0) {
60 for (mung = copy + (s - argp->key.ipnode.name);
66 res = _nss_nis_lookup(be, argp, 1, "ipnodes.byname",
69 argp->h_errno = __nss2herrno(res);
74 res = _nss_nis_lookup(be, argp, 1,
75 "ipnodes.byname", argp->key.ipnode.name, 0);
77 argp->h_errno = __nss2herrno(res);
86 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
92 if (argp->key.hostaddr.type != AF_INET6 ||
93 argp->key.hostaddr.len != sizeof (addr)) {
96 (void) memcpy(&addr, argp->key.hostaddr.addr, sizeof (addr));
108 res = _nss_nis_lookup(be, argp, 1, "ipnodes.byaddr", buf, 0);
110 argp->h_errno = __nss2herrno(res);