add packet smart pointer type