Home
last modified time | relevance | path

Searched refs:NX_PHYSICAL_HEADER (Results 1 – 17 of 17) sorted by relevance

/NetX-Duo-v6.2.1/common/src/
Dnx_ipv6_fragment_process.c235 …ent_size + unfragmentable_size + (UINT)sizeof(NX_IPV6_HEADER_FRAGMENT_OPTION) + NX_PHYSICAL_HEADER; in _nx_ipv6_fragment_process()
240 if (nx_packet_size > (mtu + NX_PHYSICAL_HEADER)) in _nx_ipv6_fragment_process()
242 nx_packet_size = (mtu + NX_PHYSICAL_HEADER); in _nx_ipv6_fragment_process()
310 first_fragment -> nx_packet_prepend_ptr += NX_PHYSICAL_HEADER; in _nx_ipv6_fragment_process()
311 first_fragment -> nx_packet_append_ptr += NX_PHYSICAL_HEADER; in _nx_ipv6_fragment_process()
Dnx_arp_packet_send.c90 …ket_allocate(ip_ptr -> nx_ip_auxiliary_packet_pool, &request_ptr, (NX_PHYSICAL_HEADER + NX_ARP_MES… in _nx_arp_packet_send()
95 …acket_allocate(ip_ptr -> nx_ip_default_packet_pool, &request_ptr, (NX_PHYSICAL_HEADER + NX_ARP_MES… in _nx_arp_packet_send()
Dnx_rarp_packet_send.c111 …ket_allocate(ip_ptr -> nx_ip_auxiliary_packet_pool, &request_ptr, (NX_PHYSICAL_HEADER + NX_RARP_ME… in _nx_rarp_packet_send()
116 …acket_allocate(ip_ptr -> nx_ip_default_packet_pool, &request_ptr, (NX_PHYSICAL_HEADER + NX_RARP_ME… in _nx_rarp_packet_send()
Dnx_arp_announce_send.c88 …ket_allocate(ip_ptr -> nx_ip_auxiliary_packet_pool, &request_ptr, (NX_PHYSICAL_HEADER + NX_ARP_MES… in _nx_arp_announce_send()
93 …acket_allocate(ip_ptr -> nx_ip_default_packet_pool, &request_ptr, (NX_PHYSICAL_HEADER + NX_ARP_MES… in _nx_arp_announce_send()
Dnx_arp_probe_send.c89 …ket_allocate(ip_ptr -> nx_ip_auxiliary_packet_pool, &request_ptr, (NX_PHYSICAL_HEADER + NX_ARP_MES… in _nx_arp_probe_send()
94 …acket_allocate(ip_ptr -> nx_ip_default_packet_pool, &request_ptr, (NX_PHYSICAL_HEADER + NX_ARP_MES… in _nx_arp_probe_send()
Dnx_ip_max_payload_size_find.c153 …payload_length = ip_ptr -> nx_ip_interface[if_index].nx_interface_ip_mtu_size + NX_PHYSICAL_HEADER; in _nx_ip_max_payload_size_find()
179 …_ipv6_address[if_index].nxd_ipv6_address_attached -> nx_interface_ip_mtu_size + NX_PHYSICAL_HEADER; in _nx_ip_max_payload_size_find()
Dnx_icmpv6_send_error_message.c204 …bytes_to_copy + sizeof(NX_IPV6_HEADER) + sizeof(NX_ICMPV6_ERROR) + NX_PHYSICAL_HEADER) - payload))… in _nx_icmpv6_send_error_message()
207 …o_copy = (UINT)(payload - (sizeof(NX_IPV6_HEADER) + sizeof(NX_ICMPV6_ERROR) + NX_PHYSICAL_HEADER)); in _nx_icmpv6_send_error_message()
Dnx_ip_forward_packet_process.c255 status = _nx_packet_data_adjust(packet_ptr, NX_PHYSICAL_HEADER); in _nx_ip_forward_packet_process()
Dnx_tcp_socket_send_internal.c376 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()
/NetX-Duo-v6.2.1/addons/dhcp/
Dnxd_dhcp_server.h261 #define NX_DHCP_MINIMUM_PACKET_PAYLOAD (NX_BOOT_BUFFER_SIZE + NX_PHYSICAL_HEADER + sizeof…
Dnxd_dhcp_client.h171 #define NX_DHCP_PACKET_PAYLOAD (NX_DHCP_MINIMUM_IP_DATAGRAM + NX_PHYSICAL_HEADER)
Dnxd_dhcp_client.c326 if (NX_DHCP_PACKET_PAYLOAD < (NX_PHYSICAL_HEADER + NX_DHCP_MINIMUM_IP_DATAGRAM)) in _nx_dhcp_create()
343 dhcp_ptr -> nx_dhcp_max_dhcp_message_size = NX_DHCP_PACKET_PAYLOAD - NX_PHYSICAL_HEADER; in _nx_dhcp_create()
860 …if (packet_pool_ptr -> nx_packet_pool_payload_size < (NX_PHYSICAL_HEADER + NX_DHCP_MINIMUM_IP_DATA… in _nxe_dhcp_packet_pool_set()
936 …cp_max_dhcp_message_size = packet_pool_ptr -> nx_packet_pool_payload_size - NX_PHYSICAL_HEADER; in _nx_dhcp_packet_pool_set()
/NetX-Duo-v6.2.1/common/inc/
Dnx_api.h548 #ifndef NX_PHYSICAL_HEADER
549 #define NX_PHYSICAL_HEADER 16 /* Maximum physical header */ macro
594 #define NX_IPv4_PACKET (NX_PHYSICAL_HEADER + 20) /* 20 bytes of IP header */
600 #define NX_IPv6_PACKET (NX_PHYSICAL_HEADER + 40) /* 40 bytes of basic IPv6 Header */
/NetX-Duo-v6.2.1/addons/pppoe/
Dnx_pppoe_server.c1233 …llocate(pppoe_server_ptr -> nx_pppoe_packet_pool_ptr, &packet_ptr, NX_PHYSICAL_HEADER, NX_PPPOE_SE… in _nx_pppoe_server_session_send()
2863 …llocate(pppoe_server_ptr -> nx_pppoe_packet_pool_ptr, &packet_ptr, NX_PHYSICAL_HEADER, NX_PPPOE_SE… in _nx_pppoe_server_discovery_send()
Dnx_pppoe_client.c2835 …llocate(pppoe_client_ptr -> nx_pppoe_packet_pool_ptr, &packet_ptr, NX_PHYSICAL_HEADER, NX_NO_WAIT); in _nx_pppoe_client_discovery_send()
/NetX-Duo-v6.2.1/addons/BSD/
Dnxd_bsd.c3168 packet_type = NX_PHYSICAL_HEADER; in nx_bsd_send_internal()
3195 packet_type = NX_PHYSICAL_HEADER; in nx_bsd_send_internal()
12510 …status = nx_packet_allocate(nx_bsd_default_packet_pool, &packet_ptr, NX_PHYSICAL_HEADER, NX_NO_WAI… in nx_bsd_pppoe_internal_sendto()
12806 …status = nx_packet_allocate(nx_bsd_default_packet_pool, &packet_ptr, NX_PHYSICAL_HEADER, NX_NO_WAI… in _nx_bsd_hardware_internal_sendto()
/NetX-Duo-v6.2.1/addons/nat/
Dnx_nat.c2861 status = _nx_packet_data_adjust(packet_ptr, NX_PHYSICAL_HEADER); in _nx_nat_ip_packet_send()