Home
last modified time | relevance | path

Searched refs:t_optreq (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/libnsl/rpc/
H A Drpc_td.c48 static struct t_optmgmt t_optreq, t_optret; in __td_setnodelay() local
58 if ((state == T_IDLE) && (t_optreq.flags != T_NEGOTIATE)) { in __td_setnodelay()
62 t_optreq.flags = T_NEGOTIATE; in __td_setnodelay()
63 t_optreq.opt.maxlen = MAXOPTSIZE; in __td_setnodelay()
64 t_optreq.opt.buf = malloc(MAXOPTSIZE); in __td_setnodelay()
65 if (t_optreq.opt.buf == NULL) { in __td_setnodelay()
71 opt = (struct opthdr *)(t_optreq.opt.buf); in __td_setnodelay()
75 (void) memcpy((caddr_t)(t_optreq.opt.buf + in __td_setnodelay()
77 t_optreq.opt.len = (int)(sizeof (struct opthdr) + in __td_setnodelay()
85 free(t_optreq.opt.buf); in __td_setnodelay()
[all …]