Allow packet size to be changed.