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 htonl (   x)    lwip_htonl(x)

Referenced by ipaddr_aton().

#define htons (   x)    lwip_htons(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 adc_pdca_get_config_defaults(), adc_pdca_set_config(), APP_CommandsInit(), app_led_event(), app_reset(), appCmdDataConf(), at25dfx_enable_write(), at25dfx_erase_block(), at25dfx_erase_chip(), at25dfx_protect_sector(), at45dbx_usb_read_10(), at45dbx_usb_write_10(), awake_timer_cb(), bc_data_cb(), bcn_payload_update_cb(), cleanup_tal(), complete_rx_transaction(), compute_mic(), configure_console(), convert_ota_serial_frame_tx(), csma_backoff_calculation(), dispatch_event(), encrypt_pldmic(), encrypt_with_padding(), ethernetif_init(), ethernetif_input(), FreeRTOS_CLIGetParameter(), FreeRTOS_CLIProcessCommand(), FreeRTOS_CLIRegisterCommand(), generate_firmware(), get_next_tx_buffer(), gpio_common_handler(), gts_data_cb(), handle_gts_data_req(), handle_incoming_msg(), handle_input(), handle_received_frame_irq(), handle_tx_end_irq(), identify_timer_handler_cb(), if(), ili93xx_disable_scroll(), ili93xx_display_off(), ili93xx_display_on(), indirect_data_cb(), inet_chksum_pbuf(), inet_cksum_pseudo_base(), inet_cksum_pseudo_partial_base(), integrity_check(), ip_input(), ip_output(), ip_output_if(), ip_output_if_src(), ip_route(), ipaddr_ntoa_r(), ksz8851snl_update(), LCDCA_Handler(), led_blinker_timer_handler_cb(), led_handling(), mac_gts_table_update(), mac_process_data_frame(), mac_process_tal_tx_status(), mac_send_gts_ind(), mac_t_gts_cb(), mac_task(), mac_tx_gts_data(), main(), marker_rsp_timer_handler_cb(), marker_tx_timer_handler_cb(), mcps_data_request(), 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(), netif_add(), netif_find(), netif_init(), netif_remove(), netif_set_default(), netif_set_ipaddr(), network_scan_indication_cb(), network_search_indication_cb(), nlde_data_request(), nlme_auto_discovery_request(), nlme_discovery_request(), nlme_discovery_response(), nlme_get_request(), nlme_pair_request(), nlme_pair_response(), nlme_reset_request(), nlme_rx_enable_request(), nlme_set_request(), nlme_start_confirm(), nlme_start_request(), nlme_unpair_request(), nlme_unpair_response(), nlme_update_key_request(), nwk_ch_agility_request(), NWK_DataReq(), NWK_Init(), nwkDataReqInit(), nwkDataReqSendFrame(), nwkFrameAlloc(), nwkFrameNext(), nwkRxIndicateFrame(), nwkRxRejectDuplicate(), nwkRxSendAck(), nwkRxTaskHandler(), nwkTxAckReceived(), nwkTxAckWaitTimerHandler(), nwkTxBroadcastFrame(), nwkTxDelayTimerHandler(), nwkTxInit(), nwkTxTaskHandler(), parc_init(), parc_unregister_callback(), parse_mpdu(), pbp_org_pair_confirm(), pbp_org_pair_request(), pbp_rec_pair_request(), 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(), peer_req_send_task(), peer_rsp_rcvd_init(), peer_rsp_rcvd_tx_cb(), per_mode_initiator_init(), per_mode_initiator_rx_cb(), per_mode_initiator_task(), per_mode_receptor_rx_cb(), per_mode_receptor_task(), performance_analyzer_init(), PHY_DataConf(), PHY_DataInd(), PHY_EncryptReq(), pktstream_test(), placeTimer(), portTASK_FUNCTION(), process_data_ind_not_transient(), process_deallocate_data_q(), program_memory(), prvAddNewTaskToReadyList(), prvAllocateTCBAndStack(), prvCopyDataToQueue(), prvHeapInit(), prvHelpCommand(), prvHighestPriorityPeekTask(), prvHighPriorityMutexTask(), prvHighPriorityPeekTask(), prvInitialiseNewQueue(), prvInitialiseTaskLists(), prvInitialiseTCBVariables(), prvLowPriorityMutexTask(), prvMediumPriorityMutexTask(), prvMediumPriorityPeekTask(), prvRecursiveMutexBlockingTask(), prvRecursiveMutexControllingTask(), prvUnlockQueue(), pvPortMalloc(), range_test_timer_handler_cb(), range_test_tx_on_init(), range_test_tx_on_task(), range_test_tx_timer_handler_cb(), register_nwk_indication_callback(), register_zrc_indication_callback(), sal_aes_setup(), sal_aes_wrrd(), sd_mmc_usb_read_10(), sd_mmc_usb_write_10(), send_range_test_marker_rsp(), serial_data_handler(), SPI_Handler(), start_beacon_loss_timer(), start_range_test(), stb_ccm_secure(), stdio_serial_init(), stdio_usb_init(), stop_pkt_streaming(), sw_timer_init(), sw_timer_service(), switch_to_rx(), 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(), SYS_TimerInit(), SYS_TimerStop(), tal_init(), tal_pib_set(), tal_reset(), tal_rx_enable(), tal_rx_frame_cb(), tal_task(), tal_trx_sleep(), tal_trx_wakeup(), tal_tx_frame(), tcpip_callback_with_block(), tcpip_callbackmsg_new(), tcpip_init(), tcpip_input(), tcpip_thread(), test_case_run(), 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(), 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_pipe_trans_complet(), 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(), upload_frame(), usart_get_pdc_base(), usr_cont_pulse_tx_confirm(), usr_cont_wave_tx_confirm(), usr_ed_scan_end_indication(), usr_ed_scan_start_confirm(), usr_get_current_config_confirm(), usr_identify_board_confirm(), usr_identify_peer_node_confirm(), usr_mcps_data_ind(), usr_mlme_gts_ind(), usr_peer_disconnect_confirm(), usr_per_test_end_indication(), usr_per_test_start_confirm(), usr_perf_get_confirm(), usr_perf_set_confirm(), usr_perf_start_confirm(), usr_pkt_stream_confirm(), usr_range_test_beacon_rsp(), usr_range_test_beacon_tx(), usr_range_test_marker_ind(), usr_range_test_start_confirm(), usr_range_test_stop_confirm(), usr_register_dump_confirm(), usr_register_read_confirm(), usr_register_write_confirm(), usr_rx_on_confirm(), usr_sensor_data_get_confirm(), usr_set_default_config_confirm(), 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(), wait_for_conf_init(), wait_for_event_task(), wait_for_reply_timer_handler_cb(), wpan_mcps_data_req(), wpan_mlme_reset_req(), wpan_mlme_set_req(), wpan_task(), xCoRoutineCreate(), xEventGroupCreate(), xQueueGenericCreate(), xQueueGenericReceive(), xQueueGenericSend(), xQueueGenericSendFromISR(), xQueueGiveFromISR(), xQueuePeek(), xQueuePeekFromISR(), xQueueReceive(), xQueueReceiveFromISR(), xStreamBufferReceive(), xStreamBufferReceiveCompletedFromISR(), xStreamBufferReset(), xStreamBufferSend(), xStreamBufferSendCompletedFromISR(), xTaskIncrementTick(), xTaskResumeAll(), zrc_cmd_disc_request(), zrc_cmd_disc_response(), zrc_cmd_indication(), and zrc_cmd_request().

#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)