Searched refs:asbuf (Results 1 – 7 of 7) sorted by relevance
| /openbsd/src/usr.sbin/tcpdump/ |
| D | print-cnfp.c | 100 char asbuf[7]; in cnfp_print() local 106 asbuf[0] = buf[0] = '\0'; in cnfp_print() 110 snprintf(asbuf, sizeof asbuf, ":%d", in cnfp_print() 113 printf("\n %s%s%s:%u ", inet_ntoa(nr->src_ina), buf, asbuf, in cnfp_print() 119 snprintf(asbuf, sizeof asbuf, ":%d", in cnfp_print() 122 printf("> %s%s%s:%u ", inet_ntoa(nr->dst_ina), buf, asbuf, in cnfp_print()
|
| /openbsd/src/usr.sbin/bgpctl/ |
| D | mrtparser.c | 813 struct ibuf *asbuf; in mrt_aspath_inflate() local 818 asbuf = aspath_inflate(buf); in mrt_aspath_inflate() 819 if (asbuf == NULL) in mrt_aspath_inflate() 822 len = ibuf_size(asbuf); in mrt_aspath_inflate() 825 if (ibuf_get(asbuf, data, len) == -1) { in mrt_aspath_inflate() 826 ibuf_free(asbuf); in mrt_aspath_inflate() 829 ibuf_free(asbuf); in mrt_aspath_inflate()
|
| D | output.c | 765 struct ibuf asbuf, *path = NULL; in show_attr() local 808 ibuf_from_ibuf(&asbuf, buf); in show_attr() 814 ibuf_from_ibuf(&asbuf, path); in show_attr() 819 if (aspath_asprint(&aspath, &asbuf) == -1) in show_attr() 982 show_rib_brief(struct ctl_show_rib *r, struct ibuf *asbuf) in show_rib_brief() argument 994 if (aspath_asprint(&aspath, asbuf) == -1) in show_rib_brief() 1004 show_rib_detail(struct ctl_show_rib *r, struct ibuf *asbuf, int flag0) in show_rib_detail() argument 1013 if (aspath_asprint(&aspath, asbuf) == -1) in show_rib_detail()
|
| D | output_json.c | 577 struct ibuf asbuf, *path = NULL; in json_attr() local 628 ibuf_from_ibuf(&asbuf, buf); in json_attr() 635 ibuf_from_ibuf(&asbuf, path); in json_attr() 640 if (aspath_asprint(&aspath, &asbuf) == -1) in json_attr() 808 json_rib(struct ctl_show_rib *r, struct ibuf *asbuf, struct parse_result *res) in json_rib() argument 819 if (aspath_asprint(&aspath, asbuf) == -1) in json_rib()
|
| /openbsd/src/usr.sbin/bgpd/ |
| D | util.c | 275 char asbuf[16]; in log_aspa() local 280 if ((uint64_t)aspa->num > (SIZE_MAX / sizeof(asbuf) - 72)) in log_aspa() 282 needed = aspa->num * sizeof(asbuf) + 72; in log_aspa() 296 snprintf(asbuf, sizeof(asbuf), "%s ", log_as(aspa->tas[i])); in log_aspa() 297 if (strlcat(buf, asbuf, len) >= len) in log_aspa()
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/binutils/ |
| D | ar.c | 1167 struct stat fsbuf, asbuf; in replace_members() local 1175 if (bfd_stat_arch_elt (current, &asbuf) != 0) in replace_members() 1180 if (fsbuf.st_mtime <= asbuf.st_mtime) in replace_members()
|
| /openbsd/src/gnu/usr.bin/binutils/binutils/ |
| D | ar.c | 1294 struct stat fsbuf, asbuf; in replace_members() local 1302 if (bfd_stat_arch_elt (current, &asbuf) != 0) in replace_members() 1307 if (fsbuf.st_mtime <= asbuf.st_mtime) in replace_members()
|