2 * Copyright (c) 2015-2016 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 /** \brief Configure IPFIX exporter process request
17 @param client_index - opaque cookie to identify the sender
18 @param context - sender context, to match reply w/ request
19 @param collector_address - address of IPFIX collector
20 @param collector_port - port of IPFIX collector
21 @param src_address - address of IPFIX exporter
22 @param vrf_id - VRF / fib table ID
23 @param path_mtu - Path MTU between exporter and collector
24 @param template_interval - number of seconds after which to resend template
25 @param udp_checksum - UDP checksum calculation enable flag
27 autoreply define set_ipfix_exporter
31 u8 collector_address[16];
36 u32 template_interval;
40 /** \brief IPFIX exporter dump request
41 @param client_index - opaque cookie to identify the sender
42 @param context - sender context, to match reply w/ request
44 define ipfix_exporter_dump
50 /** \brief Reply to IPFIX exporter dump request
51 @param context - sender context which was passed in the request
52 @param collector_address - address of IPFIX collector
53 @param collector_port - port of IPFIX collector
54 @param src_address - address of IPFIX exporter
55 @param fib_index - fib table index
56 @param path_mtu - Path MTU between exporter and collector
57 @param template_interval - number of seconds after which to resend template
58 @param udp_checksum - UDP checksum calculation enable flag
60 define ipfix_exporter_details
63 u8 collector_address[16];
68 u32 template_interval;
72 /** \brief IPFIX classify stream configure request
73 @param client_index - opaque cookie to identify the sender
74 @param context - sender context, to match reply w/ request
75 @param domain_id - domain ID reported in IPFIX messages for classify stream
76 @param src_port - source port of UDP session for classify stream
78 autoreply define set_ipfix_classify_stream {
85 /** \brief IPFIX classify stream dump request
86 @param client_index - opaque cookie to identify the sender
87 @param context - sender context, to match reply w/ request
89 define ipfix_classify_stream_dump {
94 /** \brief Reply to IPFIX classify stream dump request
95 @param context - sender context, to match reply w/ request
96 @param domain_id - domain ID reported in IPFIX messages for classify stream
97 @param src_port - source port of UDP session for classify stream
99 define ipfix_classify_stream_details {
105 /** \brief IPFIX add or delete classifier table request
106 @param client_index - opaque cookie to identify the sender
107 @param context - sender context, to match reply w/ request
108 @param table_id - classifier table ID
109 @param ip_version - version of IP used in the classifier table
110 @param transport_protocol - transport protocol used in the classifier table or 255 for unspecified
112 autoreply define ipfix_classify_table_add_del {
117 u8 transport_protocol;
121 /** \brief IPFIX classify tables dump request
122 @param client_index - opaque cookie to identify the sender
123 @param context - sender context, to match reply w/ request
125 define ipfix_classify_table_dump {
130 /** \brief Reply to IPFIX classify tables dump request
131 @param context - sender context, to match reply w/ request
132 @param table_id - classifier table ID
133 @param ip_version - version of IP used in the classifier table
134 @param transport_protocol - transport protocol used in the classifier table or 255 for unspecified
136 define ipfix_classify_table_details {
140 u8 transport_protocol;
145 * eval: (c-set-style "gnu")