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

int rtnl_neigh_build_delete_request ( struct rtnl_neigh *  neigh,
int  flags,
struct nl_msg **  result 
)

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.

Returns:
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);
}


Generated by  Doxygen 1.6.0   Back to index