[riot-devel] Network API task force

Oleg Hahm oliver.hahm at inria.fr
Fri May 8 14:16:07 CEST 2015


Hi Kaspar!

> > int ng_netapi_send(kernel_pid_t pid, ng_pktsnip_t *pkt);
> 
> How do I use this without pktbuf or at least two threads?

Well, the memory for the packet (at least for the payload) has to be stored
somewhere - at least until it is copied into the transceiver buffer.

Cheers,
Oleg
-- 
If you don't see why, please stay the fuck away from my code.
        Rusty, in linux-2.6.6/Documentation/DocBook/kernel-locking.tmpl        
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150508/0b27371c/attachment-0001.sig>


More information about the devel mailing list