Home
last modified time | relevance | path

Searched refs:a_family (Results 1 – 8 of 8) sorted by relevance

/external/libnl/lib/
Daddr.c193 addr->a_family = family; in nl_addr_build()
424 new = nl_addr_build(addr->a_family, addr->a_addr, addr->a_len); in nl_addr_clone()
505 int d = a->a_family - b->a_family; in nl_addr_cmp()
527 int d = a->a_family - b->a_family; in nl_addr_cmp_prefix()
631 switch (addr->a_family) { in nl_addr_fill_sockaddr()
638 sai->sin_family = addr->a_family; in nl_addr_fill_sockaddr()
650 sa6->sin6_family = addr->a_family; in nl_addr_fill_sockaddr()
690 .ai_family = addr->a_family, in nl_addr_info()
755 addr->a_family = family; in nl_addr_set_family()
760 return addr->a_family; in nl_addr_get_family()
[all …]
/external/libnl/lib/route/
Daddr.c209 addr->a_family = family = ifa->ifa_family; in addr_msg_parser()
325 nl_dump(p, " %s ", nl_af2str(addr->a_family, buf, sizeof(buf))); in addr_dump_line()
410 nl_af2str(addr->a_family, buf, sizeof(buf))); in addr_dump_env()
488 diff |= ADDR_DIFF(FAMILY, a->a_family != b->a_family); in addr_compare()
563 .ifa_family = tmpl->a_family, in build_addr_msg()
572 if (tmpl->a_family == AF_INET && in build_addr_msg()
799 addr->a_family = family; in rtnl_addr_set_family()
805 return addr->a_family; in rtnl_addr_get_family()
853 if (new->a_family != addr->a_family) in __assign_addr()
856 addr->a_family = new->a_family; in __assign_addr()
Droute_obj.c586 if (addr->a_family != route->rt_family) in rtnl_route_set_dst()
589 route->rt_family = addr->a_family; in rtnl_route_set_dst()
609 if (addr->a_family == AF_INET) in rtnl_route_set_src()
613 if (addr->a_family != route->rt_family) in rtnl_route_set_src()
616 route->rt_family = addr->a_family; in rtnl_route_set_src()
715 if (addr->a_family != route->rt_family) in rtnl_route_set_pref_src()
718 route->rt_family = addr->a_family; in rtnl_route_set_pref_src()
Dneigh.c767 if (new->a_family != neigh->n_family) in __assign_addr()
770 neigh->n_family = new->a_family; in __assign_addr()
Drule.c663 if (new->a_family != rule->r_family) in __assign_addr()
666 rule->r_family = new->a_family; in __assign_addr()
/external/libnl/lib/fib_lookup/
Drequest.c152 if (addr->a_family != AF_INET) in flnl_request_set_addr()
/external/libnl/include/
Dnetlink-types.h117 int a_family; member
223 uint8_t a_family; member
/external/libnl/lib/netfilter/
Dct_obj.c568 if (addr->a_family != ct->ct_family) in ct_set_addr()
571 nfnl_ct_set_family(ct, addr->a_family); in ct_set_addr()