Home
last modified time | relevance | path

Searched refs:opt_type (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_argvec.c189 switch (opt->opt_type) { in argvec_process_opt()
230 (void *)opt, opt->opt_type); in argvec_process_opt()
292 if (optp->opt_type == MDB_OPT_STR || in argvec_getopts()
293 optp->opt_type == MDB_OPT_UINTPTR || in argvec_getopts()
294 optp->opt_type == MDB_OPT_UINTPTR_SET || in argvec_getopts()
295 optp->opt_type == MDB_OPT_SUBOPTS || in argvec_getopts()
296 optp->opt_type == MDB_OPT_UINT64) { in argvec_getopts()
355 op->opt_type = va_arg(alist, uint_t); in mdb_getopts()
357 if (op->opt_type == MDB_OPT_SETBITS || in mdb_getopts()
358 op->opt_type == MDB_OPT_CLRBITS) { in mdb_getopts()
[all …]
H A Dmdb_argvec.h60 uint_t opt_type; /* Option type (see above) */ member
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c292 remove_pkt_opt(dhcp_pkt_t *dpkt, uint_t opt_type) in remove_pkt_opt() argument
304 opt_type = htons(opt_type); in remove_pkt_opt()
311 if (d6o.d6o_code == opt_type) { in remove_pkt_opt()
327 if (opt_type == CD_END || opt_type == CD_PAD) in remove_pkt_opt()
346 if (*raw_pkt == opt_type) { in remove_pkt_opt()
413 add_pkt_opt(dhcp_pkt_t *dpkt, uint_t opt_type, const void *opt_val, in add_pkt_opt() argument
428 "packet (%u + %u > %u)", opt_type, in add_pkt_opt()
436 if (opt_type == CD_END || opt_type == CD_PAD) { in add_pkt_opt()
440 "missing required value", opt_type); in add_pkt_opt()
447 "packet", opt_type); in add_pkt_opt()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dmain.c80 match_opt_t opt_type; member
239 rec->opt_type = MATCH_OPT_NDX; in process_index_opt()
242 rec->opt_type = MATCH_OPT_RANGE; in process_index_opt()
379 if ((list->opt_type == MATCH_OPT_NAME) && minus_p) in match_prepare()
380 list->opt_type = MATCH_OPT_TYPE; in match_prepare()
382 if (list->opt_type != MATCH_OPT_TYPE) in match_prepare()
445 switch (list->opt_type) { in match()
766 match_data.opt_type = MATCH_OPT_NAME; in main()
819 match_data.opt_type = MATCH_OPT_TYPE; in main()
/illumos-gate/usr/src/cmd/sgs/pvs/common/
H A Dpvs.c134 match_opt_t opt_type; member
251 rec->opt_type = MATCH_OPT_NAME; in add_match_record()
267 rec->opt_type = MATCH_OPT_NEED_VER; in add_match_record()
292 rec->opt_type = MATCH_OPT_NDX; in add_match_record()
295 rec->opt_type = MATCH_OPT_RANGE; in add_match_record()
354 switch (rec->opt_type) { in match()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c1100 uchar_t opt_type; in tsol_find_secopt_v6() local
1108 opt_type = *optptr; in tsol_find_secopt_v6()
1109 if (opt_type == IP6OPT_PAD1) { in tsol_find_secopt_v6()
1126 if (opt_type == ip6opt_ls) { in tsol_find_secopt_v6()
1131 } else switch (opt_type) { in tsol_find_secopt_v6()
H A Dip6.c2769 uint8_t opt_type; in ip_process_options_v6() local
2777 opt_type = *optptr; in ip_process_options_v6()
2778 if (opt_type == IP6OPT_PAD1) { in ip_process_options_v6()
2784 if (opt_type == ip6opt_ls) { in ip_process_options_v6()
2788 } else switch (opt_type) { in ip_process_options_v6()
2904 switch (IP6OPT_TYPE(opt_type)) { in ip_process_options_v6()
2911 errtype, opt_type)); in ip_process_options_v6()
2916 errtype, opt_type)); in ip_process_options_v6()
H A Dipsecah.c2162 uint8_t opt_type; in ah_fix_tlv_options_v6() local
2179 opt_type = *oi_opt; in ah_fix_tlv_options_v6()
2181 if (opt_type == IP6OPT_PAD1) { in ah_fix_tlv_options_v6()
2190 if (copy_always || !(opt_type & IP6OPT_MUTABLE)) { in ah_fix_tlv_options_v6()
H A Dip_ndp.c3610 ndp_get_option(nd_opt_hdr_t *opt, int optlen, int opt_type) in ndp_get_option() argument
3613 if (opt->nd_opt_type == opt_type) in ndp_get_option()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ppp.h156 uint8_t opt_type; member
H A Dsnoop_ppp.c864 ppp_getoptinfo(cp_optinfo_t optinfo_list[], uint16_t opt_type) in ppp_getoptinfo() argument
868 while (optinfo_ptr->opt_type != opt_type && in ppp_getoptinfo()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dpppd.h107 enum opt_type { enum
118 enum opt_type type;