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

struct nl_msg* rtnl_neigh_build_change_request ( struct rtnl_neigh *  neigh,
int  flags 
) [read]

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.

Returns:
The netlink message
Note:
Not all attributes can be changed, see Changeable Attributes for a list.

Definition at line 674 of file neigh.c.

References NLM_F_REPLACE.

Referenced by rtnl_neigh_change().

{
      return build_neigh_msg(neigh, RTM_NEWNEIGH, NLM_F_REPLACE | flags);
}


Generated by  Doxygen 1.6.0   Back to index