/dports/net-mgmt/pmacct/pmacct-1.7.5/sql/ |
H A D | README.mpls | 16 The 'mpls_label_top', 'mpls_label_bottom' and 'mpls_stack_depth' fields. 18 interfaces. 'mpls_label_top' can be useful to resolve BGP next-hop; 'mpls_label_bottom' 27 * mpls_label_bottom field: 28 - "mpls_label_bottom INT(4) UNSIGNED NOT NULL, " to declare the field itself 29 - "PRIMARY KEY (..., mpls_label_bottom, ...)" to put it in the primary key
|
H A D | README.sqlite3 | 160 * mpls_label_bottom => mpls_label_bottom (INT(4) NOT NULL DEFAULT 0)
|
H A D | README.mysql | 159 * mpls_label_bottom => mpls_label_bottom (INT(4) UNSIGNED NOT NULL)
|
H A D | README.pgsql | 145 * mpls_label_bottom => mpls_label_bottom (INT NOT NULL DEFAULT 0)
|
/dports/net-mgmt/pmacct/pmacct-1.7.5/examples/ |
H A D | flow_to_rd.map.example | 7 ! nfacctd, sfacctd: valid keys: id, ip, in, out, bgp_nexthop, mpls_label_bottom. 28 ! 'mpls_label_bottom' MATCH: MPLS bottom label value.
|
/dports/net-mgmt/pmacct/pmacct-1.7.5/src/ |
H A D | pretag.h | 176 pt_uint32_t mpls_label_bottom; member
|
H A D | pretag_handlers.c | 397 …e->key.mpls_label_bottom.neg = pt_check_neg(&value, &((struct id_table *) req->key_value_table)->f… in BITR_map_mpls_label_bottom_handler() 400 e->key.mpls_label_bottom.n = tmp; in BITR_map_mpls_label_bottom_handler() 2643 if (entry->key.mpls_label_bottom.n == label) return (FALSE | entry->key.mpls_label_bottom.neg); in BITR_mpls_label_bottom_handler() 2646 return (TRUE ^ entry->key.mpls_label_bottom.neg); in BITR_mpls_label_bottom_handler() 2649 return (TRUE ^ entry->key.mpls_label_bottom.neg); in BITR_mpls_label_bottom_handler() 3091 memcpy(&e->key.mpls_label_bottom, &src_e->key.mpls_label_bottom, sizeof(pt_uint32_t)); in PT_map_index_entries_mpls_label_bottom_handler() 3092 …hash_serial_append(hash_serializer, (char *)&src_e->key.mpls_label_bottom.n, sizeof(u_int32_t), TR… in PT_map_index_entries_mpls_label_bottom_handler() 3662 e->key.mpls_label_bottom.n = decode_mpls_label(pptrs->f_data+tpl->tpl[label_idx].off); in PT_map_index_fdata_mpls_label_bottom_handler() 3670 …hash_serial_append(hash_serializer, (char *)&e->key.mpls_label_bottom.n, sizeof(u_int32_t), FALSE); in PT_map_index_fdata_mpls_label_bottom_handler()
|
H A D | network.h | 579 u_int32_t mpls_label_bottom; member
|
H A D | server.c | 599 if (w2 & COUNT_MPLS_LABEL_BOTTOM) d4->mpls_label_bottom = s4->mpls_label_bottom; in mask_elem()
|
H A D | pmacct.c | 1887 request.pmpls.mpls_label_bottom = atoi(match_string_token); in main() 2670 … if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-7u ", pmpls->mpls_label_bottom); in main() 2671 …nt_output & PRINT_OUTPUT_CSV) printf("%s%u", write_sep(sep_ptr, &count), pmpls->mpls_label_bottom); in main() 3592 …ject_set_new_nocheck(obj, "mpls_label_bottom", json_integer((json_int_t)pmpls->mpls_label_bottom)); in pmc_compose_json()
|
H A D | sql_handlers.c | 333 …intf(*ptr_where, SPACELEFT(where_clause), where[num].string, cache_elem->pmpls->mpls_label_bottom); in count_mpls_label_bottom_handler() 334 …f(*ptr_values, SPACELEFT(values_clause), values[num].string, cache_elem->pmpls->mpls_label_bottom); in count_mpls_label_bottom_handler()
|
H A D | print_plugin.c | 749 fprintf(f, "%-7u ", pmpls->mpls_label_bottom); in P_cache_purge() 1128 …_2 & COUNT_MPLS_LABEL_BOTTOM) fprintf(f, "%s%u", write_sep(sep, &count), pmpls->mpls_label_bottom); in P_cache_purge()
|
H A D | plugin_cmn_json.c | 978 …_set_new_nocheck(obj, "mpls_label_bottom", json_integer((json_int_t)cc->pmpls->mpls_label_bottom)); in compose_json_mpls_label_bottom()
|
H A D | mongodb_plugin.c | 751 …COUNT_MPLS_LABEL_BOTTOM) bson_append_int(bson_elem, "mpls_label_bottom", pmpls->mpls_label_bottom); in MongoDB_cache_purge()
|
H A D | plugin_cmn_avro.c | 855 pm_avro_check(avro_value_set_long(&field, pmpls->mpls_label_bottom)); in compose_avro_acct_data()
|
H A D | pkt_handlers.c | 1034 pmpls->mpls_label_bottom = MPLS_LABEL(lvalue); in mpls_label_bottom_handler() 3437 pmpls->mpls_label_bottom = decode_mpls_label(pptrs->f_data+tpl->tpl[label_idx].off); in NF_mpls_label_bottom_handler() 3442 if (!pmpls->mpls_label_bottom) { in NF_mpls_label_bottom_handler() 5301 pmpls->mpls_label_bottom = MPLS_LABEL(lvalue); in SF_mpls_label_bottom_handler()
|
/dports/net-mgmt/pmacct/pmacct-1.7.5/ |
H A D | CONFIG-KEYS | 57 mpls_label_bottom, mpls_stack_depth, sampling_rate, sampling_direction, 105 * mpls_label_top, mpls_label_bottom primitives only include the MPLS label
|
H A D | ChangeLog | 585 + sfacctd: implemented mpls_label_top, mpls_label_bottom and 1894 IPFIX, mpls_label_top mpls_label_bottom and mpls_stack_depth, so to give
|