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

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

Get link layer address of a neighbour

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

Definition at line 950 of file neigh.c.

{
      if (neigh->n_mask & NEIGH_ATTR_LLADDR)
            return neigh->n_lladdr;
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index