/NetX-Duo-v6.2.1/common/src/ |
D | nx_packet_data_adjust.c | 76 UINT _nx_packet_data_adjust(NX_PACKET *packet_ptr, ULONG header_size) in _nx_packet_data_adjust() argument 93 …E)packet_ptr -> nx_packet_data_end - (ALIGN_TYPE)packet_ptr -> nx_packet_data_start) < header_size) in _nx_packet_data_adjust() 99 …cket_ptr -> nx_packet_prepend_ptr - (ALIGN_TYPE)packet_ptr -> nx_packet_data_start) >= header_size) in _nx_packet_data_adjust() 111 if (available_size >= header_size) in _nx_packet_data_adjust() 120 …memmove(packet_ptr -> nx_packet_data_start + header_size, packet_ptr -> nx_packet_prepend_ptr, shi… in _nx_packet_data_adjust() 123 packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_data_start + header_size; in _nx_packet_data_adjust() 136 if (header_size & 1) in _nx_packet_data_adjust() 142 append_size = header_size - available_size; in _nx_packet_data_adjust() 164 …memmove(packet_ptr -> nx_packet_data_start + header_size, packet_ptr -> nx_packet_prepend_ptr, shi… in _nx_packet_data_adjust() 167 packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_data_start + header_size; in _nx_packet_data_adjust()
|
D | nx_packet_debug_info_get.c | 81 ULONG header_size; /* Rounded header size */ in _nx_packet_debug_info_get() local 88 … header_size = (ULONG)((ALIGN_TYPE)(packet_ptr -> nx_packet_data_start) - (ALIGN_TYPE)packet_ptr); in _nx_packet_debug_info_get() 91 …packet_pool_payload_size + header_size + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_PAC… in _nx_packet_debug_info_get() 94 …packet_ptr = (NX_PACKET *)(pool_ptr -> nx_packet_pool_start + packet_index * (header_size + payloa… in _nx_packet_debug_info_get()
|
D | nx_packet_pool_create.c | 85 ULONG header_size; /* Rounded header size */ in _nx_packet_pool_create() local 117 header_size = (ULONG)((ALIGN_TYPE)payload_address - (ALIGN_TYPE)rounded_pool_start); in _nx_packet_pool_create() 120 …ad_size = (ULONG)(((header_size + payload_size + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) … in _nx_packet_pool_create() 139 next_packet_ptr = packet_ptr + (payload_size + header_size); in _nx_packet_pool_create() 168 ((NX_PACKET *)packet_ptr) -> nx_packet_data_start = (UCHAR *)(packet_ptr + header_size); in _nx_packet_pool_create() 171 …((NX_PACKET *)packet_ptr) -> nx_packet_data_end = (UCHAR *)(packet_ptr + header_size + original… in _nx_packet_pool_create() 180 next_packet_ptr = packet_ptr + (payload_size + header_size); in _nx_packet_pool_create() 184 packet_ptr = packet_ptr - (payload_size + header_size); in _nx_packet_pool_create()
|
D | nxe_packet_pool_create.c | 92 ULONG header_size; in _nxe_packet_pool_create() local 127 header_size = (ULONG)((ALIGN_TYPE)payload_address - (ALIGN_TYPE)rounded_pool_start); in _nxe_packet_pool_create() 130 …d_size = (ULONG)(((header_size + payload_size + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) … in _nxe_packet_pool_create() 134 ((rounded_payload_size + header_size) > rounded_pool_size)) in _nxe_packet_pool_create()
|
D | nx_tcp_packet_send_control.c | 103 ULONG header_size; in _nx_tcp_packet_send_control() local 117 header_size = NX_TCP_SYN_HEADER; in _nx_tcp_packet_send_control() 124 header_size = NX_TCP_HEADER_SIZE; in _nx_tcp_packet_send_control() 217 tcp_header_ptr -> nx_tcp_header_word_3 = header_size | control_bits | window_size; in _nx_tcp_packet_send_control()
|
/NetX-Duo-v6.2.1/nx_secure/src/ |
D | nx_secure_tls_process_handshake_header.c | 83 UINT *header_size, UINT *message_length) in _nx_secure_tls_process_handshake_header() argument 87 if (*header_size < 4) in _nx_secure_tls_process_handshake_header() 101 *header_size = 4; in _nx_secure_tls_process_handshake_header()
|
D | nx_secure_dtls_process_handshake_header.c | 82 UINT *header_size, UINT *message_length, in _nx_secure_dtls_process_handshake_header() argument 88 if (*header_size < NX_SECURE_DTLS_HANDSHAKE_HEADER_SIZE) in _nx_secure_dtls_process_handshake_header() 114 *header_size = NX_SECURE_DTLS_HANDSHAKE_HEADER_SIZE; in _nx_secure_dtls_process_handshake_header()
|
/NetX-Duo-v6.2.1/addons/websocket/ |
D | nx_websocket_client.c | 1441 UINT header_size = NX_WEBSOCKET_HEADER_NORMAL_SIZE; in _nx_websocket_client_send() local 1473 header_size += 2; in _nx_websocket_client_send() 1477 …if ((UINT)(packet_ptr -> nx_packet_prepend_ptr - packet_ptr -> nx_packet_data_start) < header_size) in _nx_websocket_client_send() 1486 data_ptr = packet_ptr -> nx_packet_prepend_ptr - header_size; in _nx_websocket_client_send() 1548 packet_ptr -> nx_packet_prepend_ptr -= header_size; in _nx_websocket_client_send() 1549 packet_ptr -> nx_packet_length += header_size; in _nx_websocket_client_send()
|
/NetX-Duo-v6.2.1/common/inc/ |
D | nx_packet.h | 101 UINT _nx_packet_data_adjust(NX_PACKET *packet_ptr, ULONG header_size);
|
/NetX-Duo-v6.2.1/addons/nat/ |
D | nx_nat.c | 1174 ULONG header_size = sizeof(NX_IPV4_HEADER); in _nx_nat_process_packet() local 1207 header_size += sizeof(NX_ICMP_HEADER); in _nx_nat_process_packet() 1211 header_size += sizeof(NX_UDP_HEADER); in _nx_nat_process_packet() 1215 header_size += sizeof(NX_TCP_HEADER); in _nx_nat_process_packet() 1219 if (packet_ptr -> nx_packet_length < header_size) in _nx_nat_process_packet()
|
/NetX-Duo-v6.2.1/addons/BSD/ |
D | nxd_bsd.c | 3988 INT header_size = 0; in recv() local 4324 header_size = 0; in recv() 4333 … header_size = packet_ptr -> nx_packet_prepend_ptr - packet_ptr -> nx_packet_ip_header; in recv() 4344 if(bufferLength < header_size) in recv() 4346 header_size = bufferLength; in recv() 4357 … header_size = (INT)(packet_ptr -> nx_packet_prepend_ptr - packet_ptr -> nx_packet_ip_header); in recv() 4359 if(bufferLength < header_size) in recv() 4362 header_size = bufferLength; in recv() 4380 …memcpy(rcvBuffer, packet_ptr -> nx_packet_ip_header, (UINT)header_size); /* Use case of memcpy is … in recv() 4387 …offset(packet_ptr, offset, (VOID*)((INT)rcvBuffer + header_size), (ULONG) (bufferLength - header_s… in recv() [all …]
|
/NetX-Duo-v6.2.1/nx_secure/inc/ |
D | nx_secure_dtls.h | 455 UINT *header_size, UINT *message_length,
|
D | nx_secure_tls.h | 1552 UINT *header_size, UINT *message_length);
|
/NetX-Duo-v6.2.1/addons/web/ |
D | nx_web_http_client.c | 5773 UINT header_size; in _nxe_web_http_client_put_packet() local 5790 header_size = NX_IPv4_TCP_PACKET; in _nxe_web_http_client_put_packet() 5798 header_size = NX_IPv6_TCP_PACKET; in _nxe_web_http_client_put_packet() 5807 …if ((UINT)(packet_ptr -> nx_packet_prepend_ptr - packet_ptr -> nx_packet_data_start) < header_size) in _nxe_web_http_client_put_packet()
|
/NetX-Duo-v6.2.1/addons/snmp/ |
D | nxd_snmp.c | 13855 UINT header_size; in _nx_snmp_utility_community_set() local 13892 header_size = 4; in _nx_snmp_utility_community_set() 13905 header_size = 2; in _nx_snmp_utility_community_set() 13917 return(length+header_size); in _nx_snmp_utility_community_set() 15975 UINT header_size; in _nx_snmp_utility_octet_set() local 16011 header_size = 4; in _nx_snmp_utility_octet_set() 16024 header_size = 2; in _nx_snmp_utility_octet_set() 16036 return(octet_length+header_size); in _nx_snmp_utility_octet_set()
|