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 _adc_configure_ain_pin(), _sercom_set_handler(), _spi_check_config(), _spi_master_vec_int_handler(), _system_extint_init(), ac_init(), ac_unregister_callback(), adc_init(), adc_unregister_callback(), dac_init(), dac_unregister_callback(), dma_add_descriptor(), dma_allocate(), dma_descriptor_get_config_defaults(), dma_free(), dma_reset_descriptor(), dma_unregister_callback(), EIC_Handler(), ethernetif_init(), ethernetif_input(), events_add_hook(), events_create_hook(), events_del_hook(), EVSYS_Handler(), extint_register_callback(), extint_unregister_callback(), FreeRTOS_CLIGetParameter(), FreeRTOS_CLIProcessCommand(), FreeRTOS_CLIRegisterCommand(), freqm_init(), freqm_unregister_callback(), 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(), i2c_master_init(), i2c_master_unregister_callback(), i2c_slave_reset(), i2c_slave_unregister_callback(), if(), ksz8851snl_update(), main(), mem_free(), mem_malloc(), mem_name(), mem_trim(), memp_free(), memp_init(), netif_add(), netif_find(), netif_init(), netif_remove(), netif_set_default(), netif_set_ipaddr(), nvm_set_fuses(), 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(), prvAddNewTaskToReadyList(), prvAllocateTCBAndStack(), prvCopyDataToQueue(), prvHeapInit(), prvHelpCommand(), prvInitialiseNewQueue(), prvInitialiseTaskLists(), prvInitialiseTCBVariables(), prvUnlockQueue(), pvPortMalloc(), rtc_calendar_unregister_callback(), rtc_count_unregister_callback(), sam_ba_monitor_run(), sd_mmc_usb_read_10(), sd_mmc_usb_write_10(), sdadc_init(), sdadc_unregister_callback(), spi_init(), spi_master_vec_disable(), spi_master_vec_init(), spi_unregister_callback(), system_pinmux_get_group_from_gpio_pin(), tc_init(), tc_unregister_callback(), tcc_init(), tcc_unregister_callback(), tcpip_callback_with_block(), tcpip_callbackmsg_new(), tcpip_init(), tcpip_input(), tcpip_thread(), test_case_run(), TSENS_Handler(), tsens_unregister_callback(), usart_init(), usart_unregister_callback(), uxListRemove(), vListInitialiseItem(), vPortDefineHeapRegions(), vPortFree(), vQueueDelete(), vTaskStartScheduler(), wdt_unregister_callback(), 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)