Lines Matching refs:class

83 	    "specifies the NCU class - valid values are "
393 * Convert class to flag
396 nwam_ncu_class_to_flag(nwam_ncu_class_t class)
398 switch (class) {
411 * Infer NCU type from NCU class
414 nwam_ncu_class_to_type(nwam_ncu_class_t class)
416 switch (class) {
659 uint64_t type, class, matchflags, walkfilter;
670 nwam_value_get_uint64(classval, &class) != NWAM_SUCCESS) {
677 nwam_ncu_class_to_flag(class);
720 * Are ncu type and class compatible?
723 nwam_ncu_type_class_compatible(nwam_ncu_type_t type, nwam_ncu_class_t class)
727 return (class == NWAM_NCU_CLASS_PHYS);
729 return (class == NWAM_NCU_CLASS_IP);
756 nwam_ncu_type_t type, nwam_ncu_class_t class, nwam_ncu_handle_t *ncuhp)
781 !nwam_ncu_type_class_compatible(type, class))
796 * the appropriate type and class.
803 (err = nwam_value_create_uint64(class, &classval))
823 if (type == NWAM_NCU_TYPE_INTERFACE && class == NWAM_NCU_CLASS_IP) {
1200 /* Get the NCU class */
1206 uint64_t class;
1211 err = nwam_value_get_uint64(classval, &class);
1216 *classp = class;
1457 * type and class, belong there.
1464 uint64_t type, class;
1467 /* Get type/class from ncu */
1481 if (nwam_value_get_uint64(classval, &class) != NWAM_SUCCESS) {
1485 classflags = nwam_ncu_class_to_flag((nwam_ncu_class_t)class);
1532 uint64_t class;
1534 if (nwam_value_get_uint64(value, &class) != NWAM_SUCCESS ||
1535 class > NWAM_NCU_CLASS_IP)
1665 * Given the ncu type and ncu class, return the list of properties that needs
1670 nwam_ncu_get_default_proplist(nwam_ncu_type_t type, nwam_ncu_class_t class,
1674 uint64_t classflags = nwam_ncu_class_to_flag(class);