Build a netlink request message to delete a neighbour
- neigh neighbour to delete
- flags additional netlink message flags
- result Pointer to store resulting message.
Builds a new netlink message requesting a deletion of a neighbour. 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. neigh
must point to an existing neighbour.
- 0 on success or a negative error code.
Definition at line 616 of file neigh.c.
Referenced by rtnl_neigh_delete().
return build_neigh_msg(neigh, RTM_DELNEIGH, flags, result);