ip_frag: fix header for C++
Add missing extern 'C' decls in rte_ip_frag.h.
Fixes: 601e279df0
("move fragmentation/reassembly headers into a library")
Signed-off-by: Marc Sune <marc.sune@bisdn.de>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
d10096c692
commit
9f516206d9
@ -41,6 +41,10 @@
|
||||
* Implementation of IP packet fragmentation and reassembly.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@ -350,4 +354,8 @@ void rte_ip_frag_free_death_row(struct rte_ip_frag_death_row *dr,
|
||||
void
|
||||
rte_ip_frag_table_statistics_dump(FILE * f, const struct rte_ip_frag_tbl *tbl);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _RTE_IP_FRAG_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user