Searched refs:opt_res (Results 1 – 2 of 2) sorted by relevance
5022 struct opthdr *opt_res; in sotpi_getsockopt() local5308 (t_uscalar_t)(sizeof (*optmgmt_ack) + sizeof (*opt_res)), &mp, 0); in sotpi_getsockopt()5320 opt_res = (struct opthdr *)sogetoff(mp, optmgmt_ack->OPT_offset, in sotpi_getsockopt()5322 if (opt_res == NULL) { in sotpi_getsockopt()5332 option = &opt_res[1]; in sotpi_getsockopt()5335 if (((uintptr_t)option + opt_res->len < (uintptr_t)option) || in sotpi_getsockopt()5336 (uintptr_t)option + opt_res->len > (uintptr_t)mp->b_wptr) { in sotpi_getsockopt()5347 len = opt_res->len; in sotpi_getsockopt()
2863 struct opthdr *opt, *opt_res; in connmgr_getopt_int() local2927 opt_res = (struct opthdr *)connmgr_opt_getoff(mp, opt_ack->OPT_offset, in connmgr_getopt_int()2930 if (!opt_res) { in connmgr_getopt_int()2936 *val = *(int *)&opt_res[1]; in connmgr_getopt_int()