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

int rtnl_class_dsmark_get_bitmask ( struct rtnl_class *  class  ) 

Get bitmask of DSMARK class.

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

Definition at line 259 of file dsmark.c.

      struct rtnl_dsmark_class *dsmark;

      dsmark = dsmark_class(class);
      if (dsmark && dsmark->cdm_mask & SCH_DSMARK_ATTR_MASK)
            return dsmark->cdm_bmask;
            return -NLE_NOATTR;

Generated by  Doxygen 1.6.0   Back to index