move packet node list related thing into its file