[riot-devel] Network API task force

Kaspar Schleiser kaspar at schleiser.de
Fri May 8 14:46:19 CEST 2015


Hi,

On 05/08/15 14:38, Oleg Hahm wrote:
> I don't see the problem. In implementation A (the nameless stack) udp_send()
> calls netapi_send(UDP_THREAD_PID, pointers_to(ip_header+udp_header+payload))
> and in implementation B (nanonet) udp_send() calls netapi_send(active_pid,
> pointer_to(payload)).
Exactly. In this case "udp_send" is part of the API I'd like to define.

Any application should just use udp_send, and this udp_send shouldn't
have a pktsnip as parameter.

Kaspar


More information about the devel mailing list