Microchip® Advanced Software Framework

src/include/lwip/def.h File Reference
#include "lwip/arch.h"
#include "lwip/opt.h"

Macros

#define htonl(x)   lwip_htonl(x)
 
#define htons(x)   lwip_htons(x)
 
#define lwip_htonl(x)   (x)
 
#define lwip_htons(x)   (x)
 
#define LWIP_MAKE_U16(a, b)   ((a << 8) | b)
 
#define LWIP_MAX(x, y)   (((x) > (y)) ? (x) : (y))
 
#define LWIP_MIN(x, y)   (((x) < (y)) ? (x) : (y))
 
#define lwip_ntohl(x)   (x)
 
#define lwip_ntohs(x)   (x)
 
#define LWIP_PLATFORM_BYTESWAP   0
 
#define ntohl(x)   lwip_ntohl(x)
 
#define ntohs(x)   lwip_ntohs(x)
 
#define NULL   ((void *)0)
 
#define PP_HTONL(x)   (x)
 
#define PP_HTONS(x)   (x)
 
#define PP_NTOHL(x)   (x)
 
#define PP_NTOHS(x)   (x)
 

#define lwip_htonl (   x)    (x)
#define lwip_htons (   x)    (x)

Referenced by lwip_ntohs().

#define LWIP_MAKE_U16 (   a,
 
)    ((a << 8) | b)
#define LWIP_MAX (   x,
 
)    (((x) > (y)) ? (x) : (y))
#define LWIP_MIN (   x,
 
)    (((x) < (y)) ? (x) : (y))

Referenced by pbuf_alloc(), and pbuf_take_at().

#define lwip_ntohl (   x)    (x)
#define lwip_ntohs (   x)    (x)
#define LWIP_PLATFORM_BYTESWAP   0
#define ntohl (   x)    lwip_ntohl(x)
#define ntohs (   x)    lwip_ntohs(x)

Referenced by ip_input().

#define NULL   ((void *)0)

Referenced by _get_port(), _http_client_clear_conn(), _http_client_handle_header(), _http_client_read_chuked_entity(), _http_client_recv_packet(), _http_client_request(), aes_get_pdc_base(), ap_task(), at25dfx_enable_write(), at25dfx_erase_block(), at25dfx_erase_chip(), at25dfx_protect_sector(), at45dbx_usb_read_10(), at45dbx_usb_write_10(), atCmd_ApEnable_Handler(), atCmd_Connect_Handler(), atCmd_IPCon_Handler(), atCmd_IsParameterNumericOnly(), atCmd_Ping(), atCmd_SetStaticIP_Handler(), atCmd_WpsConnect_Handler(), att_iterator_fetch_next(), att_iterator_has_next(), att_notify_write_callbacks(), att_server_for_handle(), att_service_handler_for_handle(), att_update_value_len(), att_validate_prepared_write(), att_write_callback(), atwilc3000_wait_for_reset_completed(), atwilc3000_write_firmware(), bt_app_init(), bt_task(), btstack_linked_list_get_last_item(), btstack_linked_list_iterator_has_next(), btstack_linked_list_pop(), btstack_memory_avdtp_connection_get(), btstack_memory_avdtp_stream_endpoint_get(), btstack_memory_avrcp_connection_get(), btstack_memory_bnep_channel_get(), btstack_memory_bnep_service_get(), btstack_memory_btstack_link_key_db_memory_entry_get(), btstack_memory_hci_connection_get(), btstack_memory_hfp_connection_get(), btstack_memory_l2cap_channel_get(), btstack_memory_l2cap_service_get(), btstack_memory_pool_create(), btstack_memory_pool_get(), btstack_memory_rfcomm_channel_get(), btstack_memory_rfcomm_multiplexer_get(), btstack_memory_rfcomm_service_get(), btstack_memory_service_record_item_get(), btstack_run_loop_freertos_execute(), btstack_run_loop_freertos_init(), chipid_read(), compute_address(), configure_console(), create_connection_for_bd_addr_and_type(), device_information_service_server_init(), DRV_HMAC_Vector(), DRV_SHA1_Hash(), efc_perform_read_sequence(), ethernet_configure_interface(), ethernetif_init(), ethernetif_input(), flash_erase_all(), flash_get_descriptor(), flash_get_wait_state(), flash_lock(), flash_set_wait_state(), flash_set_wait_state_adaptively(), flash_unlock(), FreeRTOS_CLIGetParameter(), FreeRTOS_CLIProcessCommand(), FreeRTOS_CLIRegisterCommand(), fs_open(), gatt_client_for_timer(), gatt_client_init(), get_cmd_txt(), get_gatt_client_context_for_handle(), get_item(), gfx_draw_char_hugemem(), gfx_draw_char_progmem(), gfx_draw_progmem_string_aligned(), gfx_draw_string_aligned(), gfx_generic_put_bitmap(), gfx_get_progmem_string_bounding_box(), gfx_get_string_bounding_box(), gmac_dev_read(), gmac_dev_set_rx_callback(), gmac_dev_set_tx_wakeup_callback(), gmac_init_mem(), gmac_low_level_output(), gmac_rx_populate_queue(), hal_tick_set_handler(), handle_read_by_group_type_request2(), hci_close(), hci_connection_for_bd_addr_and_type(), hci_connection_for_handle(), hci_dump_packet(), hci_run(), hci_state_reset(), hci_transport_link_clear_queue(), hci_transport_link_send_ack_packet(), hci_transport_synchronous(), hif_init(), hif_send(), http_accept(), http_client_close(), http_client_deinit(), http_client_get_config_defaults(), http_client_init(), http_client_register_callback(), http_client_send_request(), http_client_timer_callback(), http_client_unregister_callback(), http_close_conn(), http_poll(), http_recv(), http_request(), if(), ili9341_copy_pixels_to_screen(), ili9341_duplicate_pixel(), ili93xx_disable_scroll(), ili93xx_display_off(), ili93xx_display_on(), inet_chksum_pbuf(), inet_cksum_pseudo_base(), inet_cksum_pseudo_partial_base(), ip_input(), ip_output(), ip_output_if(), ip_output_if_src(), ip_route(), ipaddr_ntoa_r(), iperf_tcp_server(), iperf_tcp_task(), iperf_udp_server(), iperf_udp_task(), l2cap_create_signaling_internal(), l2cap_init(), l2cap_run(), m2m_periph_gpio_set_dir(), m2m_periph_gpio_set_val(), m2m_wifi_ap_add_black_list(), m2m_wifi_ap_get_assoc_info(), m2m_wifi_cb(), m2m_wifi_change_monitoring_channel(), m2m_wifi_connect(), m2m_wifi_deinit(), m2m_wifi_disable_ap(), m2m_wifi_disable_mcast_filter(), m2m_wifi_disable_monitoring_mode(), m2m_wifi_disconnect(), m2m_wifi_download_cert(), m2m_wifi_enable_ap(), m2m_wifi_enable_mac_mcast(), m2m_wifi_enable_mcast_filter(), m2m_wifi_enable_monitoring_mode(), m2m_wifi_get_connection_info(), m2m_wifi_init(), m2m_wifi_p2p(), m2m_wifi_p2p_disconnect(), m2m_wifi_req_curr_rssi(), m2m_wifi_req_scan_result(), m2m_wifi_request_scan(), m2m_wifi_request_scan_ssid(), m2m_wifi_send_ethernet_pkt(), m2m_wifi_send_wlan_pkt(), m2m_wifi_set_antenna_mode(), m2m_wifi_set_cust_InfoElement(), m2m_wifi_set_device_name(), m2m_wifi_set_ht_enable(), m2m_wifi_set_lsn_int(), m2m_wifi_set_mac_address(), m2m_wifi_set_max_tx_rate(), m2m_wifi_set_p2p_control_ifc(), m2m_wifi_set_p2p_pin(), m2m_wifi_set_receive_buffer(), m2m_wifi_set_scan_list(), m2m_wifi_set_scan_options(), m2m_wifi_set_scan_region(), m2m_wifi_set_sleep_mode(), m2m_wifi_set_tx_power(), m2m_wifi_wps(), m2m_wifi_wps_disable(), main(), mem_free(), mem_malloc(), mem_name(), mem_trim(), membag_alloc(), membag_get_largest_free_block_size(), membag_get_smallest_free_block_size(), memp_free(), memp_init(), mxt_init_device(), mxt_process_messages(), netif_add(), netif_find(), netif_init(), netif_remove(), netif_set_default(), netif_set_ipaddr(), nm_bsp_init(), nm_drv_init(), os_hif_task(), os_hook_init(), os_hook_isr(), ov_configure(), ov_dump_registers(), parse_cmd(), parse_response(), pbuf_alloc(), pbuf_cat(), pbuf_clen(), pbuf_coalesce(), pbuf_copy(), pbuf_copy_partial(), pbuf_dechain(), pbuf_free(), pbuf_get_at(), pbuf_header(), pbuf_header_impl(), pbuf_memcmp(), pbuf_put_at(), pbuf_realloc(), pbuf_ref(), pbuf_skip(), pbuf_strstr(), pbuf_take(), pbuf_take_at(), pbuf_take_partial(), portTASK_FUNCTION(), printf_timestamp(), provide_context_for_conn_handle(), provide_context_for_conn_handle_and_start_timer(), prvAddNewTaskToReadyList(), prvAllocateTCBAndStack(), prvCopyDataToQueue(), prvHeapInit(), prvHelpCommand(), prvHighestPriorityPeekTask(), prvHighPriorityMutexTask(), prvHighPriorityPeekTask(), prvInitialiseNewQueue(), prvInitialiseTaskLists(), prvInitialiseTCBVariables(), prvLowPriorityMutexTask(), prvMediumPriorityMutexTask(), prvMediumPriorityPeekTask(), prvRecursiveMutexBlockingTask(), prvRecursiveMutexControllingTask(), prvUnlockQueue(), pvPortMalloc(), run_gpbr_test(), sd_mmc_usb_read_10(), sd_mmc_usb_write_10(), SetServerIpAddr(), setup_long_characteristic_value_packet(), Sha_HashFinish(), Sha_HashUpdate(), sm_address_resolution_handle_event(), sm_get_connection_for_handle(), sm_handle_random_result(), sm_init(), sm_key_distribution_handle_all_received(), sm_notify_client_index(), sm_pdu_handler(), sm_request_pairing(), sm_run(), ssc_set_receiver(), ssc_set_transmitter(), sta_task(), start_download(), start_m2m_app(), stdio_serial_init(), stdio_usb_init(), store_file_packet(), StrMac2Bin(), sys_arch_mbox_fetch(), sys_arch_mbox_tryfetch(), sys_arch_sem_wait(), sys_mbox_free(), sys_mbox_new(), sys_mbox_post(), sys_mbox_set_invalid(), sys_mbox_trypost(), sys_mutex_set_invalid(), sys_sem_free(), sys_sem_new(), sys_sem_set_invalid(), sys_sem_signal(), sys_thread_new(), tcp_client(), tcpip_callback_with_block(), tcpip_callbackmsg_new(), tcpip_init(), tcpip_input(), tcpip_thread(), test_case_run(), twihs_get_pdc_base(), u8_encode(), udc_iface_disable(), udc_iface_enable(), udc_process_setup(), udc_req_std_dev_get_descriptor(), udc_sof_notify(), udd_ctrl_init(), udd_ctrl_out_received(), udi_msc_trans_block(), udp_client(), uhc_connection_tree(), uhc_dev_get_power(), uhc_dev_get_string(), uhc_dev_get_string_manufacturer(), uhc_dev_get_string_product(), uhc_dev_get_string_serial(), uhc_dev_is_high_speed_support(), uhc_dev_reset(), uhc_enumeration_error(), uhc_enumeration_step11(), uhc_enumeration_step12(), uhc_enumeration_step13(), uhc_enumeration_step14(), uhc_enumeration_step15(), uhc_enumeration_step5(), uhc_enumeration_step9(), uhc_get_device_number(), uhc_notify_sof(), uhc_remotewakeup(), uhd_ctrl_phase_data_in(), uhd_ctrl_phase_data_out(), uhd_ctrl_request_end(), uhd_enable(), uhd_interrupt(), uhd_pipe_finish_job(), uhd_setup_request(), uhi_aoa_install(), uhi_aoa_mode_enable_step1(), uhi_aoa_mode_enable_step2(), uhi_aoa_mode_enable_step3(), uhi_aoa_register_hid(), uhi_aoa_send_hid_event(), uhi_aoa_send_info_string(), uhi_aoa_uninstall(), uhi_aoa_unregister_hid(), uhi_cdc_free_device(), uhi_cdc_get_nb_received(), uhi_cdc_get_port(), uhi_cdc_getc(), uhi_cdc_install(), uhi_cdc_is_tx_ready(), uhi_cdc_putc(), uhi_cdc_read_buf(), uhi_cdc_rx_received(), uhi_cdc_set_conf(), uhi_cdc_set_ctrl_line(), uhi_cdc_sof(), uhi_cdc_tx_send(), uhi_cdc_uninstall(), uhi_cdc_write_buf(), uhi_hid_mouse_install(), uhi_hid_mouse_uninstall(), uhi_msc_enable(), uhi_msc_enable_step1(), uhi_msc_enable_step2(), uhi_msc_get_lun(), uhi_msc_get_lun_desc(), uhi_msc_mem_read_10_ram(), uhi_msc_mem_read_capacity(), uhi_msc_mem_read_sector_size(), uhi_msc_mem_wr_protect(), uhi_msc_mem_write_10_ram(), uhi_msc_reset_endpoint(), uhi_msc_scsi_test_unit_ready(), uhi_msc_uninstall(), uhi_vendor_bulk_is_available(), uhi_vendor_control_in_run(), uhi_vendor_control_out_run(), uhi_vendor_enable(), uhi_vendor_install(), uhi_vendor_int_is_available(), uhi_vendor_iso_is_available(), uhi_vendor_uninstall(), usart_get_pdc_base(), uxListRemove(), vAltStartComTestTasks(), vApplicationMallocFailedHook(), vCreateAltBlockTimeTasks(), vCreateBlockTimeTasks(), vCreateSuicidalTasks(), virtual_usb_trans(), vListInitialiseItem(), vListRemove(), vPortDefineHeapRegions(), vPortFree(), vSecondaryBlockTimeTestTask(), vStartAltBlockingQueueTasks(), vStartAltGenericQueueTasks(), vStartAltPolledQueueTasks(), vStartBlockingQueueTasks(), vStartCountingSemaphoreTasks(), vStartDynamicPriorityTasks(), vStartGenericQueueTasks(), vStartIntegerMathTasks(), vStartLEDFlashTasks(), vStartMathTasks(), vStartPolledQueueTasks(), vStartQueuePeekTasks(), vStartRecursiveMutexTasks(), vStartSemaphoreTasks(), vTaskStartScheduler(), wifi_cb(), wifi_monitoring_cb(), wilc_netif_init(), wilc_netif_rx_callback(), wilc_netif_tx(), wilc_task_1(), xCoRoutineCreate(), xEventGroupCreate(), xQueueGenericCreate(), xQueueGenericReceive(), xQueueGenericSend(), xQueueGenericSendFromISR(), xQueueGiveFromISR(), xQueuePeek(), xQueuePeekFromISR(), xQueueReceive(), xQueueReceiveFromISR(), xStreamBufferReceive(), xStreamBufferReceiveCompletedFromISR(), xStreamBufferReset(), xStreamBufferSend(), xStreamBufferSendCompletedFromISR(), xTaskIncrementTick(), and xTaskResumeAll().

#define PP_HTONL (   x)    (x)

Referenced by netif_init().

#define PP_HTONS (   x)    (x)

Referenced by ip_input().

#define PP_NTOHL (   x)    (x)
#define PP_NTOHS (   x)    (x)