Searched refs:boolopts (Results 1 – 2 of 2) sorted by relevance
598 static struct boolopt boolopts[] = { in show_sockopts() local620 for (i = 0; i < sizeof (boolopts) / sizeof (boolopts[0]); i++) { in show_sockopts()621 if (opts != NULL && opts->prsock_bool_opts & boolopts[i].opt) in show_sockopts()622 (void) strlcat(buf, boolopts[i].name, sizeof (buf)); in show_sockopts()
2749 } boolopts[] = { in prfdinfosockopt() local2775 for (i = 0; i < ARRAY_SIZE(boolopts); i++) { in prfdinfosockopt()2777 if (SOP_GETSOCKOPT(so, boolopts[i].level, in prfdinfosockopt()2778 boolopts[i].opt, &val, &vlen, 0, cred) == 0 && in prfdinfosockopt()2780 opts.prsock_bool_opts |= boolopts[i].bopt; in prfdinfosockopt()