Skip to content

Commit 88aa6cc

Browse files
committed
ipfix - Add mpls label element
1 parent 4065301 commit 88aa6cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/ipfixprobe/ipfix-elements.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ namespace ipxp {
277277
#define NTS_TIME_DISTRIBUTION(F) F(8057, 1031, 4, nullptr)
278278
#define NTS_SWITCHING_RATIO(F) F(8057, 1032, 4, nullptr)
279279

280+
#define MPLS_TOP_LABEL_STACK_SECTION F(0, 70, -1, nullptr)
281+
280282

281283
/**
282284
* IPFIX Templates - list of elements
@@ -534,6 +536,9 @@ namespace ipxp {
534536
#define IPFIX_FLOW_HASH_TEMPLATE(F) \
535537
F(FLOW_ID)
536538

539+
#define IPFIX_MPLS_TEMPLATE(F) \
540+
F(MPLS_TOP_LABEL_STACK_SECTION)
541+
537542
#ifdef WITH_FLEXPROBE
538543
#define IPFIX_FLEXPROBE_DATA_TEMPLATE(F) F(FX_FRAME_SIGNATURE) F(FX_INPUT_INTERFACE)
539544
#define IPFIX_FLEXPROBE_TCP_TEMPLATE(F) F(FX_TCP_TRACKING)

0 commit comments

Comments
 (0)