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

int rtnl_addr_get_family ( struct rtnl_addr *  addr  ) 

Get address family of address object.

  • addr Address object.
    Address family or AF_UNSPEC if not set.

Definition at line 827 of file addr.c.

      if (addr->a_mask & ADDR_ATTR_FAMILY)
            return addr->a_family;
            return AF_UNSPEC;

Generated by  Doxygen 1.6.0   Back to index