X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ip_frag%2Frte_ip_frag.h;h=f6737280e6b455ce170a987bde1e1e63e58f9807;hb=4769bc5a27ccaeb736542c4064ffc182bbd7e439;hp=84952a12f7fec9efb58dce645e17f473a8850d38;hpb=4ae2a4f8cfd731814a13868bdbd65dce7fbf9780;p=dpdk.git diff --git a/lib/librte_ip_frag/rte_ip_frag.h b/lib/librte_ip_frag/rte_ip_frag.h index 84952a12f7..f6737280e6 100644 --- a/lib/librte_ip_frag/rte_ip_frag.h +++ b/lib/librte_ip_frag/rte_ip_frag.h @@ -36,16 +36,21 @@ /** * @file - * RTE IPv4 Fragmentation and Reassembly + * RTE IP Fragmentation and Reassembly * - * Implementation of IPv4 packet fragmentation and reassembly. + * Implementation of IP packet fragmentation and reassembly. */ +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include #include +#include #include #include @@ -204,7 +209,6 @@ rte_ipv6_fragment_packet(struct rte_mbuf *pkt_in, struct rte_mempool *pool_direct, struct rte_mempool *pool_indirect); - /* * This function implements reassembly of fragmented IPv6 packets. * Incoming mbuf should have its l2_len/l3_len fields setup correctly. @@ -346,4 +350,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_ */