![]() |
Network Wizard for VHDL Test Benches
|
Functions | |
t_slv_arr | f_ipv6_create_pkt ( header: in t_ipv6_header payload: in t_slv_arr ext_header_list: in t_ext_header_list C_DEFAULT_EXT_HEADER_LIST ) |
natural | f_ipv6_create_pkt_len ( header: in t_ipv6_header payload: in t_slv_arr ext_header_list: in t_ext_header_list C_DEFAULT_EXT_HEADER_LIST ) |
Create IPv6 packet. | |
t_ext_header_list | f_ipv6_add_ext_header ( ext_header_list: in t_ext_header_list , ext_header: in t_extension_header ) |
Return length of IPv6 packet. | |
t_ipv6_header | f_ipv6_get_header ( ipv6_pkt: in t_slv_arr ) |
Create IPv6 extension header list. | |
t_ext_header_list | f_ipv6_get_ext_headers ( ipv6_pkt: in t_slv_arr ) |
Get IPv6 header. | |
t_slv_arr | f_ipv6_get_payload ( ipv6_pkt: in t_slv_arr ) |
Get IPv6 extension header list. | |
natural | f_ipv6_get_payload_len ( ipv6_pkt: in t_slv_arr ) |
Get IPv6 payload. | |
t_slv_arr | f_ipv6_addr_2_slv_arr ( addr: in string ) |
Get IPv6 payload length. |
|
Function |
Create IPv6 packet.
header | IPv6 header |
payload | IPv6 payload |
ext_header_list | IPv6 extension header list (default none) |
Create IPv6 packet. Payload must be 8bit data array.
Example use
|
Function |
Return length of IPv6 packet.
header | IPv6 header |
payload | IPv6 payload |
ext_header_list | IPv6 extension header list (default none) |
Return the length of the created IPv6 packet.
Example use
|
Function |
Create IPv6 extension header list.
ext_header_list | List of IPv6 extension headers |
ext_header | Extension header to be added to list |
Add an extension header to a extension header list.
Example use
|
Function |
Get IPv6 header.
ipv6_pkt | IPv6 packet (8bit) |
Extract IPv6 header from IPv6 packet.
Example use
|
Function |
Get IPv6 extension header list.
ipv6_pkt | IPv6 packet (8bit) |
Extract IPv6 extension headers from IPv6 packet. The number of extension headers found in the packet is indicated by the "header_cnt" field in returned record.
Example use
|
Function |
Get IPv6 payload.
ipv6_pkt | IPv6 packet (8bit) |
get_length | Get length of payload, default False |
Extract IPv6 payload from IPv6 packet. Extension headers are not part of the payload retunred.
Example use
|
Function |
Get IPv6 payload length.
ipv6_pkt | IPv6 packet (8bit) |
Get IPv6 payload length from IPv6 packet.
Example use