Home
last modified time | relevance | path

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

/external/iproute2/ip/
Dxfrm_monitor.c230 fprintf(fp, "dst %s ", rt_addr_n2a(sa_id->family, in xfrm_usersa_print()
250 fprintf(fp, "src %s ", rt_addr_n2a(id->sa_id.family, in xfrm_ae_print()
267 fprintf(fp, "%s", rt_addr_n2a(family, s, a, buf, sizeof(buf))); in xfrm_print_addr()
Dipprefix.c81 fprintf(fp, "%s", rt_addr_n2a(family, sizeof(*pfx), pfx, in print_prefix()
Dipxfrm.c293 fprintf(fp, "src %s ", rt_addr_n2a(family, sizeof(*saddr), in xfrm_id_info_print()
296 fprintf(fp, "dst %s", rt_addr_n2a(family, sizeof(id->daddr), in xfrm_id_info_print()
460 fprintf(fp, "src %s/%u ", rt_addr_n2a(f, sizeof(sel->saddr), in xfrm_selector_print()
465 fprintf(fp, "dst %s/%u ", rt_addr_n2a(f, sizeof(sel->daddr), in xfrm_selector_print()
765 rt_addr_n2a(family, sizeof(e->encap_oa), in xfrm_xfrma_print()
794 rt_addr_n2a(family, sizeof(*coa), coa, in xfrm_xfrma_print()
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.c599 fprintf(fp, "%s", rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
609 rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
619 rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
626 rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
Diproute.c337 fprintf(fp, "%s/%u ", rt_addr_n2a(r->rtm_family, in print_route()
357 fprintf(fp, "from %s/%u ", rt_addr_n2a(r->rtm_family, in print_route()
401 rt_addr_n2a(r->rtm_family, in print_route()
Diptunnel.c319 p->iph.saddr ? rt_addr_n2a(AF_INET, 4, &p->iph.saddr, s2, sizeof(s2)) : "any"); in print_tunnel()
/external/iproute2/include/
Dutils.h99 extern const char *rt_addr_n2a(int af, int len, const void *addr,
/external/iproute2/lib/
Dutils.c523 const char *rt_addr_n2a(int af, int len, const void *addr, char *buf, int buflen) in rt_addr_n2a() function
632 return rt_addr_n2a(af, len, addr, buf, buflen); in format_host()