File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,15 @@ ipx_msg_ipfix_add_set_ref(struct ipx_msg_ipfix *msg);
225225IPX_API struct ipx_ipfix_record *
226226ipx_msg_ipfix_add_drec_ref (struct ipx_msg_ipfix * * msg_ref );
227227
228+ /**
229+ * \brief Set the raw size of an IPFIX message.
230+ *
231+ * \param[in] msg IPFIX Message wrapper.
232+ * \param[in] new_raw_size The new raw_size value.
233+ */
234+ IPX_API void
235+ ipx_msg_ipfix_set_raw_size (ipx_msg_ipfix_t * msg , uint16_t new_raw_size );
236+
228237/**@}*/
229238#ifdef __cplusplus
230239}
Original file line number Diff line number Diff line change @@ -192,3 +192,9 @@ ipx_msg_ipfix_add_drec_ref(struct ipx_msg_ipfix **msg_ref)
192192 msg -> rec_info .cnt_valid ++ ;
193193 return ((struct ipx_ipfix_record * ) (((uint8_t * ) msg -> recs ) + offset ));
194194}
195+
196+ void
197+ ipx_msg_ipfix_set_raw_size (ipx_msg_ipfix_t * msg , uint16_t new_raw_size )
198+ {
199+ msg -> raw_size = new_raw_size ;
200+ }
You can’t perform that action at this time.
0 commit comments