Home
last modified time | relevance | path

Searched refs:rt_addr_n2a (Results 1 – 9 of 9) sorted by relevance

/external/iproute2/ip/
Dipxfrm.c289 fprintf(fp, "src %s ", rt_addr_n2a(family, sizeof(*saddr), in xfrm_id_info_print()
292 fprintf(fp, "dst %s", rt_addr_n2a(family, sizeof(id->daddr), in xfrm_id_info_print()
456 fprintf(fp, "src %s/%u ", rt_addr_n2a(f, sizeof(sel->saddr), in xfrm_selector_print()
461 fprintf(fp, "dst %s/%u ", rt_addr_n2a(f, sizeof(sel->daddr), in xfrm_selector_print()
691 rt_addr_n2a(family, sizeof(e->encap_oa), in xfrm_xfrma_print()
720 rt_addr_n2a(family, sizeof(*coa), coa, in xfrm_xfrma_print()
Dxfrm_monitor.c235 fprintf(fp, "src %s ", rt_addr_n2a(id->sa_id.family, in xfrm_ae_print()
239 fprintf(fp, "dst %s ", rt_addr_n2a(id->sa_id.family, in xfrm_ae_print()
Dipprefix.c81 fprintf(fp, "%s", rt_addr_n2a(family, sizeof(*pfx), pfx, in print_prefix()
Diprule.c88 fprintf(fp, "from %s/%u ", rt_addr_n2a(r->rtm_family, in print_rule()
109 fprintf(fp, "to %s/%u ", rt_addr_n2a(r->rtm_family, in print_rule()
Dipaddress.c451 fprintf(fp, "%s", rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
461 rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
471 rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
478 rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
Diproute.c308 fprintf(fp, "%s/%u ", rt_addr_n2a(r->rtm_family, in print_route()
328 fprintf(fp, "from %s/%u ", rt_addr_n2a(r->rtm_family, in print_route()
372 rt_addr_n2a(r->rtm_family, in print_route()
Diptunnel.c320 p->iph.saddr ? rt_addr_n2a(AF_INET, 4, &p->iph.saddr, s2, sizeof(s2)) : "any"); in print_tunnel()
/external/iproute2/include/
Dutils.h97 extern const char *rt_addr_n2a(int af, int len, const void *addr,
/external/iproute2/lib/
Dutils.c518 const char *rt_addr_n2a(int af, int len, const void *addr, char *buf, int buflen) in rt_addr_n2a() function
627 return rt_addr_n2a(af, len, addr, buf, buflen); in format_host()