Lines Matching defs:opt
170 su->su_tudata.opt.buf = (char *)su->opts;
172 su->su_tudata.opt.maxlen = MAX_OPT_WORDS * sizeof (int) + ucred_sz;
259 su->su_tudata.opt.buf = (char *)su->opts;
261 su->su_tudata.opt.maxlen = MAX_OPT_WORDS * sizeof (int) + ucred_sz;
287 const struct T_opthdr *opt;
290 while (len >= sizeof (*opt)) {
292 opt = (const struct T_opthdr *)cp;
293 olen = opt->len;
294 if (olen > len || olen < sizeof (*opt) ||
297 if (opt->level == SOL_SOCKET && opt->name == SCM_UCRED) {
313 set_src_addr(SVCXPRT *xprt, struct netbuf *opt)
351 if (opthdr->len + opt->len <= opt->maxlen) {
352 (void) memcpy((char *)opt->buf + opt->len,
354 opt->len += opthdr->len;
375 tu_data->opt.len = 0;
414 su->optbuf = tu_data->opt;
429 extract_cred(&tu_data->opt, &tu_data->opt);
430 set_src_addr(xprt, &tu_data->opt);
506 extract_cred(&su->optbuf, &tu_data->opt);
507 set_src_addr(xprt, &tu_data->opt);