complete net_packet.c and modify mem_pool.h