Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

int rtnl_class_dsmark_get_value ( struct rtnl_class *  class  ) 

Get value of DSMARK class.

  • class DSMARK class.
    Value or a negative error code.

Definition at line 295 of file dsmark.c.

      struct rtnl_dsmark_class *dsmark;

      dsmark = dsmark_class(class);
      if (dsmark && dsmark->cdm_mask & SCH_DSMARK_ATTR_VALUE)
            return dsmark->cdm_value;
            return -NLE_NOATTR;

Generated by  Doxygen 1.6.0   Back to index