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

int rtnl_qdisc_build_change_request ( struct rtnl_qdisc *  qdisc,
struct rtnl_qdisc *  new,
struct nl_msg **  result 

Build a netlink message to change attributes of a existing qdisc

  • qdisc qdisc to change
  • new new qdisc attributes
  • result Pointer to store resulting message.
Builds a new netlink message requesting an change of qdisc attributes. The netlink message header isn't fully equipped with all relevant fields and must be sent out via nl_send_auto_complete() or supplemented as needed.

0 on success or a negative error code.

Definition at line 259 of file qdisc.c.

References NLM_F_REPLACE.

Referenced by rtnl_qdisc_change().

      return qdisc_build(qdisc, RTM_NEWQDISC, NLM_F_REPLACE, result);

Generated by  Doxygen 1.6.0   Back to index