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 aes_get_pdc_base(), app_ble_wifi_provisioning(), at25dfx_enable_write(), at25dfx_erase_block(), at25dfx_erase_chip(), at25dfx_protect_sector(), at45dbx_usb_read_10(), at45dbx_usb_write_10(), at_ble_addr_get(), at_ble_addr_set(), at_ble_adv_data_set(), at_ble_adv_start(), at_ble_authenticate(), at_ble_characteristic_discover_all(), at_ble_descriptor_discover_all(), at_ble_device_name_set(), at_ble_encryption_request_reply(), at_ble_encryption_start(), at_ble_event_get(), at_ble_included_service_discover_all(), at_ble_pair_key_reply(), at_ble_primary_service_discover_all(), at_ble_random_address_resolve(), at_ble_service_define(), at_ble_set_gap_deviceinfo(), at_ble_set_privacy_key(), at_ble_whitelist_add(), at_ble_whitelist_clear(), at_ble_whitelist_remove(), bat_init_service(), bat_primary_service_define(), bind(), ble_bat_init(), ble_bat_start_advertise(), ble_connected_state_handler(), ble_device_init(), ble_disconnected_state_handler(), ble_encryption_status_change_handler(), ble_event_manager(), ble_heart_rate_init(), ble_heart_rate_start_advertise(), ble_pair_done_handler(), ble_pair_request_handler(), ble_pxp_init(), ble_set_device_name(), ble_slave_security_handler(), chipid_read(), close(), compute_address(), configure_console(), connect(), csc_prf_dev_adv(), csc_prf_disconnect_event_handler(), csc_serv_init(), efc_perform_read_sequence(), ethernet_configure_interface(), ethernetif_init(), ethernetif_input(), event_get(), event_init(), event_post(), find_flash_section(), 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(), gapc_bond_ind(), gapm_start_adv_cmd_handler(), gapm_white_list_mgm_cmd(), gattc_disc_cmd_handler(), get_error_detail(), gethostbyname(), 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(), heart_rate_init_service(), heart_rate_primary_service_define(), hif_enable_access(), hif_receive(), hif_send(), http_accept(), http_close_conn(), http_poll(), http_recv(), ias_primary_service_define(), if(), ili9341_copy_pixels_to_screen(), ili9341_duplicate_pixel(), ili93xx_disable_scroll(), ili93xx_display_off(), ili93xx_display_on(), init_immediate_alert_service(), init_linkloss_service(), init_tx_power_service(), IperfSocketEventHandler(), IperfTCP_ServerStart(), IperfUDP_SendTestPacket(), IperfUpdate(), is_presentation_format_defined(), listen(), lls_primary_service_define(), m2m_ble_event_get(), m2m_ble_init(), m2m_ble_plf_wait_func(), m2m_flash_read(), m2m_flash_write(), 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_periph_gpio_set_dir(), m2m_periph_gpio_set_val(), 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_ble_set_gain_table(), m2m_wifi_cb(), m2m_wifi_check_ota_rb(), 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_restrict_ble(), m2m_wifi_req_scan_result(), m2m_wifi_req_server_init(), m2m_wifi_req_unrestrict_ble(), 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(), 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_app_init(), nm_bsp_init(), nm_bsp_stop_1ms_timer(), nm_bsp_stop_timer(), nm_drv_init_download_mode(), nm_drv_init_hold(), nm_drv_init_start(), nm_get_firmware_full_info(), nm_get_hif_info(), nm_get_ota_firmware_info(), ov_configure(), ov_dump_registers(), parse_weather_icon(), 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(), pbuf_take_partial(), platform_interface_callback(), portTASK_FUNCTION(), prov_socket_cb(), prvAddNewTaskToReadyList(), prvAllocateTCBAndStack(), prvCopyDataToQueue(), prvHeapInit(), prvHelpCommand(), prvHighestPriorityPeekTask(), prvHighPriorityMutexTask(), prvHighPriorityPeekTask(), prvInitialiseNewQueue(), prvInitialiseTaskLists(), prvInitialiseTCBVariables(), prvLowPriorityMutexTask(), prvMediumPriorityMutexTask(), prvMediumPriorityPeekTask(), prvRecursiveMutexBlockingTask(), prvRecursiveMutexControllingTask(), prvUnlockQueue(), pvPortMalloc(), pxp_disconnect_event_handler(), pxp_reporter_adv(), rawSetSockOpt(), recv(), recvfrom(), run_gpbr_test(), sd_mmc_usb_read_10(), sd_mmc_usb_write_10(), secure(), send(), sendto(), set_alpn_list(), setsockopt(), Socket_ReadSocketData(), socketDeinit(), spi_flexible_flash_find_section(), ssc_set_receiver(), ssc_set_transmitter(), sslEnableCertExpirationCheck(), start_advertise(), stdio_serial_init(), stdio_usb_init(), tcpip_callback_with_block(), tcpip_callbackmsg_new(), tcpip_init(), tcpip_input(), tcpip_thread(), test_case_run(), trans_service_init(), trans_service_primary_service_define(), twihs_get_pdc_base(), txps_primary_service_define(), 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_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(), user_description_define(), 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_ap_connect(), wifi_ap_provision(), wifi_handle_events(), wifi_recieve_packet(), wificon_primary_service_define(), wifiscan_primary_service_define(), 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)