Home
last modified time | relevance | path

Searched refs:mpls_label_bottom (Results 1 – 18 of 18) sorted by relevance

/dports/net-mgmt/pmacct/pmacct-1.7.5/sql/
H A DREADME.mpls16 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 DREADME.sqlite3160 * mpls_label_bottom => mpls_label_bottom (INT(4) NOT NULL DEFAULT 0)
H A DREADME.mysql159 * mpls_label_bottom => mpls_label_bottom (INT(4) UNSIGNED NOT NULL)
H A DREADME.pgsql145 * mpls_label_bottom => mpls_label_bottom (INT NOT NULL DEFAULT 0)
/dports/net-mgmt/pmacct/pmacct-1.7.5/examples/
H A Dflow_to_rd.map.example7 ! 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 Dpretag.h176 pt_uint32_t mpls_label_bottom; member
H A Dpretag_handlers.c397 …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 Dnetwork.h579 u_int32_t mpls_label_bottom; member
H A Dserver.c599 if (w2 & COUNT_MPLS_LABEL_BOTTOM) d4->mpls_label_bottom = s4->mpls_label_bottom; in mask_elem()
H A Dpmacct.c1887 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 Dsql_handlers.c333 …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 Dprint_plugin.c749 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 Dplugin_cmn_json.c978 …_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 Dmongodb_plugin.c751 …COUNT_MPLS_LABEL_BOTTOM) bson_append_int(bson_elem, "mpls_label_bottom", pmpls->mpls_label_bottom); in MongoDB_cache_purge()
H A Dplugin_cmn_avro.c855 pm_avro_check(avro_value_set_long(&field, pmpls->mpls_label_bottom)); in compose_avro_acct_data()
H A Dpkt_handlers.c1034 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 DCONFIG-KEYS57 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 DChangeLog585 + sfacctd: implemented mpls_label_top, mpls_label_bottom and
1894 IPFIX, mpls_label_top mpls_label_bottom and mpls_stack_depth, so to give