An Energy-Efficient FPGA-Based Packet Processing Framework