![]() |
Network Wizard for VHDL Test Benches
|
Functions | |
| t_slv_arr | f_icmpv4_create_pkt ( icmp_header: in t_icmpv4_header add_payload: in boolean payload: in t_slv_arr get_length: in boolean ) |
| t_slv_arr | f_icmpv4_create_pkt ( icmp_header: in t_icmpv4_header , payload: in t_slv_arr ) |
| Create ICMPv4 packet. | |
| t_slv_arr | f_icmpv4_create_pkt ( icmp_header: in t_icmpv4_header ) |
| Create ICMPv4 packet (no payload) | |
| natural | f_icmpv4_create_pkt_len ( icmp_header: in t_icmpv4_header , payload: in t_slv_arr ) |
| Return length of ICMP packet. | |
| natural | f_icmpv4_create_pkt_len ( icmp_header: in t_icmpv4_header ) |
| Return length of ICMP packet (no payload) | |
| t_icmpv4_header | f_icmpv4_get_header ( icmp_pkt: in t_slv_arr ) |
| Get ICMP header. | |
| t_slv_arr | f_icmpv4_get_payload ( icmp_pkt: in t_slv_arr , get_length: in boolean false ) |
| t_slv_arr | f_icmpv4_get_payload ( icmp_pkt: in t_slv_arr ) |
| Get ICMP payload. | |
| natural | f_icmpv4_get_payload_len ( icmp_pkt: in t_slv_arr ) |
| Get ICMP payload length. | |
| boolean | f_icmpv4_chksum_ok ( icmp_pkt: in t_slv_arr ) |
| Check ICMP checksum. | |
|
Function |
Create ICMPv4 packet.
| icmp_header | ICMP header |
| payload | ICMP payload |
Create ICMPv4 packet. Payload must be 8bit data array.
Example use
|
Function |
Create ICMPv4 packet (no payload)
| icmp_header | ICMP header |
Create ICMPv4 packet. Payload must be 8bit data array.
Example use
|
Function |
Return length of ICMP packet.
| icmp_header | ICMP header |
| payload | ICMP payload |
Return the length of the created ICMP packet.
Example use
|
Function |
Return length of ICMP packet (no payload)
| icmp_header | ICMP header |
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.
| icmp_pkt | ICMP packet (8bit) |
Check checksum of ICMP packet.
Example use