Searched refs:dstnet (Results 1 - 6 of 6) sorted by relevance
/openbsd-current/usr.sbin/ospfctl/ |
H A D | output.c | 280 char *dstnet; local 292 if (asprintf(&dstnet, "%s/%d", 301 if (asprintf(&dstnet, "%s", 309 printf("%-18s %-15s ", dstnet, inet_ntoa(rt->nexthop)); 312 free(dstnet); 324 if (asprintf(&dstnet, "%s/%d", inet_ntoa(rt->prefix), 328 printf("%-18s %-15s ", dstnet, inet_ntoa(rt->nexthop)); 332 free(dstnet); 342 if (asprintf(&dstnet, "%s/%d", inet_ntoa(rt->prefix), 347 if (asprintf(&dstnet, " [all...] |
/openbsd-current/usr.sbin/ospf6ctl/ |
H A D | ospf6ctl.c | 1093 char *dstnet; local 1100 if (asprintf(&dstnet, "%s/%d", log_in6addr(&rt->prefix), 1105 if (asprintf(&dstnet, "%s", 1113 printf("%-20s %-16s%s %-12s %-9s %-7d %s\n", dstnet, 1118 free(dstnet); 1190 char *dstnet; local 1205 if (asprintf(&dstnet, "%s/%d", 1215 if (asprintf(&dstnet, "%s", 1223 printf("%-18s %-15s ", dstnet, 1227 free(dstnet); [all...] |
/openbsd-current/usr.sbin/ripctl/ |
H A D | ripctl.c | 343 char *dstnet; local 348 if (asprintf(&dstnet, "%s/%d", inet_ntoa(rt->prefix), 352 printf("%-20s %-17s %-7d\n", dstnet, 355 free(dstnet);
|
/openbsd-current/usr.sbin/dvmrpctl/ |
H A D | dvmrpctl.c | 535 char *dstnet; local 540 if (asprintf(&dstnet, "%s/%d", inet_ntoa(rt->prefix), 544 printf("%-20s %-17s %-7d %-9s %9s\n", dstnet, 550 free(dstnet);
|
/openbsd-current/usr.sbin/eigrpctl/ |
H A D | eigrpctl.c | 496 char *dstnet, *nexthop, *rdistance; local 519 if (asprintf(&dstnet, "%s/%d", log_addr(rt->af, &rt->prefix), 537 dstnet); 538 if (strlen(dstnet) > 18) 544 free(dstnet); 562 char *dstnet = NULL, *state = NULL, *type, *nexthop; local 577 if (asprintf(&dstnet, "%s/%d", log_addr(rt->af, 608 printf("Network %s\n", dstnet); 645 free(dstnet);
|
/openbsd-current/usr.sbin/ldpctl/ |
H A D | ldpctl.c | 403 char *dstnet; local 412 if (asprintf(&dstnet, "%s/%d", log_addr(rt->af, &rt->prefix), 416 printf("%-4s %-20s", af_name(rt->af), dstnet); 417 if (strlen(dstnet) > 20) 423 free(dstnet);
|
Completed in 141 milliseconds