-void xran_init_mbuf_pool(void);
-
-void xran_init_port(int port, struct ether_addr *p_lls_cu_addr);
-
-void xran_add_eth_hdr_vlan(struct ether_addr *dst, uint16_t ethertype, struct rte_mbuf *mb, uint16_t vlan_tci);
-int xran_send_mbuf(struct ether_addr *dst, struct rte_mbuf *mb);
-
-int xran_send_message_burst(int dst_id, int pkt_type, void *body, int len);
-
-void xran_memdump(void *addr, int len);
-
-/*
- * Print a message after all critical processing done.
- * Mt-safe. 4 variants - normal, warning, error and debug log.
- */
-
-#define nlog(m, ...)
-#define delayed_message /* this is the old alias for this function */
-#define wlog(m, ...)
-#define elog(m, ...)
-#ifdef DEBUG
-# define dlog(m, ...)
-#else
-# define dlog(m, ...)
-#endif
+void xran_init_mbuf_pool(uint32_t mtu);
+void xran_init_port(int port, uint16_t num_rxq, uint32_t mtu);
+void xran_init_port_mempool(int p_id, uint32_t mtu);
+void xran_add_eth_hdr_vlan(struct rte_ether_addr *dst, uint16_t ethertype, struct rte_mbuf *mb);