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);