Network Wizard for VHDL Test Benches
nw_ipv4_pkg Package Reference
Package Body >> nw_ipv4_pkg

Records

t_ipv4_options 
copied std_logic
 Set to 1 if the options need to be copied into all fragments of a fragmented packet.
option_class std_logic_vector ( 1 downto 0 )
 A general options category. 0 is for control options, and 2 is for debugging and measurement. 1 and 3 are reserved.
option_number std_logic_vector ( 4 downto 0 )
 Specifies an option.
option_length std_logic_vector ( 7 downto 0 )
 Indicates the size of the entire option (including this field). This field may not exist for simple options.
option_data t_slv_arr ( 0 to 37 ) ( 7 downto 0 )
 Option-specific data. This field may not exist for simple options.
t_ipv4_header 
version std_logic_vector ( 3 downto 0 )
 Version.
ihl std_logic_vector ( 3 downto 0 )
 Internet Header Length (IHL)
dscp std_logic_vector ( 5 downto 0 )
 Differentiated Services Code Point (DSCP)
ecn std_logic_vector ( 1 downto 0 )
 Explicit Congestion Notification (ECN)
length std_logic_vector ( 15 downto 0 )
 Total length.
identification std_logic_vector ( 15 downto 0 )
 Identification.
flags std_logic_vector ( 2 downto 0 )
 Flags.
fragment_offs std_logic_vector ( 12 downto 0 )
 Fragment offset.
ttl std_logic_vector ( 7 downto 0 )
 Time to live (TTL)
protocol std_logic_vector ( 7 downto 0 )
 Protocol.
chksum std_logic_vector ( 15 downto 0 )
 Header checksum.
src_ip std_logic_vector ( 31 downto 0 )
 Source address.
dest_ip std_logic_vector ( 31 downto 0 )
 Destination address.
options t_ipv4_options
 IPv4 options.

The documentation for this class was generated from the following file: