Microchip® Advanced Software Framework

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)
#define htons (   x)    lwip_htons(x)

Referenced by ethernetif_input().

#define lwip_htonl (   x)    (x)
#define lwip_htons (   x)    (x)
#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().

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

Referenced by _at25dfx_chip_enable_write(), _at25dfx_chip_get_nonbusy_status(), _at25dfx_chip_issue_read_command_wait(), _at25dfx_chip_issue_write_command_wait(), _sercom_set_handler(), _spi_check_config(), _spi_master_vec_int_handler(), _uhd_ctrl_phase_data_in(), _uhd_ctrl_phase_data_out(), _uhd_ctrl_request_end(), _uhd_pipe_finish_job(), _uhd_pipe_trans_complete(), _uhd_reset(), _usb_ep0_on_setup(), _usb_ep0_on_tansfer_ok(), _usb_host_interrupt_handler(), about_task(), ac_unregister_callback(), app_led_event(), app_reset(), appAckWaitDataCallback(), at25dfx_chip_check_presence(), at25dfx_chip_erase(), at25dfx_chip_erase_block(), at25dfx_chip_set_global_sector_protect(), at25dfx_chip_set_sector_protect(), at25dfx_chip_sleep(), at25dfx_chip_wake(), bind(), cdc_rx_handler(), close(), compute_mic(), connect(), convert_ota_serial_frame_tx(), csma_backoff_calculation(), dataTimerHandler(), demotasks_init(), dispatch_event(), dma_add_descriptor(), dma_allocate(), dma_descriptor_get_config_defaults(), dma_free(), dma_reset_descriptor(), dma_unregister_callback(), EIC_Handler(), encrypt_pldmic(), encrypt_with_padding(), ethernetif_init(), ethernetif_input(), events_add_hook(), events_create_hook(), events_del_hook(), EVSYS_Handler(), extint_register_callback(), extint_unregister_callback(), frameParse(), frameTransmit(), frameTxCallback(), FreeRTOS_CLIGetParameter(), FreeRTOS_CLIProcessCommand(), FreeRTOS_CLIRegisterCommand(), get_error_detail(), get_next_tx_buffer(), gethostbyname(), gfx_mono_draw_char_hugemem(), gfx_mono_draw_char_progmem(), gfx_mono_draw_progmem_string(), gfx_mono_draw_string(), gfx_mono_get_progmem_string_bounding_box(), gfx_mono_get_string_bounding_box(), handle_gts_data_req(), handle_incoming_msg(), handle_received_frame_irq(), handle_tx_end_irq(), handleLostConnection(), hif_receive(), hif_send(), if(), ksz8851snl_update(), led_blinker_timer_handler_cb(), listen(), m2m_ip_cb(), m2m_ota_abort(), m2m_ota_cb(), m2m_ota_host_file_erase(), m2m_ota_host_file_get(), m2m_ota_host_file_read_hif(), m2m_ota_host_file_read_spi(), m2m_ota_init(), m2m_ota_notif_check_for_update(), m2m_ota_notif_sched(), m2m_ota_notif_set_url(), m2m_ota_rollback(), m2m_ota_start_update(), m2m_ota_switch_firmware(), m2m_ping_req(), m2m_ssl_retrieve_hash(), m2m_ssl_retrieve_next_for_verifying(), m2m_ssl_send_certs_to_winc(), m2m_ssl_set_active_ciphersuites(), m2m_ssl_stop_retrieving(), m2m_validate_ap_parameters(), m2m_validate_scan_options(), m2m_wifi_1x_get_option(), m2m_wifi_1x_set_option(), m2m_wifi_cb(), m2m_wifi_conf_auto_rate(), m2m_wifi_configure_sntp(), m2m_wifi_connect_1x_mschap2(), m2m_wifi_connect_1x_tls(), m2m_wifi_connect_open(), m2m_wifi_connect_prepare_msg(), m2m_wifi_connect_psk(), m2m_wifi_connect_sc(), m2m_wifi_connect_wep(), m2m_wifi_default_connect(), m2m_wifi_deinit(), m2m_wifi_delete_sc(), m2m_wifi_disable_ap(), m2m_wifi_disable_roaming(), m2m_wifi_disconnect(), m2m_wifi_enable_ap_ext(), m2m_wifi_enable_dhcp(), m2m_wifi_enable_firmware_logs(), m2m_wifi_enable_roaming(), m2m_wifi_enable_sntp(), m2m_wifi_enable_XO_during_sleep(), m2m_wifi_get_connection_info(), m2m_wifi_get_system_time(), m2m_wifi_init_start(), m2m_wifi_p2p(), m2m_wifi_p2p_disconnect(), m2m_wifi_prng_get_random_bytes(), m2m_wifi_reinit_hold(), m2m_wifi_req_client_ctrl(), m2m_wifi_req_curr_rssi(), m2m_wifi_req_scan_result(), m2m_wifi_req_server_init(), m2m_wifi_request_scan(), m2m_wifi_request_scan_passive(), m2m_wifi_request_scan_ssid_list(), m2m_wifi_request_sleep(), m2m_wifi_send_crl(), m2m_wifi_send_ethernet_pkt(), m2m_wifi_set_battery_voltage(), m2m_wifi_set_cust_InfoElement(), m2m_wifi_set_device_name(), m2m_wifi_set_gain_table_idx(), m2m_wifi_set_gains(), m2m_wifi_set_lsn_int(), m2m_wifi_set_mac_address(), m2m_wifi_set_power_profile(), m2m_wifi_set_scan_options(), m2m_wifi_set_scan_region(), m2m_wifi_set_sleep_mode(), m2m_wifi_set_static_ip(), m2m_wifi_set_stop_scan_on_first(), m2m_wifi_set_system_time(), m2m_wifi_set_tx_power(), m2m_wifi_start_provision_mode_ext(), m2m_wifi_stop_provision_mode(), m2m_wifi_wps(), m2m_wifi_wps_disable(), 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(), macAckOnlyDataCallback(), main(), main_task(), marker_rsp_timer_handler_cb(), marker_tx_timer_handler_cb(), mcps_data_request(), mem_free(), mem_malloc(), mem_name(), mem_trim(), memp_free(), memp_init(), MiApp_BroadcastConnectionTable(), MiApp_ProtocolInit(), MiApp_SendData(), MiApp_SubscribeDataIndicationCallback(), MiApp_SubscribeLinkFailureCallback(), MiApp_SubscribeReConnectionCallback(), MiMem_Alloc(), MiMem_Free(), MiMem_Init(), miQueueAppend(), miQueueFlush(), miQueueInit(), miQueueReadOrRemove(), netif_add(), netif_find(), netif_init(), netif_remove(), netif_set_default(), netif_set_ipaddr(), nm_bsp_init(), nm_drv_init_download_mode(), nm_drv_init_hold(), nm_drv_init_start(), nm_get_firmware_full_info(), nm_get_ota_firmware_info(), nvm_set_fuses(), otau_log(), otauClientSendNotify(), otauDataInd(), otauDataSend(), otauDebugTimerHandler(), otauTask(), P2PTasks(), parse_mpdu(), pbuf_alloc(), pbuf_cat(), pbuf_clen(), pbuf_coalesce(), pbuf_copy(), pbuf_copy_partial(), pbuf_dechain(), pbuf_free(), pbuf_get_at(), pbuf_header(), pbuf_memcmp(), pbuf_realloc(), pbuf_ref(), pbuf_strstr(), pbuf_take(), PDS_InitItems(), pdsRestoreItem(), pdsStoreItem(), 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_DataReq(), PHY_DecryptReq(), PHY_EncryptReq(), PHY_EncryptReqCBC(), PHY_TaskHandler(), PHY_TxHandler(), pktstream_test(), placeTimer(), process_data_ind_not_transient(), process_deallocate_data_q(), protocolTimerHandler(), prvAddNewTaskToReadyList(), prvAllocateTCBAndStack(), prvCopyDataToQueue(), prvHeapInit(), prvHelpCommand(), prvInitialiseNewQueue(), prvInitialiseTaskLists(), prvInitialiseTCBVariables(), prvUnlockQueue(), pvPortMalloc(), range_test_timer_handler_cb(), range_test_tx_on_init(), range_test_tx_on_task(), range_test_tx_timer_handler_cb(), readCircularBuffer(), recv(), recvfrom(), removeConnection(), sal_aes_setup(), sal_aes_wrrd(), sd_mmc_usb_read_10(), sd_mmc_usb_write_10(), secure(), send(), send_image_req(), send_range_test_marker_rsp(), send_switch_req(), sendConnectionRequest(), sendto(), serial_data_handler(), set_alpn_list(), setsockopt(), Socket_ReadSocketData(), socketDeinit(), spi_flexible_flash_find_section(), spi_init(), spi_master_vec_disable(), spi_master_vec_init(), spi_unregister_callback(), sslEnableCertExpirationCheck(), start_beacon_loss_timer(), start_range_test(), stb_ccm_secure(), stdio_usb_init(), stop_pkt_streaming(), sw_timer_init(), sw_timer_service(), SYS_TimerInit(), SYS_TimerStop(), system_pinmux_get_group_from_gpio_pin(), tal_init(), tal_pib_set(), tal_reset(), tal_rx_enable(), tal_rx_frame_cb(), tal_task(), tal_trx_wakeup(), tal_tx_frame(), tc_unregister_callback(), tcc_init(), tcc_unregister_callback(), tcpip_callback_with_block(), tcpip_callbackmsg_new(), tcpip_init(), tcpip_input(), tcpip_thread(), test_case_run(), udc_iface_disable(), udc_iface_enable(), udc_process_setup(), udc_req_std_dev_get_descriptor(), udc_sof_notify(), udd_ctrl_out_received(), udd_ep_abort(), udd_ep_get_job(), udd_ep_run(), udd_ep_trans_in_next(), udd_ep_trans_out_next(), 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_step17_lpm(), uhc_enumeration_step18_lpm(), uhc_enumeration_step5(), uhc_enumeration_step9(), uhc_get_device_number(), uhc_notify_sof(), uhc_remotewakeup(), uhc_request_bos_desc(), uhc_suspend_lpm(), uhd_enable(), uhd_ep_free(), 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_init(), usart_unregister_callback(), usb_device_endpoint_unregister_callback(), usb_device_unregister_callback(), usb_host_pipe_unregister_callback(), usb_host_unregister_callback(), usb_init(), 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_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(), virtual_usb_trans(), vListInitialiseItem(), vPortDefineHeapRegions(), vPortFree(), vQueueDelete(), vTaskStartScheduler(), wait_for_conf_init(), wait_for_event_task(), wait_for_reply_timer_handler_cb(), wdt_unregister_callback(), wpan_mcps_data_req(), wpan_mlme_reset_req(), wpan_mlme_set_req(), wpan_task(), writeCircularBuffer(), xCoRoutineCreate(), xEventGroupCreate(), xQueueGenericCreate(), xQueueGenericReceive(), xQueueGenericSend(), xQueueGenericSendFromISR(), xQueueGiveFromISR(), xQueuePeek(), xQueuePeekFromISR(), xQueueReceive(), xQueueReceiveFromISR(), xStreamBufferReceive(), xStreamBufferReceiveCompletedFromISR(), xStreamBufferReset(), xStreamBufferSend(), xStreamBufferSendCompletedFromISR(), xTaskIncrementTick(), and xTaskResumeAll().

#define PP_HTONL (   x)    (x)
#define PP_HTONS (   x)    (x)
#define PP_NTOHL (   x)    (x)
#define PP_NTOHS (   x)    (x)