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

struct nl_msg* rtnl_rule_build_delete_request ( struct rtnl_rule *  rule,
int  flags 
) [read]

Build a netlink request message to delete a rule

  • rule rule to delete
  • flags additional netlink message flags
Builds a new netlink message requesting a deletion of a rule. The netlink message header isn't fully equipped with all relevant fields and must thus be sent out via nl_send_auto_complete() or supplemented as needed. rule must point to an existing address.

The netlink message

Definition at line 538 of file rule.c.

Referenced by rtnl_rule_delete().

      return build_rule_msg(rule, RTM_DELRULE, flags);

Generated by  Doxygen 1.6.0   Back to index