Searched refs:COUNT_PEER_SRC_AS (Results 1 – 13 of 13) sorted by relevance
/dports/net-mgmt/pmacct/pmacct-1.7.5/src/ |
H A D | pmacct-defines.h | 296 #define COUNT_PEER_SRC_AS (COUNT_INT_PEER_SRC_AS & COUNT_REGISTRY_MASK) macro
|
H A D | print_plugin.c | 633 if (config.what_to_count & COUNT_PEER_SRC_AS) fprintf(f, "%-10u ", pbgp->peer_src_as); in P_cache_purge() 1038 …if (config.what_to_count & COUNT_PEER_SRC_AS) fprintf(f, "%s%u", write_sep(sep, &count), pbgp->pee… in P_cache_purge() 1385 if (config.what_to_count & COUNT_PEER_SRC_AS) fprintf(f, "PEER_SRC_AS "); in P_write_stats_header_formatted() 1504 if (config.what_to_count & COUNT_PEER_SRC_AS) fprintf(f, "%sPEER_SRC_AS", write_sep(sep, &count)); in P_write_stats_header_csv()
|
H A D | uacctd.c | 567 … COUNT_PEER_SRC_AS|COUNT_PEER_DST_AS|COUNT_PEER_SRC_IP|COUNT_SRC_STD_COMM| in main() 625 … COUNT_PEER_SRC_AS|COUNT_PEER_DST_AS|COUNT_PEER_SRC_IP|COUNT_SRC_STD_COMM| in main()
|
H A D | plugin_cmn_avro.c | 117 if (wtc & COUNT_PEER_SRC_AS) in p_avro_schema_build_acct_data() 566 if (wtc & COUNT_PEER_SRC_AS) { in compose_avro_acct_data()
|
H A D | pmacctd.c | 693 … COUNT_PEER_SRC_AS|COUNT_PEER_DST_AS|COUNT_PEER_SRC_IP|COUNT_SRC_STD_COMM| in main() 751 … COUNT_PEER_SRC_AS|COUNT_PEER_DST_AS|COUNT_PEER_SRC_IP|COUNT_SRC_STD_COMM| in main()
|
H A D | pmacct.c | 295 if (what_to_count & COUNT_PEER_SRC_AS) printf("PEER_SRC_AS "); in write_stats_header_formatted() 508 if (what_to_count & COUNT_PEER_SRC_AS) printf("%sPEER_SRC_AS", write_sep(sep, &count)); in write_stats_header_csv() 974 what_to_count |= COUNT_PEER_SRC_AS; in main() 2417 if (!have_wtc || (what_to_count & COUNT_PEER_SRC_AS)) { in main() 3389 …if (wtc & COUNT_PEER_SRC_AS) json_object_set_new_nocheck(obj, "peer_as_src", json_integer((json_in… in pmc_compose_json()
|
H A D | server.c | 567 if (w & COUNT_PEER_SRC_AS) d2->peer_src_as = s2->peer_src_as; in mask_elem()
|
H A D | plugin_cmn_json.c | 152 if (wtc & COUNT_PEER_SRC_AS) { in compose_json()
|
H A D | mongodb_plugin.c | 570 …if (config.what_to_count & COUNT_PEER_SRC_AS) bson_append_int(bson_elem, "peer_as_src", pbgp->peer… in MongoDB_cache_purge()
|
H A D | pkt_handlers.c | 317 if (channels_list[index].aggregation & COUNT_PEER_SRC_AS) { in evaluate_packet_handlers() 392 COUNT_DST_AS|COUNT_PEER_SRC_AS) || in evaluate_packet_handlers() 436 if (channels_list[index].aggregation & COUNT_PEER_SRC_AS) { in evaluate_packet_handlers() 2050 if (chptr->aggregation & COUNT_PEER_SRC_AS) pbgp->peer_src_as = pdata->primitives.src_as; in NF_src_as_handler() 4042 …if (chptr->aggregation & COUNT_PEER_SRC_AS && config.bgp_daemon_peer_as_src_type & BGP_SRC_PRIMITI… in bgp_ext_handler() 4777 if (chptr->aggregation & COUNT_PEER_SRC_AS) pbgp->peer_src_as = pdata->primitives.src_as; in SF_src_as_handler()
|
H A D | sql_common.c | 1183 if (config.what_to_count & COUNT_PEER_SRC_AS) what_to_count |= COUNT_PEER_SRC_AS; in sql_evaluate_primitives() 1924 if (what_to_count & COUNT_PEER_SRC_AS) { in sql_evaluate_primitives()
|
H A D | net_aggr.c | 586 if (config.what_to_count & COUNT_PEER_SRC_AS) { in set_net_funcs()
|
/dports/net-mgmt/pmacct/pmacct-1.7.5/src/bgp/ |
H A D | bgp_util.c | 1123 if (c->what_to_count & (COUNT_LOCAL_PREF|COUNT_MED|COUNT_PEER_SRC_AS|COUNT_PEER_DST_AS| in bgp_config_checks() 1129 (c->what_to_count & COUNT_PEER_SRC_AS && !c->bgp_daemon_peer_as_src_type && in bgp_config_checks()
|