Lines Matching defs:opts

68 	uint_t	opts;
505 uint_t opts = 0;
512 'p', MDB_OPT_SETBITS, MI_PAYLOAD, &opts,
513 'd', MDB_OPT_SETBITS, MI_DEVICE, &opts,
514 'm', MDB_OPT_SETBITS, MI_MODULE, &opts,
518 if ((opts & (MI_DEVICE | MI_MODULE)) == (MI_DEVICE | MI_MODULE)) {
524 if ((opts == 0) && (DCMD_HDRSPEC(flags))) {
534 if (opts != 0) {
537 if (!(opts & MI_MODULE) && (opts & MI_DEVICE))
541 if (!(opts & MI_DEVICE) && (opts & MI_MODULE))
545 if (opts & MI_PAYLOAD)
591 uint_t opts = ncb->opts;
612 if (!((opts & NETSTAT_ALL) || net_tcp_active(tcp)) ||
630 if (opts & NETSTAT_VERBOSE)
641 uint_t opts = ncb->opts;
662 if (!((opts & NETSTAT_ALL) || net_udp_active(&udp)) ||
916 uint_t *opts = cb_data;
924 if (!(*opts & NETSTAT_ALL) &&
929 if (*opts & NETSTAT_FIRST) {
930 *opts &= ~NETSTAT_FIRST;
932 (*opts & NETSTAT_VERBOSE) ? "IRE" : "Routing");
933 if (*opts & NETSTAT_VERBOSE) {
952 if (*opts & NETSTAT_VERBOSE) {
995 uint_t *opts = cb_data;
1005 if (!(*opts & NETSTAT_ALL) &&
1010 if (*opts & NETSTAT_FIRST) {
1011 *opts &= ~NETSTAT_FIRST;
1013 (*opts & NETSTAT_VERBOSE) ? "IRE" : "Routing");
1014 if (*opts & NETSTAT_VERBOSE) {
1037 if (*opts & NETSTAT_VERBOSE) {
1087 if ((ncb->opts & NETSTAT_VERBOSE) && proto == IPPROTO_TCP)
1122 uint_t opts = 0;
1130 'a', MDB_OPT_SETBITS, NETSTAT_ALL, &opts,
1133 'r', MDB_OPT_SETBITS, NETSTAT_ROUTE, &opts,
1134 'v', MDB_OPT_SETBITS, NETSTAT_VERBOSE, &opts,
1142 if (opts & NETSTAT_ROUTE)
1147 opts |= NETSTAT_V4 | NETSTAT_V6 | NETSTAT_UNIX;
1149 opts |= NETSTAT_V4;
1151 opts |= NETSTAT_V6;
1153 opts |= NETSTAT_UNIX;
1157 if (opts & NETSTAT_ROUTE) {
1158 if (!(opts & (NETSTAT_V4|NETSTAT_V6)))
1160 if (opts & NETSTAT_V4) {
1161 opts |= NETSTAT_FIRST;
1162 if (mdb_walk("ip`ire", netstat_irev4_cb, &opts) == -1) {
1167 if (opts & NETSTAT_V6) {
1168 opts |= NETSTAT_FIRST;
1169 if (mdb_walk("ip`ire", netstat_irev6_cb, &opts) == -1) {
1177 if ((opts & NETSTAT_UNIX) && (optP == NULL)) {
1187 if (!(opts & (NETSTAT_V4 | NETSTAT_V6)))
1192 cbdata->opts = opts;
1193 if ((optf != NULL) && (opts & NETSTAT_V4))
1195 else if ((optf != NULL) && (opts & NETSTAT_V6))