mirror of
				https://github.com/0xFEEDC0DE64/arduino-esp32.git
				synced 2025-10-31 22:21:39 +01:00 
			
		
		
		
	Add Server and UDP and fix WiFi.hostByName
This commit is contained in:
		| @@ -105,6 +105,12 @@ typedef enum { | ||||
| /** indicates this pbuf includes a TCP FIN flag */ | ||||
| #define PBUF_FLAG_TCP_FIN   0x20U | ||||
|  | ||||
| #if ESP_LWIP | ||||
| #define PBUF_USER_FLAG_OWNER_NULL   0 | ||||
| #define PBUF_USER_FLAG_OWNER_WIFI   1 | ||||
| #define PBUF_USER_FLAG_OWNER_ETH    2 | ||||
| #endif | ||||
|  | ||||
| struct pbuf { | ||||
|   /** next pbuf in singly linked pbuf chain */ | ||||
|   struct pbuf *next; | ||||
| @@ -138,7 +144,8 @@ struct pbuf { | ||||
|   u16_t ref; | ||||
|    | ||||
| #if ESP_LWIP | ||||
|   void  *eb; | ||||
|   void  *user_buf; | ||||
|   u8_t user_flag; | ||||
| #endif | ||||
| }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user