Searched refs:opt_res (Results 1 – 2 of 2) sorted by relevance
5087 struct opthdr *opt_res; in sotpi_getsockopt() local5373 (t_uscalar_t)(sizeof (*optmgmt_ack) + sizeof (*opt_res)), &mp, 0); in sotpi_getsockopt()5385 opt_res = (struct opthdr *)sogetoff(mp, optmgmt_ack->OPT_offset, in sotpi_getsockopt()5387 if (opt_res == NULL) { in sotpi_getsockopt()5397 option = &opt_res[1]; in sotpi_getsockopt()5400 if (((uintptr_t)option + opt_res->len < (uintptr_t)option) || in sotpi_getsockopt()5401 (uintptr_t)option + opt_res->len > (uintptr_t)mp->b_wptr) { in sotpi_getsockopt()5412 len = opt_res->len; in sotpi_getsockopt()
2854 struct opthdr *opt, *opt_res; in connmgr_getopt_int() local2918 opt_res = (struct opthdr *)connmgr_opt_getoff(mp, opt_ack->OPT_offset, in connmgr_getopt_int()2921 if (!opt_res) { in connmgr_getopt_int()2927 *val = *(int *)&opt_res[1]; in connmgr_getopt_int()