![]() |
Network Wizard for VHDL Test Benches
|
Functions | |
| t_slv_arr | f_tcpv6_create_pkt ( ipv6_header: in t_ipv6_header tcp_header: in t_tcp_header payload: in t_slv_arr add_payload: in boolean get_length: in boolean false routing_header: in t_extension_header C_DEFAULT_EXT_HEADER ) |
| t_slv_arr | f_tcpv6_create_pkt ( ipv6_header: in t_ipv6_header tcp_header: in t_tcp_header payload: in t_slv_arr routing_header: in t_extension_header C_DEFAULT_EXT_HEADER ) |
| Create TCP for IPv6 packet. | |
| natural | f_tcpv6_create_pkt_len ( ipv6_header: in t_ipv6_header tcp_header: in t_tcp_header payload: in t_slv_arr routing_header: in t_extension_header C_DEFAULT_EXT_HEADER ) |
| Return length of TCP packet. | |
| t_slv_arr | f_tcpv6_create_pkt ( ipv6_header: in t_ipv6_header tcp_header: in t_tcp_header routing_header: in t_extension_header C_DEFAULT_EXT_HEADER ) |
| Create TCP for IPv6 packet. | |
| natural | f_tcpv6_create_pkt_len ( ipv6_header: in t_ipv6_header tcp_header: in t_tcp_header routing_header: in t_extension_header C_DEFAULT_EXT_HEADER ) |
| Return length of TCP packet. | |
| t_tcp_header | f_tcpv6_get_header ( tcp_pkt: in t_slv_arr ) |
| Get TCP header. | |
| t_slv_arr | f_tcpv6_get_payload ( tcp_pkt: in t_slv_arr , get_length: in boolean false ) |
| t_slv_arr | f_tcpv6_get_payload ( tcp_pkt: in t_slv_arr ) |
| Get TCP payload. | |
| natural | f_tcpv6_get_payload_len ( tcp_pkt: in t_slv_arr ) |
| Get TCP payload length. | |
| boolean | f_tcpv6_chksum_ok ( ipv6_header: in t_ipv6_header tcp_pkt: in t_slv_arr routing_header: in t_extension_header C_DEFAULT_EXT_HEADER ) |
| Check TCP checksum. | |
|
Function |
Create TCP for IPv6 packet.
| ipv6_header | IPv6 header (required for checksum calculation) |
| udp_header | TCP header |
| payload | TCP payload |
| routing_header | IPv6 routing extension header (default none) |
Create TCPv4 packet. Payload must be 8bit data array. A pseudo-header is generated from the IPv4 header which is included in the checksum calculation.
Example use
|
Function |
Return length of TCP packet.
| ipv6_header | IPv6 header (required for checksum calculation) |
| tcp_header | TCP header |
| payload | TCP payload |
| routing_header | IPv6 routing extension header (default none) |
Return the length of the created TCP packet.
Example use
|
Function |
Create TCP for IPv6 packet.
| ipv6_header | IPv6 header (required for checksum calculation) |
| udp_header | TCP header |
| routing_header | IPv6 routing extension header (default none) |
Create TCP for IPv6 packet without payload.
Example use
|
Function |
Return length of TCP packet.
| ipv6_header | IPv6 header (required for checksum calculation) |
| tcp_header | TCP header |
| routing_header | IPv6 routing extension header (default none) |
Return the length of the created TCP packet (no payload).
Example use
|
Function |
Get TCP header.
| tcp_pkt | TCP packet (8bit) |
Extract TCP header from TCP packet.
Example use
|
Function |
Get TCP payload.
| tcp_pkt | TCP packet (8bit) |
Extract TCP payload from TCP packet.
Example use
|
Function |
Get TCP payload length.
| tcp_pkt | TCP packet (8bit) |
Get TCP payload length from TCP packet.
Example use
|
Function |
Check TCP checksum.
| ipv6_header | IPv6 header |
| tcp_pkt | TCP packet (8bit) |
| routing_header | IPv6 routing extension header (default none) |
Check checksum of TCP packet. The IPv6 header is required for the pseudo-header fields.
Example use