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

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

Build a netlink request message to delete a neighbour

  • neigh neighbour to delete
  • flags additional netlink message flags
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.

The netlink message

Definition at line 617 of file neigh.c.

Referenced by rtnl_neigh_delete().

      return build_neigh_msg(neigh, RTM_DELNEIGH, flags);

Generated by  Doxygen 1.6.0   Back to index