|  | Network Wizard for VHDL Test Benches
    | 
| Functions | |
| t_slv_arr | f_icmpv6_create_pkt ( ipv6_header: in t_ipv6_header icmp_header: in t_icmpv6_header payload: in t_slv_arr routing_header: in t_extension_header C_DEFAULT_EXT_HEADER get_length: in boolean ) | 
| t_slv_arr | f_icmpv6_create_pkt ( ipv6_header: in t_ipv6_header icmp_header: in t_icmpv6_header payload: in t_slv_arr routing_header: in t_extension_header C_DEFAULT_EXT_HEADER ) | 
| Create ICMPv4 packet. | |
| natural | f_icmpv6_create_pkt_len ( ipv6_header: in t_ipv6_header icmp_header: in t_icmpv6_header payload: in t_slv_arr routing_header: in t_extension_header C_DEFAULT_EXT_HEADER ) | 
| Return length of ICMP packet. | |
| t_icmpv6_header | f_icmpv6_get_header ( icmp_pkt: in t_slv_arr ) | 
| Get ICMP header. | |
| t_slv_arr | f_icmpv6_get_payload ( icmp_pkt: in t_slv_arr , get_length: in boolean false ) | 
| t_slv_arr | f_icmpv6_get_payload ( icmp_pkt: in t_slv_arr ) | 
| Get ICMP payload. | |
| natural | f_icmpv6_get_payload_len ( icmp_pkt: in t_slv_arr ) | 
| Get ICMP payload length. | |
| boolean | f_icmpv6_chksum_ok ( ipv6_header: in t_ipv6_header icmp_pkt: in t_slv_arr routing_header: in t_extension_header C_DEFAULT_EXT_HEADER ) | 
| Check ICMP checksum. | |
| 
 | Function | 
Create ICMPv4 packet.
| ipv6_header | IPv6 header (required for checksum calculation) | 
| icmp_header | ICMP header | 
| payload | ICMP payload | 
| routing_header | IPv6 routing extension header (default none) | 
Create ICMPv6 packet. Payload must be 8bit data array. A pseudo-header is generated from the IPv6 header which is included in the checksum calculation. If the IPv6 packet contains a routing extension header, it must be included here as the pseudo header destination address is the final destination.
Example use
| 
 | Function | 
Return length of ICMP packet.
| ipv6_header | IPv6 header (required for checksum calculation) | 
| icmp_header | ICMP header | 
| payload | ICMP payload | 
| routing_header | IPv6 routing extension header (default none) | 
Return the length of the created ICMP packet.
Example use
| 
 | Function | 
Get ICMP header.
| icmp_pkt | ICMP packet (8bit) | 
Extract ICMP header from ICMP packet.
Example use
| 
 | Function | 
Get ICMP payload.
| icmp_pkt | ICMP packet (8bit) | 
Extract ICMP payload from ICMP packet.
Example use
| 
 | Function | 
Get ICMP payload length.
| icmp_pkt | ICMP packet (8bit) | 
Get ICMP payload length from ICMP packet.
Example use
| 
 | Function | 
Check ICMP checksum.
| ipv6_header | IPv6 header (required for checksum calculation) | 
| icmp_pkt | ICMP packet (8bit) | 
| routing_header | IPv6 routing extension header (default none) | 
Check checksum of ICMP packet.
Example use