Home
last modified time | relevance | path

Searched refs:COUNT_SRC_AS (Results 1 – 17 of 17) sorted by relevance

/dports/net-mgmt/pmacct/pmacct-1.7.5/src/
H A Dpgsql_plugin.c928 if (config.what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS|COUNT_DST_AS) && config.what_to_count & in PG_init_default_values()
948 …if (config.what_to_count & (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SUM_AS)) config.sql_table = pgsql_tabl… in PG_init_default_values()
952 …if (config.what_to_count & (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SUM_AS)) config.sql_table = pgsql_tabl… in PG_init_default_values()
956 …if (config.what_to_count & (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SUM_AS)) config.sql_table = pgsql_tabl… in PG_init_default_values()
960 …if (config.what_to_count & (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SUM_AS)) config.sql_table = pgsql_tabl… in PG_init_default_values()
964 …if (config.what_to_count & (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SUM_AS)) config.sql_table = pgsql_tabl… in PG_init_default_values()
H A Duacctd.c543 list->cfg.what_to_count |= COUNT_SRC_AS; in main()
612 list->cfg.what_to_count |= COUNT_SRC_AS; in main()
682 if (list->cfg.what_to_count & (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SUM_AS)) { in main()
H A Dpmacct-defines.h279 #define COUNT_SRC_AS (COUNT_INT_SRC_AS & COUNT_REGISTRY_MASK) macro
H A Dpmacctd.c669 list->cfg.what_to_count |= COUNT_SRC_AS; in main()
738 list->cfg.what_to_count |= COUNT_SRC_AS; in main()
808 if (list->cfg.what_to_count & (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SUM_AS)) { in main()
H A Dprint_plugin.c622 … if (config.what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) fprintf(f, "%-10u ", data->src_as); in P_cache_purge()
902 …if (config.what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) fprintf(f, "%s%u", write_sep(sep, &count),… in P_cache_purge()
1377 if (config.what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) fprintf(f, "SRC_AS "); in P_write_stats_header_formatted()
1488 …if (config.what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) fprintf(f, "%sSRC_AS", write_sep(sep, &cou… in P_write_stats_header_csv()
H A Dplugin_cmn_avro.c90 if (wtc & (COUNT_SRC_AS|COUNT_SUM_AS)) in p_avro_schema_build_acct_data()
481 if (wtc & (COUNT_SRC_AS|COUNT_SUM_AS)) { in compose_avro_acct_data()
H A Dpmacct.c279 if (what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) printf("SRC_AS "); in write_stats_header_formatted()
492 if (what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) printf("%sSRC_AS", write_sep(sep, &count)); in write_stats_header_csv()
866 what_to_count |= COUNT_SRC_AS; in main()
2249 if (!have_wtc || (what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS))) { in main()
3328 …if (wtc & COUNT_SRC_AS) json_object_set_new_nocheck(obj, "as_src", json_integer((json_int_t)pbase-… in pmc_compose_json()
H A Dsql_common.c1134 config.what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) || (config.what_to_count & COUNT_DST_AS in sql_evaluate_primitives()
1204 if (config.what_to_count & COUNT_SRC_AS) what_to_count |= COUNT_SRC_AS; in sql_evaluate_primitives()
1209 what_to_count |= COUNT_SRC_AS; in sql_evaluate_primitives()
1220 if (what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) { in sql_evaluate_primitives()
1524 if (what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) { in sql_evaluate_primitives()
H A Dserver.c523 if (w & COUNT_SRC_AS) d1->src_as = s1->src_as; in mask_elem()
H A Dplugin_cmn_json.c107 if (wtc & (COUNT_SRC_AS|COUNT_SUM_AS)) { in compose_json()
H A Dmongodb_plugin.c511 …if (config.what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) bson_append_int(bson_elem, "as_src", data-… in MongoDB_cache_purge()
H A Dpkt_handlers.c208 if (channels_list[index].aggregation & (COUNT_SRC_AS|COUNT_SUM_AS)) { in evaluate_packet_handlers()
391 … COUNT_SRC_EXT_COMM|COUNT_SRC_MED|COUNT_SRC_LOCAL_PREF|COUNT_SRC_AS| in evaluate_packet_handlers()
3831 if (chptr->aggregation & COUNT_SRC_AS && info->attr->aspath) { in bgp_ext_handler()
4400 if (chptr->aggregation & COUNT_SRC_AS && info->attr->aspath) { in sfprobe_bgp_ext_handler()
4438 if (chptr->aggregation & COUNT_SRC_AS && info->attr->aspath) { in nfprobe_bgp_ext_handler()
H A Dnet_aggr.c579 if (config.what_to_count & (COUNT_SRC_AS|COUNT_SUM_AS)) { in set_net_funcs()
H A Dsfacctd.c517 if (list->cfg.what_to_count & (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SUM_AS)) { in main()
H A Dnfacctd.c526 if (list->cfg.what_to_count & (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SUM_AS)) { in main()
/dports/net-mgmt/pmacct/pmacct-1.7.5/src/sfprobe_plugin/
H A Dsfprobe_plugin.c707 config.what_to_count |= (COUNT_SRC_AS|COUNT_DST_AS|COUNT_SRC_NMASK|COUNT_DST_NMASK); in sfprobe_plugin()
/dports/net-mgmt/pmacct/pmacct-1.7.5/src/nfprobe_plugin/
H A Dnetflow9.c978 if (config.nfprobe_what_to_count & COUNT_SRC_AS) { in nf9_init_template()
1391 if (config.nfprobe_what_to_count & COUNT_SRC_AS) { in nf9_init_template()