Lines Matching refs:syncaddr
257 * netname, syncaddr, knetconfig. There is no AUTH_F_RPCTIMESYNC
264 create_authdh_data(char *netname, int nlen, struct netbuf *syncaddr,
270 if (syncaddr == NULL || syncaddr->buf == NULL || nlen == 0)
278 data->syncaddr.maxlen = syncaddr->maxlen;
279 data->syncaddr.len = syncaddr->len;
280 data->syncaddr.buf = (char *)kmem_alloc(syncaddr->len, KM_SLEEP);
281 bcopy(syncaddr->buf, data->syncaddr.buf, syncaddr->len);
326 fdata->netnamelen, &fdata->syncaddr, fdata->knconf);
440 if (nargs->syncaddr) {
441 ASSERT(nargs->syncaddr->len);
442 if (nargs->syncaddr->buf) {
443 ASSERT(nargs->syncaddr->len);
444 kmem_free(nargs->syncaddr->buf, nargs->syncaddr->len);
446 kmem_free(nargs->syncaddr, sizeof (struct netbuf));
447 nargs->syncaddr = NULL;
472 struct netbuf syncaddr; /* AUTH_DES time sync addr */
505 syncaddr.buf = NULL;
606 * If there are syncaddr and netname data, load them in. This is
613 /* get syncaddr */
615 if (copyin(STRUCT_FGETP(args, syncaddr), STRUCT_BUF(addr_tmp),
621 syncaddr.len = STRUCT_FGET(addr_tmp, len);
622 syncaddr.buf = kmem_alloc(syncaddr.len, KM_SLEEP);
623 syncaddr.maxlen = syncaddr.len;
624 if (copyin(userbufptr, syncaddr.buf, syncaddr.len)) {
625 kmem_free(syncaddr.buf, syncaddr.len);
630 nargs->syncaddr = kmem_alloc(sizeof (struct netbuf), KM_SLEEP);
631 bcopy(&syncaddr, nargs->syncaddr, sizeof (struct netbuf));
987 * If there are syncaddr and netname data, load them in. This is
994 args->syncaddr, svp->sv_knconf);
1050 strlen(args->netname), args->syncaddr, svp->sv_knconf);