Lines Matching defs:opt
171 su->su_tudata.opt.buf = (char *)su->opts;
173 su->su_tudata.opt.maxlen = MAX_OPT_WORDS * sizeof (int) + ucred_sz;
260 su->su_tudata.opt.buf = (char *)su->opts;
262 su->su_tudata.opt.maxlen = MAX_OPT_WORDS * sizeof (int) + ucred_sz;
286 const struct T_opthdr *opt;
289 while (len >= sizeof (*opt)) {
291 opt = (const struct T_opthdr *)cp;
292 olen = opt->len;
293 if (olen > len || olen < sizeof (*opt) ||
296 if (opt->level == SOL_SOCKET && opt->name == SCM_UCRED) {
312 set_src_addr(SVCXPRT *xprt, struct netbuf *opt)
351 if (opthdr->len + opt->len <= opt->maxlen) {
352 (void) memcpy((void *)(opt->buf+opt->len), (const void *)opthdr,
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);
433 tu_data->opt.buf = (char *)su->opts;
507 extract_cred(&su->optbuf, &tu_data->opt);
508 set_src_addr(xprt, &tu_data->opt);
523 tu_data->opt.buf = (char *)su->opts;