Lines Matching refs:asprintf
138 if (asprintf(&header, "%s (Area %s)", format, in show_rib_head()
155 if (asprintf(&netid, "%s/%d", inet_ntoa(iface->addr), in show_interface()
245 if (asprintf(&state, "%s/%s", nbr_state_name(nbr->nbr_state), in show_neighbor()
292 if (asprintf(&dstnet, "%s/%d", in show_rib()
301 if (asprintf(&dstnet, "%s", in show_rib()
324 if (asprintf(&dstnet, "%s/%d", inet_ntoa(rt->prefix), in show_rib()
342 if (asprintf(&dstnet, "%s/%d", inet_ntoa(rt->prefix), in show_rib()
347 if (asprintf(&dstnet, "%s", in show_rib()
386 if (asprintf(&p, "%s/%u", inet_ntoa(k->prefix), k->prefixlen) == -1) in show_fib()
457 if (asprintf(&format, "LSA type %x", ntohs(type)) == -1) in show_database_head()
463 if (asprintf(&header, "%s (Area %s Interface %s)", format, in show_database_head()
467 if (asprintf(&header, "%s (Area %s)", format, in show_database_head()