mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-30 12:32:37 +00:00
lwip_socket_init() is not needed any more -> compatibility define
This commit is contained in:
parent
79ecf2edb7
commit
2809405164
@ -6,6 +6,10 @@ HISTORY
|
|||||||
|
|
||||||
++ New features:
|
++ New features:
|
||||||
|
|
||||||
|
2014-09-16: Simon Goldschmidt
|
||||||
|
* sockets.c/.h, init.c: lwip_socket_init() is not needed any more
|
||||||
|
-> compatibility define
|
||||||
|
|
||||||
2014-09-16: Simon Goldschmidt
|
2014-09-16: Simon Goldschmidt
|
||||||
* dns.c, opt.h: reduced ram usage by parsing DNS responses in place
|
* dns.c, opt.h: reduced ram usage by parsing DNS responses in place
|
||||||
|
|
||||||
|
@ -241,15 +241,6 @@ static void event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len
|
|||||||
static void lwip_getsockopt_internal(void *arg);
|
static void lwip_getsockopt_internal(void *arg);
|
||||||
static void lwip_setsockopt_internal(void *arg);
|
static void lwip_setsockopt_internal(void *arg);
|
||||||
|
|
||||||
/**
|
|
||||||
* Initialize this module. This function has to be called before any other
|
|
||||||
* functions in this module!
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
lwip_socket_init(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Map a externally used socket index to the internal socket representation.
|
* Map a externally used socket index to the internal socket representation.
|
||||||
*
|
*
|
||||||
|
@ -316,9 +316,6 @@ lwip_init(void)
|
|||||||
memp_init();
|
memp_init();
|
||||||
pbuf_init();
|
pbuf_init();
|
||||||
netif_init();
|
netif_init();
|
||||||
#if LWIP_SOCKET
|
|
||||||
lwip_socket_init();
|
|
||||||
#endif /* LWIP_SOCKET */
|
|
||||||
ip_init();
|
ip_init();
|
||||||
#if LWIP_ARP
|
#if LWIP_ARP
|
||||||
etharp_init();
|
etharp_init();
|
||||||
|
@ -125,7 +125,7 @@ struct raw_pcb * raw_new_ip6 (u8_t proto);
|
|||||||
|
|
||||||
/* The following functions are the lower layer interface to RAW. */
|
/* The following functions are the lower layer interface to RAW. */
|
||||||
u8_t raw_input (struct pbuf *p, struct netif *inp);
|
u8_t raw_input (struct pbuf *p, struct netif *inp);
|
||||||
#define raw_init() /* Compatibility define, not init needed. */
|
#define raw_init() /* Compatibility define, no init needed. */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -398,7 +398,7 @@ struct timeval {
|
|||||||
};
|
};
|
||||||
#endif /* LWIP_TIMEVAL_PRIVATE */
|
#endif /* LWIP_TIMEVAL_PRIVATE */
|
||||||
|
|
||||||
void lwip_socket_init(void);
|
#define lwip_socket_init() /* Compatibility define, no init needed. */
|
||||||
|
|
||||||
int lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
|
int lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
|
||||||
int lwip_bind(int s, const struct sockaddr *name, socklen_t namelen);
|
int lwip_bind(int s, const struct sockaddr *name, socklen_t namelen);
|
||||||
|
@ -185,7 +185,7 @@ struct etharp_q_entry {
|
|||||||
};
|
};
|
||||||
#endif /* ARP_QUEUEING */
|
#endif /* ARP_QUEUEING */
|
||||||
|
|
||||||
#define etharp_init() /* Compatibility define, not init needed. */
|
#define etharp_init() /* Compatibility define, no init needed. */
|
||||||
void etharp_tmr(void);
|
void etharp_tmr(void);
|
||||||
s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr,
|
s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr,
|
||||||
struct eth_addr **eth_ret, ip_addr_t **ip_ret);
|
struct eth_addr **eth_ret, ip_addr_t **ip_ret);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user