Lines Matching refs:opt
58 struct opthdr *opt; in __td_setnodelay() local
61 t_optreq.opt.maxlen = MAXOPTSIZE; in __td_setnodelay()
62 t_optreq.opt.buf = malloc(MAXOPTSIZE); in __td_setnodelay()
63 if (t_optreq.opt.buf == NULL) { in __td_setnodelay()
69 opt = (struct opthdr *)(t_optreq.opt.buf); in __td_setnodelay()
70 opt->name = TCP_NODELAY; in __td_setnodelay()
71 opt->len = 4; in __td_setnodelay()
72 opt->level = IPPROTO_TCP; in __td_setnodelay()
73 (void) memcpy((caddr_t)(t_optreq.opt.buf + in __td_setnodelay()
75 t_optreq.opt.len = (int)(sizeof (struct opthdr) + in __td_setnodelay()
78 t_optret.opt.maxlen = MAXOPTSIZE; in __td_setnodelay()
79 t_optret.opt.len = 0; in __td_setnodelay()
80 t_optret.opt.buf = malloc(MAXOPTSIZE); in __td_setnodelay()
81 if (t_optret.opt.buf == NULL) { in __td_setnodelay()
83 free(t_optreq.opt.buf); in __td_setnodelay()