Build a netlink request message to change neighbour attributes
- neigh the neighbour to change
- flags additional netlink message flags
Builds a new netlink message requesting a change of a neigh attributes. 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.
- The netlink message
- Not all attributes can be changed, see Changeable Attributes for a list.
Definition at line 674 of file neigh.c.
Referenced by rtnl_neigh_change().
return build_neigh_msg(neigh, RTM_NEWNEIGH, NLM_F_REPLACE | flags);