lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] rfc: changing netif_add prototype


From: Jani Monoses
Subject: [lwip-devel] rfc: changing netif_add prototype
Date: Tue, 4 Nov 2003 15:01:53 +0200

Currently netif_add uses mem_malloc to allocate a netif struct. I
propose changing it to accept a pointer to an already existing struct
netif and fill that, so it does not depend on mem.c. This type of
operation is only requested a few times and most of the times it's fixed
at system build time.
(this is the first and by far the easiest step towards malloc-free lwip,
the other users being pbuf.c and dhcp.c)

Jani




reply via email to

[Prev in Thread] Current Thread [Next in Thread]