add filter_packet hook