Symbol: json_do_string
usr.sbin/bgpctl/json.c
218
json_do_string(name, str);
usr.sbin/bgpctl/json.h
29
void json_do_string(const char *, const char *);
usr.sbin/bgpctl/output_json.c
1004
json_do_string("name", set->name);
usr.sbin/bgpctl/output_json.c
1005
json_do_string("type", fmt_set_type(set));
usr.sbin/bgpctl/output_json.c
1006
json_do_string("last_change", fmt_monotime(set->lastchange));
usr.sbin/bgpctl/output_json.c
1024
json_do_string("descr", rtr->descr);
usr.sbin/bgpctl/output_json.c
1025
json_do_string("remote_addr", log_addr(&rtr->remote_addr));
usr.sbin/bgpctl/output_json.c
1028
json_do_string("local_addr", log_addr(&rtr->local_addr));
usr.sbin/bgpctl/output_json.c
1029
json_do_string("state", rtr->state);
usr.sbin/bgpctl/output_json.c
1042
json_do_string("last_sent_error",
usr.sbin/bgpctl/output_json.c
1045
json_do_string("last_sent_msg",
usr.sbin/bgpctl/output_json.c
1049
json_do_string("last_recv_error",
usr.sbin/bgpctl/output_json.c
1052
json_do_string("last_recv_msg",
usr.sbin/bgpctl/output_json.c
1061
json_do_string("status", "OK");
usr.sbin/bgpctl/output_json.c
1064
json_do_string("status", "FAILED");
usr.sbin/bgpctl/output_json.c
1067
json_do_string("status", "FAILED");
usr.sbin/bgpctl/output_json.c
1068
json_do_string("error", ctl_res_strerror[rescode]);
usr.sbin/bgpctl/output_json.c
112
json_do_string("family", aid2str(i));
usr.sbin/bgpctl/output_json.c
115
json_do_string("mode", "recv");
usr.sbin/bgpctl/output_json.c
118
json_do_string("mode", "send");
usr.sbin/bgpctl/output_json.c
121
json_do_string("mode", "bidir");
usr.sbin/bgpctl/output_json.c
134
json_do_string("open_policy",
usr.sbin/bgpctl/output_json.c
145
json_do_string("last_read", fmt_monotime(p->stats.last_read));
usr.sbin/bgpctl/output_json.c
147
json_do_string("last_write", fmt_monotime(p->stats.last_write));
usr.sbin/bgpctl/output_json.c
262
json_do_string("authentication",
usr.sbin/bgpctl/output_json.c
268
json_do_string("role", log_policy(p->conf.role));
usr.sbin/bgpctl/output_json.c
281
json_do_string("my_shutdown_reason",
usr.sbin/bgpctl/output_json.c
284
json_do_string("last_shutdown_reason",
usr.sbin/bgpctl/output_json.c
289
json_do_string("last_error_sent", errstr);
usr.sbin/bgpctl/output_json.c
293
json_do_string("last_error_received", errstr);
usr.sbin/bgpctl/output_json.c
302
json_do_string("address", log_addr(&p->local));
usr.sbin/bgpctl/output_json.c
308
json_do_string("address", log_addr(&p->remote));
usr.sbin/bgpctl/output_json.c
317
json_do_string("remote_role",
usr.sbin/bgpctl/output_json.c
319
json_do_string("local_role",
usr.sbin/bgpctl/output_json.c
333
json_do_string("remote_as", log_as(p->conf.remote_as));
usr.sbin/bgpctl/output_json.c
335
json_do_string("description", p->conf.descr);
usr.sbin/bgpctl/output_json.c
337
json_do_string("group", p->conf.group);
usr.sbin/bgpctl/output_json.c
339
json_do_string("remote_addr", log_addr(&p->conf.remote_addr));
usr.sbin/bgpctl/output_json.c
346
json_do_string("bgpid", inet_ntoa(ina));
usr.sbin/bgpctl/output_json.c
348
json_do_string("state", statenames[p->state]);
usr.sbin/bgpctl/output_json.c
349
json_do_string("last_updown", fmt_monotime(p->stats.last_updown));
usr.sbin/bgpctl/output_json.c
376
json_do_string("name", timernames[t->type]);
usr.sbin/bgpctl/output_json.c
400
json_do_string("origin", origin);
usr.sbin/bgpctl/output_json.c
408
json_do_string("nexthop", log_addr(&kf->nexthop));
usr.sbin/bgpctl/output_json.c
426
json_do_string("description", kt->descr);
usr.sbin/bgpctl/output_json.c
437
json_do_string("name", iface->ifname);
usr.sbin/bgpctl/output_json.c
443
json_do_string("media", iface->media);
usr.sbin/bgpctl/output_json.c
445
json_do_string("linkstate", iface->linkstate);
usr.sbin/bgpctl/output_json.c
459
json_do_string("address", log_addr(&nh->addr));
usr.sbin/bgpctl/output_json.c
469
json_do_string("nexthop", log_addr(&nh->kr.nexthop));
usr.sbin/bgpctl/output_json.c
500
json_do_string("community",
usr.sbin/bgpctl/output_json.c
505
json_do_string("community",
usr.sbin/bgpctl/output_json.c
525
json_do_string("community", fmt_ext_community(ext));
usr.sbin/bgpctl/output_json.c
541
json_do_string("error", "bad length");
usr.sbin/bgpctl/output_json.c
544
json_do_string("community", fmt_community(a, v));
usr.sbin/bgpctl/output_json.c
561
json_do_string("error", "bad length");
usr.sbin/bgpctl/output_json.c
564
json_do_string("community", fmt_large_community(a, l1, l2));
usr.sbin/bgpctl/output_json.c
578
json_do_string("error", "bad length");
usr.sbin/bgpctl/output_json.c
581
json_do_string("community", fmt_ext_community(ext));
usr.sbin/bgpctl/output_json.c
606
json_do_string("type", fmt_attr(type, -1));
usr.sbin/bgpctl/output_json.c
635
json_do_string("origin", fmt_origin(origin, 0));
usr.sbin/bgpctl/output_json.c
646
json_do_string("error",
usr.sbin/bgpctl/output_json.c
652
json_do_string("error", "bad AS-Path");
usr.sbin/bgpctl/output_json.c
657
json_do_string("aspath", aspath);
usr.sbin/bgpctl/output_json.c
664
json_do_string("nexthop", inet_ntoa(id));
usr.sbin/bgpctl/output_json.c
687
json_do_string("router_id", inet_ntoa(id));
usr.sbin/bgpctl/output_json.c
69
json_do_string("mp", aid2str(i));
usr.sbin/bgpctl/output_json.c
695
json_do_string("originator", inet_ntoa(id));
usr.sbin/bgpctl/output_json.c
702
json_do_string("cluster_id", inet_ntoa(id));
usr.sbin/bgpctl/output_json.c
717
json_do_string("family", aid2str(aid));
usr.sbin/bgpctl/output_json.c
761
json_do_string("nexthop", log_addr(&nexthop));
usr.sbin/bgpctl/output_json.c
819
json_do_string("error", "bad length");
usr.sbin/bgpctl/output_json.c
836
json_do_string("aspath", aspath);
usr.sbin/bgpctl/output_json.c
839
json_do_string("exit_nexthop", log_addr(&r->exit_nexthop));
usr.sbin/bgpctl/output_json.c
840
json_do_string("true_nexthop", log_addr(&r->true_nexthop));
usr.sbin/bgpctl/output_json.c
844
json_do_string("description", r->descr);
usr.sbin/bgpctl/output_json.c
845
json_do_string("remote_addr", log_addr(&r->remote_addr));
usr.sbin/bgpctl/output_json.c
847
json_do_string("bgp_id", inet_ntoa(id));
usr.sbin/bgpctl/output_json.c
864
json_do_string("source", "internal");
usr.sbin/bgpctl/output_json.c
866
json_do_string("source", "external");
usr.sbin/bgpctl/output_json.c
873
json_do_string("ovs", fmt_ovs(r->roa_validation_state, 0));
usr.sbin/bgpctl/output_json.c
874
json_do_string("avs", fmt_avs(r->aspa_validation_state, 0));
usr.sbin/bgpctl/output_json.c
875
json_do_string("origin", fmt_origin(r->origin, 0));
usr.sbin/bgpctl/output_json.c
880
json_do_string("last_update", fmt_monotime(r->lastchange));
usr.sbin/bgpctl/output_json.c
96
json_do_string("family", aid2str(i));
usr.sbin/radiusctl/json.c
218
json_do_string(name, str);
usr.sbin/radiusctl/json.h
29
void json_do_string(const char *, const char *);
usr.sbin/radiusctl/radiusctl.c
831
json_do_string("action", "start");
usr.sbin/radiusctl/radiusctl.c
859
json_do_string("action", "start");
usr.sbin/radiusctl/radiusctl.c
861
json_do_string("action", "stop");
usr.sbin/radiusctl/radiusctl.c
869
json_do_string("terminate-cause", stat->cause);
usr.sbin/radiusctl/radiusctl.c
887
json_do_string("session-id", dump->records[idx].rec.session_id);
usr.sbin/radiusctl/radiusctl.c
888
json_do_string("username", dump->records[idx].rec.username);
usr.sbin/radiusctl/radiusctl.c
889
json_do_string("auth-method", dump->records[idx].rec.auth_method);
usr.sbin/radiusctl/radiusctl.c
890
json_do_string("assigned-ip-address", inet_ntop(dump->records[idx].af,
usr.sbin/radiusctl/radiusctl.c
896
json_do_string("nas-identifier", dump->records[idx].rec.nas_id);
usr.sbin/radiusctl/radiusctl.c
897
json_do_string("tunnel-type", dump->records[idx].rec.tun_type);
usr.sbin/radiusctl/radiusctl.c
898
json_do_string("tunnel-from",
usr.sbin/rpki-client/filemode.c
488
json_do_string("file", file);
usr.sbin/rpki-client/filemode.c
489
json_do_string("hash_id", hash);
usr.sbin/rpki-client/filemode.c
626
json_do_string("tal", tal->descr);
usr.sbin/rpki-client/filemode.c
684
json_do_string("validation", valid);
usr.sbin/rpki-client/filemode.c
686
json_do_string("error", errstr);
usr.sbin/rpki-client/json.c
218
json_do_string(name, str);
usr.sbin/rpki-client/json.h
29
void json_do_string(const char *, const char *);
usr.sbin/rpki-client/output-json.c
141
json_do_string("prefix", buf);
usr.sbin/rpki-client/output-json.c
145
json_do_string("ta", taldescs[vsp->talid]);
usr.sbin/rpki-client/output-json.c
168
json_do_string("prefix", buf);
usr.sbin/rpki-client/output-json.c
170
json_do_string("ta", taldescs[v->talid]);
usr.sbin/rpki-client/output-json.c
180
json_do_string("ski", b->ski);
usr.sbin/rpki-client/output-json.c
181
json_do_string("pubkey", b->pubkey);
usr.sbin/rpki-client/output-json.c
182
json_do_string("ta", taldescs[b->talid]);
usr.sbin/rpki-client/output-json.c
191
json_do_string("location", nca->location);
usr.sbin/rpki-client/output-json.c
192
json_do_string("ta", taldescs[nca->talid]);
usr.sbin/rpki-client/output-json.c
193
json_do_string("caRepository", nca->carepo);
usr.sbin/rpki-client/output-json.c
194
json_do_string("rpkiManifest", nca->mfturi);
usr.sbin/rpki-client/output-json.c
195
json_do_string("ski", nca->ski);
usr.sbin/rpki-client/output-json.c
40
json_do_string("buildmachine", hn);
usr.sbin/rpki-client/output-json.c
41
json_do_string("buildtime", tbuf);
usr.sbin/rpki-client/output-json.c
46
json_do_string("ccr_mfts_hash", vd->ccr.mfts_hash);
usr.sbin/rpki-client/output-json.c
47
json_do_string("ccr_vrps_hash", vd->ccr.vrps_hash);
usr.sbin/rpki-client/output-json.c
48
json_do_string("ccr_vaps_hash", vd->ccr.vaps_hash);
usr.sbin/rpki-client/output-json.c
49
json_do_string("ccr_brks_hash", vd->ccr.brks_hash);
usr.sbin/rpki-client/output-json.c
50
json_do_string("ccr_tas_hash", vd->ccr.tas_hash);
usr.sbin/rpki-client/output-json.c
73
json_do_string("name", tals[i]);
usr.sbin/rpki-client/print.c
1014
json_do_string("hash", ccr->brks_hash);
usr.sbin/rpki-client/print.c
1019
json_do_string("ski", brk->ski);
usr.sbin/rpki-client/print.c
1020
json_do_string("pubkey", brk->pubkey);
usr.sbin/rpki-client/print.c
1041
json_do_string("type", "ccr");
usr.sbin/rpki-client/print.c
117
json_do_string("type", "tal");
usr.sbin/rpki-client/print.c
118
json_do_string("name", p->descr);
usr.sbin/rpki-client/print.c
119
json_do_string("ski", ski);
usr.sbin/rpki-client/print.c
122
json_do_string("tal", p->uri[i]);
usr.sbin/rpki-client/print.c
167
json_do_string("cert_issuer", issuer);
usr.sbin/rpki-client/print.c
168
json_do_string("cert_serial", serial);
usr.sbin/rpki-client/print.c
251
json_do_string("ip_prefix", buf1);
usr.sbin/rpki-client/print.c
265
json_do_string("min", buf1);
usr.sbin/rpki-client/print.c
266
json_do_string("max", buf2);
usr.sbin/rpki-client/print.c
287
json_do_string("type", "router_key");
usr.sbin/rpki-client/print.c
289
json_do_string("type", "ca_cert");
usr.sbin/rpki-client/print.c
290
json_do_string("ski", p->ski);
usr.sbin/rpki-client/print.c
292
json_do_string("aki", p->aki);
usr.sbin/rpki-client/print.c
295
json_do_string("aia", p->aia);
usr.sbin/rpki-client/print.c
297
json_do_string("manifest", p->mft);
usr.sbin/rpki-client/print.c
299
json_do_string("carepository", p->repo);
usr.sbin/rpki-client/print.c
301
json_do_string("notify_url", p->notify);
usr.sbin/rpki-client/print.c
303
json_do_string("router_key", p->pubkey);
usr.sbin/rpki-client/print.c
387
json_do_string("type", "crl");
usr.sbin/rpki-client/print.c
388
json_do_string("aki", p->aki);
usr.sbin/rpki-client/print.c
399
json_do_string("crl_issuer", issuer);
usr.sbin/rpki-client/print.c
400
json_do_string("crl_serial", number);
usr.sbin/rpki-client/print.c
434
json_do_string("serial", serial);
usr.sbin/rpki-client/print.c
435
json_do_string("date", time2str(t));
usr.sbin/rpki-client/print.c
457
json_do_string("type", "manifest");
usr.sbin/rpki-client/print.c
458
json_do_string("ski", c->ski);
usr.sbin/rpki-client/print.c
460
json_do_string("aki", c->aki);
usr.sbin/rpki-client/print.c
461
json_do_string("aia", c->aia);
usr.sbin/rpki-client/print.c
462
json_do_string("sia", c->signedobj);
usr.sbin/rpki-client/print.c
463
json_do_string("manifest_number", p->seqnum);
usr.sbin/rpki-client/print.c
493
json_do_string("filename", p->files[i].file);
usr.sbin/rpki-client/print.c
494
json_do_string("hash", hash);
usr.sbin/rpki-client/print.c
516
json_do_string("type", "roa");
usr.sbin/rpki-client/print.c
517
json_do_string("ski", c->ski);
usr.sbin/rpki-client/print.c
519
json_do_string("aki", c->aki);
usr.sbin/rpki-client/print.c
520
json_do_string("aia", c->aia);
usr.sbin/rpki-client/print.c
521
json_do_string("sia", c->signedobj);
usr.sbin/rpki-client/print.c
548
json_do_string("prefix", buf);
usr.sbin/rpki-client/print.c
569
json_do_string("type", "spl");
usr.sbin/rpki-client/print.c
570
json_do_string("ski", c->ski);
usr.sbin/rpki-client/print.c
572
json_do_string("aki", c->aki);
usr.sbin/rpki-client/print.c
573
json_do_string("aia", c->aia);
usr.sbin/rpki-client/print.c
574
json_do_string("sia", c->signedobj);
usr.sbin/rpki-client/print.c
602
json_do_string("prefix", buf);
usr.sbin/rpki-client/print.c
620
json_do_string("type", "rsc");
usr.sbin/rpki-client/print.c
621
json_do_string("ski", c->ski);
usr.sbin/rpki-client/print.c
623
json_do_string("aki", c->aki);
usr.sbin/rpki-client/print.c
624
json_do_string("aia", c->aia);
usr.sbin/rpki-client/print.c
660
json_do_string("filename",
usr.sbin/rpki-client/print.c
662
json_do_string("hash_digest", hash);
usr.sbin/rpki-client/print.c
685
json_do_string("type", "aspa");
usr.sbin/rpki-client/print.c
686
json_do_string("ski", c->ski);
usr.sbin/rpki-client/print.c
688
json_do_string("aki", c->aki);
usr.sbin/rpki-client/print.c
689
json_do_string("aia", c->aia);
usr.sbin/rpki-client/print.c
690
json_do_string("sia", c->signedobj);
usr.sbin/rpki-client/print.c
737
json_do_string("name", name);
usr.sbin/rpki-client/print.c
740
json_do_string("comment", t->comments[i]);
usr.sbin/rpki-client/print.c
744
json_do_string("uri", t->uris[i]);
usr.sbin/rpki-client/print.c
746
json_do_string("spki", spki);
usr.sbin/rpki-client/print.c
771
json_do_string("type", "tak");
usr.sbin/rpki-client/print.c
772
json_do_string("ski", c->ski);
usr.sbin/rpki-client/print.c
774
json_do_string("aki", c->aki);
usr.sbin/rpki-client/print.c
775
json_do_string("aia", c->aia);
usr.sbin/rpki-client/print.c
776
json_do_string("sia", c->signedobj);
usr.sbin/rpki-client/print.c
815
json_do_string("hash", ccr->mfts_hash);
usr.sbin/rpki-client/print.c
833
json_do_string("hash", hash);
usr.sbin/rpki-client/print.c
835
json_do_string("aki", aki);
usr.sbin/rpki-client/print.c
836
json_do_string("seqnum", ccr_mft->seqnum);
usr.sbin/rpki-client/print.c
838
json_do_string("sia", ccr_mft->sia);
usr.sbin/rpki-client/print.c
843
json_do_string("ski", ski);
usr.sbin/rpki-client/print.c
891
json_do_string("hash", ccr->vrps_hash);
usr.sbin/rpki-client/print.c
903
json_do_string("prefix", buf);
usr.sbin/rpki-client/print.c
930
json_do_string("hash", ccr->vaps_hash);
usr.sbin/rpki-client/print.c
978
json_do_string("hash", ccr->tas_hash);
usr.sbin/rpki-client/print.c
989
json_do_string("ski", ski);