X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_port%2Frte_port_frag.h;h=0085ff7c82f68536c943ac970d72907c16e4c9f3;hb=ccda04998acbdb57111a8305e9933ee5f5a82d29;hp=dfd70c0115a56ff0b6a16df3ee9f14981122273a;hpb=9ec4f0900be6f126b358f379b938ce324650003b;p=dpdk.git diff --git a/lib/librte_port/rte_port_frag.h b/lib/librte_port/rte_port_frag.h index dfd70c0115..0085ff7c82 100644 --- a/lib/librte_port/rte_port_frag.h +++ b/lib/librte_port/rte_port_frag.h @@ -63,7 +63,7 @@ extern "C" { #include "rte_port.h" /** ring_reader_ipv4_frag port parameters */ -struct rte_port_ring_reader_ipv4_frag_params { +struct rte_port_ring_reader_frag_params { /** Underlying single consumer ring that has to be pre-initialized. */ struct rte_ring *ring; @@ -84,9 +84,16 @@ struct rte_port_ring_reader_ipv4_frag_params { struct rte_mempool *pool_indirect; }; +#define rte_port_ring_reader_ipv4_frag_params rte_port_ring_reader_frag_params + +#define rte_port_ring_reader_ipv6_frag_params rte_port_ring_reader_frag_params + /** ring_reader_ipv4_frag port operations */ extern struct rte_port_in_ops rte_port_ring_reader_ipv4_frag_ops; +/** ring_reader_ipv6_frag port operations */ +extern struct rte_port_in_ops rte_port_ring_reader_ipv6_frag_ops; + #ifdef __cplusplus } #endif