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

void rtnl_neigh_set_lladdr ( struct rtnl_neigh *  neigh,
struct nl_addr *  addr 

Set link layer address of a neighbour

  • neigh neighbour to change
  • addr new link layer address
Assigns the new link layer address to the specified neighbour handle.

The prefix length of the address will be ignored.

Definition at line 940 of file neigh.c.

      __assign_addr(neigh, &neigh->n_lladdr, addr, NEIGH_ATTR_LLADDR, 1);

Generated by  Doxygen 1.6.0   Back to index