Lines Matching defs:dscpobj
441 const cfg_obj_t *portobj, *dscpobj;
473 dscpobj = cfg_tuple_get(list, "dscp");
474 if (dscpobj != NULL && cfg_obj_isuint32(dscpobj)) {
475 if (cfg_obj_asuint32(dscpobj) > 63) {
476 cfg_obj_log(dscpobj, ns_g_lctx, ISC_LOG_ERROR,
478 cfg_obj_asuint32(dscpobj));
481 dscp = (isc_dscp_t)cfg_obj_asuint32(dscpobj);
580 const cfg_obj_t *dscpobj;
616 dscpobj = cfg_tuple_get(list, "dscp");
629 if (dscpobj != NULL && cfg_obj_isuint32(dscpobj)) {
630 if (cfg_obj_asuint32(dscpobj) > 63) {
631 cfg_obj_log(dscpobj, ns_g_lctx, ISC_LOG_ERROR,
633 cfg_obj_asuint32(dscpobj));
637 dscp = (isc_dscp_t)cfg_obj_asuint32(dscpobj);
913 const cfg_obj_t *dscpobj = NULL;
920 result = cfg_map_get(options, "dscp", &dscpobj);
921 if (result != ISC_R_SUCCESS || dscpobj == NULL) {
925 if (cfg_obj_asuint32(dscpobj) >= 64) {
926 cfg_obj_log(dscpobj, ns_g_lctx, ISC_LOG_ERROR,
928 cfg_obj_asuint32(dscpobj));
931 *dscpp = (isc_dscp_t)cfg_obj_asuint32(dscpobj);