support for packet handling