static void bgp_dump_set_size (struct stream *s, int type) { /* * The BGP_DUMP_HEADER_SIZE stay at 12 event when ET: * "The Microsecond Timestamp is included in the computation * of the Length field value." (RFC6396 2011) */ stream_putl_at (s, 8, stream_get_endp (s) - BGP_DUMP_HEADER_SIZE); }
void bgp_dump_set_size (struct stream *s, int type) { stream_putl_at (s, 8, stream_get_putp (s) - BGP_DUMP_HEADER_SIZE); }