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

struct nl_msg* rtnl_qdisc_get_opts ( struct rtnl_qdisc *  qdisc  )  [read]

Return qdisc specific options for use in TCA_OPTIONS

  • qdisc qdisc carrying the optiosn
Returns:
new headerless netlink message carrying the options as payload

Definition at line 637 of file qdisc.c.

References rtnl_qdisc_ops::qo_get_opts.

{
      struct rtnl_qdisc_ops *ops;

      ops = qdisc_ops(qdisc);
      if (ops && ops->qo_get_opts)
            return ops->qo_get_opts(qdisc);

      return NULL;
}


Generated by  Doxygen 1.6.0   Back to index