| ENTITY packet_filter IS
PORT(IS_TCP : in std_logic; -- Packet is of type TCP: ('1'=True, '0'=False)
IS_UDP : in std_logic; -- Packet is of type UDP: ('1'=True, '0'=False)
VER : in std_logic_vector(3 downto 0); -- Version
TTL : in std_logic_vector(7 downto 0); -- Time-To-Live
Length : in std_logic_vector(15 downto 0); -- Length (Measured in bytes)
Drop : out std_logic); -- '1'=Drop, '0'=Do not Drop
END packet_filter; |