Searched refs:nl_addr_get_family (Results 1 – 16 of 16) sorted by relevance
22 ck_assert_msg(nl_addr_get_family(addr) == AF_UNSPEC, in START_TEST()112 ck_assert_msg(nl_addr_get_family(addr4) == AF_INET, in START_TEST()154 ck_assert_msg(nl_addr_get_family(addr6) == AF_INET6, in START_TEST()
46 extern int nl_addr_get_family(const struct nl_addr *);
58 .rtm_family = nl_addr_get_family(dst), in main()
433 if ((nl_addr_get_family(addr) == AF_INET) && in rtnl_link_geneve_set_remote()439 } else if ((nl_addr_get_family(addr) == AF_INET6) && in rtnl_link_geneve_set_remote()
771 if ((nl_addr_get_family(addr) == AF_INET) && in rtnl_link_vxlan_set_group()777 } else if ((nl_addr_get_family(addr) == AF_INET6) && in rtnl_link_vxlan_set_group()871 if ((nl_addr_get_family(addr) == AF_INET) && in rtnl_link_vxlan_set_local()877 } else if ((nl_addr_get_family(addr) == AF_INET6) && in rtnl_link_vxlan_set_local()
563 if (nl_addr_get_family(addr) != AF_LLC) in rtnl_link_macvlan_add_macaddr()607 if (nl_addr_get_family(addr) != AF_LLC) in rtnl_link_macvlan_del_macaddr()
632 if ((nl_addr_get_family(addr) != AF_INET6) || in rtnl_link_inet6_set_token()
619 ae_id.sa_id.family = nl_addr_get_family (daddr); in xfrmnl_ae_build_get_request()680 if (nl_addr_get_family (new) != ae->sa_id.family) in __assign_addr()683 ae->sa_id.family = nl_addr_get_family (new); in __assign_addr()
1085 sa_id.family = nl_addr_get_family (daddr); in xfrmnl_sa_build_get_request()1399 sa_id.family = nl_addr_get_family (tmpl->id.daddr); in build_xfrm_sa_delete_message()1485 if (nl_addr_get_family (new) != sa->family) in __assign_addr()
36 nl_addr_get_family;
887 int nl_addr_get_family(const struct nl_addr *addr) in nl_addr_get_family() function
755 f = capi.nl_addr_get_family(self._nl_addr)
459 extern int nl_addr_get_family(struct nl_addr *);
697 nhdr.ndm_family = nl_addr_get_family(tmpl->n_dst); in build_neigh_msg()
1007 via->rtvia_family = nl_addr_get_family(addr); in rtnl_route_put_via()
2819 printf("Address family: %s\n", nl_af2str(nl_addr_get_family(a)));2822 printf("Address family: %s\n", nl_af2str(nl_addr_get_family(a)));2853 accessed with the function nl_addr_get_family().2860 int nl_addr_get_family(struct nl_addr *addr);