uip: de-__gptrput()-call access to struct uip_udp_conn

This commit is contained in:
René van Dorst
2026-04-18 22:38:42 +02:00
parent 3e599f0e06
commit 94bf4425ba
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ struct dhcp_state {
uint32_t rebind; uint32_t rebind;
uint32_t renewal; uint32_t renewal;
struct uip_udp_conn *conn; __xdata struct uip_udp_conn *conn;
}; };
typedef struct dhcp_state uip_udp_appstate_t; typedef struct dhcp_state uip_udp_appstate_t;
+1 -1
View File
@@ -465,7 +465,7 @@ uip_connect(register __xdata uip_ipaddr_t *ripaddr, __xdata u16_t rport) __banke
#endif /* UIP_ACTIVE_OPEN */ #endif /* UIP_ACTIVE_OPEN */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#if UIP_UDP #if UIP_UDP
struct uip_udp_conn * __xdata struct uip_udp_conn *
uip_udp_new(uip_ipaddr_t *ripaddr, u16_t rport) __banked uip_udp_new(uip_ipaddr_t *ripaddr, u16_t rport) __banked
{ {
__xdata struct uip_udp_conn *conn; __xdata struct uip_udp_conn *conn;
+1 -1
View File
@@ -763,7 +763,7 @@ void uip_send(register __xdata const void *data, register uint16_t len) __banked
* \return The uip_udp_conn structure for the new connection or NULL * \return The uip_udp_conn structure for the new connection or NULL
* if no connection could be allocated. * if no connection could be allocated.
*/ */
struct uip_udp_conn *uip_udp_new(uip_ipaddr_t *ripaddr, u16_t rport) __banked; __xdata struct uip_udp_conn *uip_udp_new(uip_ipaddr_t *ripaddr, u16_t rport) __banked;
/** /**
* Removed a UDP connection. * Removed a UDP connection.