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

int rtnl_qdisc_dsmark_set_indices ( struct rtnl_qdisc *  qdisc,
uint16_t  indices 

Set indices of DSMARK qdisc.

  • qdisc DSMARK qdisc to be modified.
  • indices New indices.

Definition at line 318 of file dsmark.c.

References dsmark_qdisc().

      struct rtnl_dsmark_qdisc *dsmark;

      dsmark = dsmark_qdisc(qdisc);
      if (!dsmark)
            return -NLE_NOMEM;

      dsmark->qdm_indices = indices;
      dsmark->qdm_mask |= SCH_DSMARK_ATTR_INDICES;

      return 0;

Generated by  Doxygen 1.6.0   Back to index