Optimize Berkeley Packet Filter