Searched refs:a_family (Results 1 – 9 of 9) sorted by relevance
/external/libnl/lib/ |
D | addr.c | 224 addr->a_family = family; in nl_addr_build() 475 new = nl_addr_build(addr->a_family, addr->a_addr, addr->a_len); in nl_addr_clone() 565 int d = a->a_family - b->a_family; in nl_addr_cmp() 596 int d = a->a_family - b->a_family; in nl_addr_cmp_prefix() 703 switch (addr->a_family) { in nl_addr_fill_sockaddr() 710 sai->sin_family = addr->a_family; in nl_addr_fill_sockaddr() 722 sa6->sin6_family = addr->a_family; in nl_addr_fill_sockaddr() 762 .ai_family = addr->a_family, in nl_addr_info() 834 addr->a_family = family; in nl_addr_set_family() 847 return addr->a_family; in nl_addr_get_family() [all …]
|
/external/libnl/lib/route/ |
D | addr.c | 217 addr->a_family = family = ifa->ifa_family; in addr_msg_parser() 351 nl_dump(p, " %s ", nl_af2str(addr->a_family, buf, sizeof(buf))); in addr_dump_line() 442 diff |= ADDR_DIFF(FAMILY, a->a_family != b->a_family); in addr_compare() 553 .ifa_family = tmpl->a_family, in build_addr_msg() 563 if (tmpl->a_family == AF_INET && in build_addr_msg() 826 addr->a_family = family; in rtnl_addr_set_family() 832 return addr->a_family; in rtnl_addr_get_family() 910 if (new->a_family != addr->a_family) in __assign_addr() 913 addr->a_family = new->a_family; in __assign_addr() 960 if (peer && peer->a_family != AF_INET) in rtnl_addr_set_peer() [all …]
|
D | route_obj.c | 674 if (addr->a_family != route->rt_family) in rtnl_route_set_dst() 677 route->rt_family = addr->a_family; in rtnl_route_set_dst() 697 if (addr->a_family == AF_INET) in rtnl_route_set_src() 701 if (addr->a_family != route->rt_family) in rtnl_route_set_src() 704 route->rt_family = addr->a_family; in rtnl_route_set_src() 803 if (addr->a_family != route->rt_family) in rtnl_route_set_pref_src() 806 route->rt_family = addr->a_family; in rtnl_route_set_pref_src()
|
D | rule.c | 610 if (new->a_family != rule->r_family) in __assign_addr() 613 rule->r_family = new->a_family; in __assign_addr()
|
D | neigh.c | 840 if (new->a_family != neigh->n_family) in __assign_addr() 843 neigh->n_family = new->a_family; in __assign_addr()
|
/external/libnl/lib/fib_lookup/ |
D | request.c | 152 if (addr->a_family != AF_INET) in flnl_request_set_addr()
|
/external/libnl/include/netlink-private/ |
D | types.h | 125 int a_family; member 245 uint8_t a_family; member
|
/external/libnl/lib/netfilter/ |
D | exp_obj.c | 665 if (addr->a_family != exp->exp_family) in exp_set_addr() 668 nfnl_exp_set_family(exp, addr->a_family); in exp_set_addr()
|
D | ct_obj.c | 616 if (addr->a_family != ct->ct_family) in ct_set_addr() 619 nfnl_ct_set_family(ct, addr->a_family); in ct_set_addr()
|