]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mbuf/rte_mbuf.h
add FILE argument to debug functions
[dpdk.git] / lib / librte_mbuf / rte_mbuf.h
index edffc2c4db4bd921252e735afb25e933b92f6e24..4a9ab415c536518a26d10a69b2a4a590dc2d5c9f 100644 (file)
@@ -1026,13 +1026,15 @@ static inline int rte_pktmbuf_is_contiguous(const struct rte_mbuf *m)
  * Dump all fields for the given packet mbuf and all its associated
  * segments (in the case of a chained buffer).
  *
  * Dump all fields for the given packet mbuf and all its associated
  * segments (in the case of a chained buffer).
  *
+ * @param f
+ *   A pointer to a file for output
  * @param m
  *   The packet mbuf.
  * @param dump_len
  *   If dump_len != 0, also dump the "dump_len" first data bytes of
  *   the packet.
  */
  * @param m
  *   The packet mbuf.
  * @param dump_len
  *   If dump_len != 0, also dump the "dump_len" first data bytes of
  *   the packet.
  */
-void rte_pktmbuf_dump(const struct rte_mbuf *m, unsigned dump_len);
+void rte_pktmbuf_dump(FILE *f, const struct rte_mbuf *m, unsigned dump_len);
 
 #ifdef __cplusplus
 }
 
 #ifdef __cplusplus
 }