packet lib