[riot-devel] NSTF - Naming the stack

Martine Lenders authmillenon at gmail.com
Sun May 3 13:46:00 CEST 2015


Hi Kaspar,

2015-05-03 13:42 GMT+02:00 Kaspar Schleiser <kaspar at schleiser.de>:

> Hi,
>
> On 05/03/15 13:04, Martine Lenders wrote:
> >> In all seriousness: I think Ludwigs proposal is better.
> >
> > In other words: the new stack will be the default one, while smaller
> > implementations can be called `tiny_`, `micro_` or whatever. The proposed
> > architecture, that other implementations can use `ipv6/hdr.h`,
> > `ipv6/addr.h` or similar is mostly in place already.
>
> IMHO we should put implicit headers, like an ipv6 network header .h,
> into net/something. Everything stack related should go somewhere else,
> like "net/tiny/*" or even "net/angie/*".
>
> The idea is that if someone uses another stack, he should be able to
> remove e.g., the "tiny" folder in order to check for unintended
> dependencies.
>

This is already the case, at least with the stuff I implemented: `ng_ipv6`
is dependent on `ng_ipv6_addr` etc. while `ng_ipv6_addr` etc. is not
dependent on `ng_ipv6`.

Cheers,
Martine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150503/4cbb25c6/attachment.html>


More information about the devel mailing list