Searched refs:opthdr (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libnsl/rpc/
H A Drpc_td.c56 struct opthdr *opt;
66 opt = (struct opthdr *)(t_optreq.opt.buf);
71 sizeof (struct opthdr), &i, sizeof (int));
72 t_optreq.opt.len = (int)(sizeof (struct opthdr) +
H A Dti_opts.c113 * with a "struct opthdr" and the credential option is the only
123 struct opthdr *opth;
135 opth = (struct opthdr *)abuf->buf;
140 syslog(LOG_INFO, "find_ucred_opt (opthdr): OK!");
452 struct opthdr *topt;
463 (buf + sizeof (struct opthdr));
473 (buf + sizeof (struct opthdr));
494 ip = (int *)(buf + sizeof (struct opthdr));
503 topt = (struct opthdr *)buf;
508 oreq.opt.len = sizeof (struct opthdr)
[all...]
H A Dsvc_dg.c316 struct T_opthdr *opthdr; local
333 opthdr = (struct T_opthdr *)memalign(sizeof (int),
335 if (opthdr == NULL)
337 opthdr->len = sizeof (struct T_opthdr) + sizeof (in_pktinfo_t);
338 opthdr->level = IPPROTO_IP;
339 opthdr->name = IP_PKTINFO;
345 pktinfo = (in_pktinfo_t *)(opthdr + 1);
351 if (opthdr->len + opt->len <= opt->maxlen) {
353 (const void *)opthdr, opthdr
[all...]
H A Dclnt_vc.c386 struct opthdr *opt;
391 opt = (struct opthdr *)buf;
397 req.opt.len = sizeof (struct opthdr) + opt->len;
400 ip = (int *)((char *)buf + sizeof (struct opthdr));
420 struct opthdr *opt;
425 opt = (struct opthdr *)buf;
431 req.opt.len = sizeof (struct opthdr) + opt->len;
434 ip = (int *)((char *)buf + sizeof (struct opthdr));
445 ip = (int *)((char *)buf + sizeof (struct opthdr));
H A Dsvc_vc.c747 struct opthdr *opt;
935 option = malloc(sizeof (struct opthdr) + sizeof (int));
936 option_ret = malloc(sizeof (struct opthdr) + sizeof (int));
939 opt = (struct opthdr *)option;
946 sizeof (struct opthdr) + sizeof (int);
949 optret.opt.maxlen = sizeof (struct opthdr)
/osnet-11/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c905 struct opthdr *opt;
967 opt = (struct opthdr *)reqbuf;
982 req.opt.len = sizeof (struct opthdr) + opt->len;
985 optval = (int *)((char *)reqbuf + sizeof (struct opthdr));

Completed in 30 milliseconds