add packet buffer tools