RIOT-OS / RIOT

RIOT - The friendly OS for IoT
https://riot-os.org
GNU Lesser General Public License v2.1
4.88k stars 1.98k forks source link

Refactor network stack #160

Closed OlegHahm closed 10 years ago

OlegHahm commented 11 years ago

Though the network stack is implemented in a mostly modular manner, it's difficult to find the implementations for the several layers at the first glance. My proposal to restructure the sys/net folder as follows:

mehlis commented 11 years ago

Your structure suggests, that sys/net/ is the traditional IOT stack.

Where to place the ccn-lite network stack? ccn-lite stack is based directly on the transceiver api, so it should go in sys/ccn-lite !? or place it in sys/net/ccn-lite to show that it is a network stack?

OlegHahm commented 11 years ago

Every implementation of a network protocol should go into sys/net in my opinion. Besides the proposed folders sys/net would also still contain cross layer folders like net_help.

mehlis commented 10 years ago

fixed by https://github.com/RIOT-OS/RIOT/pull/425