ReactOS 0.4.15-dev-8219-ge8b88cf
init.h File Reference
#include "lwip/opt.h"
Include dependency graph for init.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LWIP_VERSION_MAJOR   1U
 
#define LWIP_VERSION_MINOR   4U
 
#define LWIP_VERSION_REVISION   1U
 
#define LWIP_VERSION_RC   0U
 
#define LWIP_RC_RELEASE   255U
 
#define LWIP_RC_DEVELOPMENT   0U
 
#define LWIP_VERSION_IS_RELEASE   (LWIP_VERSION_RC == LWIP_RC_RELEASE)
 
#define LWIP_VERSION_IS_DEVELOPMENT   (LWIP_VERSION_RC == LWIP_RC_DEVELOPMENT)
 
#define LWIP_VERSION_IS_RC   ((LWIP_VERSION_RC != LWIP_RC_RELEASE) && (LWIP_VERSION_RC != LWIP_RC_DEVELOPMENT))
 
#define LWIP_VERSION
 

Functions

void lwip_init (void)
 

Macro Definition Documentation

◆ LWIP_RC_DEVELOPMENT

#define LWIP_RC_DEVELOPMENT   0U

LWIP_VERSION_RC is set to LWIP_RC_DEVELOPMENT for CVS versions

Definition at line 55 of file init.h.

◆ LWIP_RC_RELEASE

#define LWIP_RC_RELEASE   255U

LWIP_VERSION_RC is set to LWIP_RC_RELEASE for official releases

Definition at line 53 of file init.h.

◆ LWIP_VERSION

#define LWIP_VERSION
Value:
#define LWIP_VERSION_REVISION
Definition: init.h:46
#define LWIP_VERSION_MINOR
Definition: init.h:44
#define LWIP_VERSION_MAJOR
Definition: init.h:42
#define LWIP_VERSION_RC
Definition: init.h:50

Provides the version of the stack

Definition at line 62 of file init.h.

◆ LWIP_VERSION_IS_DEVELOPMENT

#define LWIP_VERSION_IS_DEVELOPMENT   (LWIP_VERSION_RC == LWIP_RC_DEVELOPMENT)

Definition at line 58 of file init.h.

◆ LWIP_VERSION_IS_RC

Definition at line 59 of file init.h.

◆ LWIP_VERSION_IS_RELEASE

#define LWIP_VERSION_IS_RELEASE   (LWIP_VERSION_RC == LWIP_RC_RELEASE)

Definition at line 57 of file init.h.

◆ LWIP_VERSION_MAJOR

#define LWIP_VERSION_MAJOR   1U

X.x.x: Major version of the stack

Definition at line 42 of file init.h.

◆ LWIP_VERSION_MINOR

#define LWIP_VERSION_MINOR   4U

x.X.x: Minor version of the stack

Definition at line 44 of file init.h.

◆ LWIP_VERSION_RC

#define LWIP_VERSION_RC   0U

For release candidates, this is set to 1..254 For official releases, this is set to 255 (LWIP_RC_RELEASE) For development versions (CVS), this is set to 0 (LWIP_RC_DEVELOPMENT)

Definition at line 50 of file init.h.

◆ LWIP_VERSION_REVISION

#define LWIP_VERSION_REVISION   1U

x.x.X: Revision of the stack

Definition at line 46 of file init.h.

Function Documentation

◆ lwip_init()

void lwip_init ( void  )

Perform Sanity check of user-configurable values, and initialize all modules.

Definition at line 286 of file init.c.

287{
288 /* Modules initialization */
289 stats_init();
290#if !NO_SYS
291 sys_init();
292#endif /* !NO_SYS */
293 mem_init();
294 memp_init();
295 pbuf_init();
296 netif_init();
297#if LWIP_SOCKET
298 lwip_socket_init();
299#endif /* LWIP_SOCKET */
300 ip_init();
301#if LWIP_ARP
302 etharp_init();
303#endif /* LWIP_ARP */
304#if LWIP_RAW
305 raw_init();
306#endif /* LWIP_RAW */
307#if LWIP_UDP
308 udp_init();
309#endif /* LWIP_UDP */
310#if LWIP_TCP
311 tcp_init();
312#endif /* LWIP_TCP */
313#if LWIP_SNMP
314 snmp_init();
315#endif /* LWIP_SNMP */
316#if LWIP_AUTOIP
317 autoip_init();
318#endif /* LWIP_AUTOIP */
319#if LWIP_IGMP
320 igmp_init();
321#endif /* LWIP_IGMP */
322#if LWIP_DNS
323 dns_init();
324#endif /* LWIP_DNS */
325
326#if LWIP_TIMERS
328#endif /* LWIP_TIMERS */
329}
STREAM tcp_init(uint32 maxlen)
Definition: tcp.c:82
void mem_init(void)
Definition: mem.c:274
#define ip_init()
Definition: ip.h:174
void memp_init(void)
Definition: memp.c:338
void netif_init(void)
Definition: netif.c:106
#define pbuf_init()
Definition: pbuf.h:144
#define stats_init()
Definition: stats.h:161
void sys_init(void)
Definition: sys_arch.c:305
void sys_timeouts_init(void)

Referenced by main(), and tcpip_init().