Searched refs:nl_addr_get_family (Results 1 – 16 of 16) sorted by relevance
28 fail_if(nl_addr_get_family(addr) != AF_UNSPEC, in START_TEST()116 fail_if(nl_addr_get_family(addr4) != AF_INET, in START_TEST()157 fail_if(nl_addr_get_family(addr6) != AF_INET6, in START_TEST()
52 extern int nl_addr_get_family(const struct nl_addr *);
65 .rtm_family = nl_addr_get_family(dst), in main()
610 ae_id.sa_id.family = nl_addr_get_family (daddr); in xfrmnl_ae_build_get_request()671 if (nl_addr_get_family (new) != ae->sa_id.family) in __assign_addr()674 ae->sa_id.family = nl_addr_get_family (new); in __assign_addr()
1042 sa_id.family = nl_addr_get_family (daddr); in xfrmnl_sa_build_get_request()1341 sa_id.family = nl_addr_get_family (tmpl->id.daddr); in build_xfrm_sa_delete_message()1427 if (nl_addr_get_family (new) != sa->family) in __assign_addr()
442 if ((nl_addr_get_family(addr) == AF_INET) && in rtnl_link_geneve_set_remote()448 } else if ((nl_addr_get_family(addr) == AF_INET6) && in rtnl_link_geneve_set_remote()
787 if ((nl_addr_get_family(addr) == AF_INET) && in rtnl_link_vxlan_set_group()793 } else if ((nl_addr_get_family(addr) == AF_INET6) && in rtnl_link_vxlan_set_group()887 if ((nl_addr_get_family(addr) == AF_INET) && in rtnl_link_vxlan_set_local()893 } else if ((nl_addr_get_family(addr) == AF_INET6) && in rtnl_link_vxlan_set_local()
564 if (nl_addr_get_family(addr) != AF_LLC) in rtnl_link_macvlan_add_macaddr()608 if (nl_addr_get_family(addr) != AF_LLC) in rtnl_link_macvlan_del_macaddr()
631 if ((nl_addr_get_family(addr) != AF_INET6) || in rtnl_link_inet6_set_token()
36 nl_addr_get_family;
894 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 *);
701 nhdr.ndm_family = nl_addr_get_family(tmpl->n_dst); in build_neigh_msg()
1004 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);