Home
last modified time | relevance | path

Searched refs:NX_TCP_HEADER (Results 1 – 25 of 28) sorted by relevance

12

/NetX-Duo-v6.3.0/common/src/
Dnx_tcp_socket_driver_packet_receive.c83 NX_TCP_HEADER *header_ptr; in _nx_tcp_socket_driver_packet_receive()
125 …packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_prepend_ptr - sizeof(NX_TCP_HEADER); in _nx_tcp_socket_driver_packet_receive()
128 packet_ptr -> nx_packet_length = packet_ptr -> nx_packet_length + (ULONG)sizeof(NX_TCP_HEADER); in _nx_tcp_socket_driver_packet_receive()
132 header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_driver_packet_receive()
Dnx_tcp_socket_send_internal.c90 NX_TCP_HEADER *header_ptr; in _nx_tcp_socket_driver_send()
103 …packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_prepend_ptr - sizeof(NX_TCP_HEADER); in _nx_tcp_socket_driver_send()
106 … packet_ptr -> nx_packet_length = packet_ptr -> nx_packet_length + (ULONG)sizeof(NX_TCP_HEADER); in _nx_tcp_socket_driver_send()
110 header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_driver_send()
276 NX_TCP_HEADER *header_ptr; in _nx_tcp_socket_send_internal()
376 data_offset = NX_PHYSICAL_HEADER + sizeof(NX_IPV4_HEADER) + sizeof(NX_TCP_HEADER); in _nx_tcp_socket_send_internal()
406 data_offset = NX_PHYSICAL_HEADER + sizeof(NX_IPV6_HEADER) + sizeof(NX_TCP_HEADER); in _nx_tcp_socket_send_internal()
727 …nd_packet -> nx_packet_prepend_ptr = send_packet -> nx_packet_prepend_ptr - sizeof(NX_TCP_HEADER); in _nx_tcp_socket_send_internal()
730 … send_packet -> nx_packet_length = send_packet -> nx_packet_length + (ULONG)sizeof(NX_TCP_HEADER); in _nx_tcp_socket_send_internal()
734 header_ptr = (NX_TCP_HEADER *)send_packet -> nx_packet_prepend_ptr; in _nx_tcp_socket_send_internal()
[all …]
Dnx_tcp_socket_state_ack_check.c98 UINT _nx_tcp_socket_state_ack_check(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr) in _nx_tcp_socket_state_ack_check()
103 NX_TCP_HEADER *search_header_ptr = NX_NULL; in _nx_tcp_socket_state_ack_check()
146 search_header_ptr = (NX_TCP_HEADER *)(search_ptr -> nx_packet_ip_header + in _nx_tcp_socket_state_ack_check()
156 search_header_ptr = (NX_TCP_HEADER *)(search_ptr -> nx_packet_ip_header + in _nx_tcp_socket_state_ack_check()
314 search_header_ptr = (NX_TCP_HEADER *)(search_ptr -> nx_packet_ip_header + in _nx_tcp_socket_state_ack_check()
322 search_header_ptr = (NX_TCP_HEADER *)search_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_state_ack_check()
689 search_header_ptr = (NX_TCP_HEADER *)previous_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_state_ack_check()
710 search_header_ptr = (NX_TCP_HEADER *)(previous_ptr -> nx_packet_ip_header + in _nx_tcp_socket_state_ack_check()
Dnx_tcp_socket_retransmit.c112 NX_TCP_HEADER *header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_retransmit()
213 NX_TCP_HEADER *header_ptr; in _nx_tcp_socket_retransmit()
224 if (packet_ptr -> nx_packet_length > (available + sizeof(NX_TCP_HEADER))) in _nx_tcp_socket_retransmit()
232 available -= (packet_ptr -> nx_packet_length - (ULONG)sizeof(NX_TCP_HEADER)); in _nx_tcp_socket_retransmit()
265 header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_retransmit()
Dnx_tcp_socket_packet_process.c108 NX_TCP_HEADER tcp_header_copy; in _nx_tcp_socket_packet_process()
131 tcp_header_copy = *((NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr); in _nx_tcp_socket_packet_process()
303 if (header_length > sizeof(NX_TCP_HEADER)) in _nx_tcp_socket_packet_process()
308 if (!_nx_tcp_mss_option_get((packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_TCP_HEADER)), in _nx_tcp_socket_packet_process()
309 header_length - (ULONG)sizeof(NX_TCP_HEADER), &mss)) in _nx_tcp_socket_packet_process()
Dnx_tcp_socket_bytes_available.c81 NX_TCP_HEADER *header_ptr; in _nx_tcp_socket_bytes_available()
126 header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_bytes_available()
Dnx_tcp_socket_state_data_check.c199 packet_ptr -> nx_packet_prepend_ptr += sizeof(NX_TCP_HEADER); in _nx_tcp_socket_state_data_trim_front()
276 packet_ptr -> nx_packet_prepend_ptr -= sizeof(NX_TCP_HEADER); in _nx_tcp_socket_state_data_trim_front()
344 NX_TCP_HEADER *tcp_header_ptr; in _nx_tcp_socket_state_data_check()
345 NX_TCP_HEADER *search_header_ptr; in _nx_tcp_socket_state_data_check()
381 tcp_header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_state_data_check()
497 search_header_ptr = (NX_TCP_HEADER *)search_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_state_data_check()
702 search_header_ptr = (NX_TCP_HEADER *)search_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_state_data_check()
918 search_header_ptr = (NX_TCP_HEADER *)search_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_state_data_check()
1006 search_header_ptr = (NX_TCP_HEADER *)search_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_state_data_check()
1135 tcp_header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_state_data_check()
Dnx_tcp_packet_send_control.c96 NX_TCP_HEADER *tcp_header_ptr; in _nx_tcp_packet_send_control()
204 … packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_TCP_HEADER); in _nx_tcp_packet_send_control()
207 packet_ptr -> nx_packet_length = sizeof(NX_TCP_HEADER); in _nx_tcp_packet_send_control()
211 tcp_header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_packet_send_control()
Dnx_tcp_server_socket_relisten.c94 NX_TCP_HEADER *tcp_header_ptr; in _nx_tcp_server_socket_relisten()
221 tcp_header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_server_socket_relisten()
234 …_nx_tcp_mss_option_get((packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_TCP_HEADER)), option_words… in _nx_tcp_server_socket_relisten()
237 …ndow_scaling_option_get((packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_TCP_HEADER)), option_word… in _nx_tcp_server_socket_relisten()
Dnx_tcp_packet_send_rst.c74 VOID _nx_tcp_packet_send_rst(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *header_ptr) in _nx_tcp_packet_send_rst()
Dnx_tcp_socket_state_last_ack.c75 VOID _nx_tcp_socket_state_last_ack(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr) in _nx_tcp_socket_state_last_ack()
Dnx_tcp_socket_receive.c86 NX_TCP_HEADER *header_ptr; in _nx_tcp_socket_receive()
184 header_ptr = (NX_TCP_HEADER *)head_packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_receive()
Dnx_tcp_packet_process.c109 NX_TCP_HEADER *tcp_header_ptr; in _nx_tcp_packet_process()
223 …(packet_ptr -> nx_packet_append_ptr - packet_ptr -> nx_packet_prepend_ptr) < sizeof(NX_TCP_HEADER)) in _nx_tcp_packet_process()
239 tcp_header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_packet_process()
256 (sizeof(NX_TCP_HEADER) + (option_words << 2)))) in _nx_tcp_packet_process()
278 …status = _nx_tcp_mss_option_get((packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_TCP_HEADER)), opt… in _nx_tcp_packet_process()
311 …ndow_scaling_option_get((packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_TCP_HEADER)), option_word… in _nx_tcp_packet_process()
Dnx_tcp_socket_driver_establish.c143 …ONG)((interface_ptr -> nx_interface_ip_mtu_size - sizeof(NX_IPV4_HEADER)) - sizeof(NX_TCP_HEADER)); in _nx_tcp_socket_driver_establish()
153 …ONG)((interface_ptr -> nx_interface_ip_mtu_size - sizeof(NX_IPV6_HEADER)) - sizeof(NX_TCP_HEADER)); in _nx_tcp_socket_driver_establish()
Dnx_tcp_socket_state_closing.c75 VOID _nx_tcp_socket_state_closing(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr) in _nx_tcp_socket_state_closing()
Dnx_tcp_packet_receive.c93 if (packet_ptr -> nx_packet_length < sizeof(NX_TCP_HEADER)) in _nx_tcp_packet_receive()
Dnxe_tcp_socket_send.c134 …_prepend_ptr - packet_ptr -> nx_packet_data_start) < (INT)(ip_header_size + sizeof(NX_TCP_HEADER))) in _nxe_tcp_socket_send()
Dnx_tcp_packet_send_syn.c164 …t_connect_interface -> nx_interface_ip_mtu_size - sizeof(NX_IPV4_HEADER)) - sizeof(NX_TCP_HEADER)); in _nx_tcp_packet_send_syn()
204 …t_connect_interface -> nx_interface_ip_mtu_size - sizeof(NX_IPV6_HEADER)) - sizeof(NX_TCP_HEADER)); in _nx_tcp_packet_send_syn()
Dnx_tcp_socket_state_syn_received.c78 VOID _nx_tcp_socket_state_syn_received(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr) in _nx_tcp_socket_state_syn_received()
Dnx_ip_packet_checksum_compute.c93 NX_TCP_HEADER *tcp_header_ptr; in _nx_ip_packet_checksum_compute()
203 tcp_header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_packet_checksum_compute()
Dnxd_tcp_client_socket_connect.c113 …ONG)((interface_ptr -> nx_interface_ip_mtu_size - sizeof(NX_IPV4_HEADER)) - sizeof(NX_TCP_HEADER)); in _nxd_tcp_client_socket_driver_connect()
120 …ONG)((interface_ptr -> nx_interface_ip_mtu_size - sizeof(NX_IPV6_HEADER)) - sizeof(NX_TCP_HEADER)); in _nxd_tcp_client_socket_driver_connect()
Dnx_tcp_socket_state_syn_sent.c86 VOID _nx_tcp_socket_state_syn_sent(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr, NX_PA… in _nx_tcp_socket_state_syn_sent()
Dnx_tcp_no_connection_reset.c84 VOID _nx_tcp_no_connection_reset(NX_IP *ip_ptr, NX_PACKET *packet_ptr, NX_TCP_HEADER *tcp_header_p… in _nx_tcp_no_connection_reset()
/NetX-Duo-v6.3.0/common/inc/
Dnx_tcp.h73 #define NX_TCP_SYN_SIZE (NX_TCP_SYN_OPTION_SIZE + sizeof(NX_TCP_HEADER))
234 } NX_TCP_HEADER; typedef
311 VOID _nx_tcp_no_connection_reset(NX_IP *ip_ptr, NX_PACKET *packet_ptr, NX_TCP_HEADER *tcp_header_pt…
316 VOID _nx_tcp_packet_send_rst(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *header_ptr);
330 UINT _nx_tcp_socket_state_ack_check(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr);
331 VOID _nx_tcp_socket_state_closing(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr);
338 VOID _nx_tcp_socket_state_last_ack(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr);
339 VOID _nx_tcp_socket_state_syn_sent(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr, NX_PAC…
340 VOID _nx_tcp_socket_state_syn_received(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr);
/NetX-Duo-v6.3.0/addons/nat/
Dnx_nat.c1218 header_size += sizeof(NX_TCP_HEADER); in _nx_nat_process_packet()
1514 NX_TCP_HEADER *tcp_header_ptr; in _nx_nat_process_inbound_TCP_packet()
1526 tcp_header_ptr = (NX_TCP_HEADER *) (packet_ptr -> nx_packet_prepend_ptr); in _nx_nat_process_inbound_TCP_packet()
2233 NX_TCP_HEADER *tcp_header_ptr; in _nx_nat_process_outbound_TCP_packet()
2243 tcp_header_ptr = (NX_TCP_HEADER *) (packet_ptr -> nx_packet_prepend_ptr); in _nx_nat_process_outbound_TCP_packet()
3882 NX_TCP_HEADER *tcp_header_ptr; in _nx_nat_utility_get_destination_port()
3893 tcp_header_ptr = (NX_TCP_HEADER *)(packet_ptr -> nx_packet_prepend_ptr); in _nx_nat_utility_get_destination_port()
3992 NX_TCP_HEADER *tcp_header_ptr; in _nx_nat_utility_get_source_port()
4001 tcp_header_ptr = (NX_TCP_HEADER *)(packet_ptr -> nx_packet_prepend_ptr); in _nx_nat_utility_get_source_port()

12