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

struct nl_addr* rtnl_neigh_get_dst ( struct rtnl_neigh *  neigh  )  [read]

Get the destination address of a neighbour

  • neigh neighbour handle
    Returns:
    Destination address or NULL if not set

Definition at line 982 of file neigh.c.

{
      if (neigh->n_mask & NEIGH_ATTR_DST)
            return neigh->n_dst;
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index