/NetX-Duo-v6.3.0/common/src/ |
D | nx_tcp_socket_driver_packet_receive.c | 83 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()
|
D | nx_tcp_socket_send_internal.c | 90 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 …]
|
D | nx_tcp_socket_state_ack_check.c | 98 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()
|
D | nx_tcp_socket_retransmit.c | 112 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()
|
D | nx_tcp_socket_packet_process.c | 108 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()
|
D | nx_tcp_socket_bytes_available.c | 81 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()
|
D | nx_tcp_socket_state_data_check.c | 199 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()
|
D | nx_tcp_packet_send_control.c | 96 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()
|
D | nx_tcp_server_socket_relisten.c | 94 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()
|
D | nx_tcp_packet_send_rst.c | 74 VOID _nx_tcp_packet_send_rst(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *header_ptr) in _nx_tcp_packet_send_rst()
|
D | nx_tcp_socket_state_last_ack.c | 75 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()
|
D | nx_tcp_socket_receive.c | 86 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()
|
D | nx_tcp_packet_process.c | 109 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()
|
D | nx_tcp_socket_driver_establish.c | 143 …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()
|
D | nx_tcp_socket_state_closing.c | 75 VOID _nx_tcp_socket_state_closing(NX_TCP_SOCKET *socket_ptr, NX_TCP_HEADER *tcp_header_ptr) in _nx_tcp_socket_state_closing()
|
D | nx_tcp_packet_receive.c | 93 if (packet_ptr -> nx_packet_length < sizeof(NX_TCP_HEADER)) in _nx_tcp_packet_receive()
|
D | nxe_tcp_socket_send.c | 134 …_prepend_ptr - packet_ptr -> nx_packet_data_start) < (INT)(ip_header_size + sizeof(NX_TCP_HEADER))) in _nxe_tcp_socket_send()
|
D | nx_tcp_packet_send_syn.c | 164 …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()
|
D | nx_tcp_socket_state_syn_received.c | 78 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()
|
D | nx_ip_packet_checksum_compute.c | 93 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()
|
D | nxd_tcp_client_socket_connect.c | 113 …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()
|
D | nx_tcp_socket_state_syn_sent.c | 86 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()
|
D | nx_tcp_no_connection_reset.c | 84 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/ |
D | nx_tcp.h | 73 #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/ |
D | nx_nat.c | 1218 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()
|