Home
last modified time | relevance | path

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

/external/libnl/lib/
Daddr.c226 addr->a_family = family; in nl_addr_build()
498 new = nl_addr_build(addr->a_family, addr->a_addr, addr->a_len); in nl_addr_clone()
597 d = a->a_family - b->a_family; in nl_addr_cmp()
627 int d = a->a_family - b->a_family; in nl_addr_cmp_prefix()
740 switch (addr->a_family) { in nl_addr_fill_sockaddr()
754 sai->sin_family = addr->a_family; in nl_addr_fill_sockaddr()
772 sa6->sin6_family = addr->a_family; in nl_addr_fill_sockaddr()
811 .ai_family = addr->a_family, in nl_addr_info()
883 addr->a_family = family; in nl_addr_set_family()
896 return addr->a_family; in nl_addr_get_family()
[all …]
/external/libnl/lib/route/
Daddr.c218 addr->a_family = family = ifa->ifa_family; in addr_msg_parser()
387 nl_dump(p, " %s ", nl_af2str(addr->a_family, buf, sizeof(buf))); in addr_dump_line()
473 switch (addr->a_family) { in addr_id_attrs_get()
499 diff |= ADDR_DIFF(FAMILY, a->a_family != b->a_family); in addr_compare()
504 && a->a_family == AF_INET in addr_compare()
505 && b->a_family == AF_INET in addr_compare()
625 .ifa_family = tmpl->a_family, in build_addr_msg()
635 if (tmpl->a_family == AF_INET && in build_addr_msg()
898 addr->a_family = family; in rtnl_addr_set_family()
904 return addr->a_family; in rtnl_addr_get_family()
[all …]
Droute_obj.c705 if (addr->a_family != route->rt_family) in rtnl_route_set_dst()
708 route->rt_family = addr->a_family; in rtnl_route_set_dst()
728 if (addr->a_family == AF_INET) in rtnl_route_set_src()
732 if (addr->a_family != route->rt_family) in rtnl_route_set_src()
735 route->rt_family = addr->a_family; in rtnl_route_set_src()
834 if (addr->a_family != route->rt_family) in rtnl_route_set_pref_src()
837 route->rt_family = addr->a_family; in rtnl_route_set_pref_src()
Dneigh.c646 neigh->n_family == dst->a_family && in rtnl_neigh_get()
978 if (new->a_family != neigh->n_family) in __assign_addr()
981 neigh->n_family = new->a_family; in __assign_addr()
Drule.c698 if (new->a_family != rule->r_family) in __assign_addr()
701 rule->r_family = new->a_family; in __assign_addr()
/external/libnl/lib/fib_lookup/
Drequest.c153 if (addr->a_family != AF_INET) in flnl_request_set_addr()
/external/libnl/lib/netfilter/
Dexp_obj.c666 if (addr->a_family != exp->exp_family) in exp_set_addr()
669 nfnl_exp_set_family(exp, addr->a_family); in exp_set_addr()
Dct_obj.c617 if (addr->a_family != ct->ct_family) in ct_set_addr()
620 nfnl_ct_set_family(ct, addr->a_family); in ct_set_addr()
/external/libnl/include/netlink-private/
Dtypes.h139 int a_family; member
288 uint8_t a_family; member
/external/webrtc/p2p/client/
Dbasic_port_allocator.cc90 int a_family = GetAddressFamilyPriority(a->Network()->GetBestIP().family()); in ComparePort() local
92 return a_family - b_family; in ComparePort()