[riot-devel] Network API task force

Oleg Hahm oliver.hahm at inria.fr
Fri May 8 14:51:02 CEST 2015


Hi!

> Exactly. In this case "udp_send" is part of the API I'd like to define.

But why couldn't udp_send(vargs) not be wrapper/macro for X_send(PROTO_UDP,
vargs)?

> Any application should just use udp_send, 

Yes!

> and this udp_send shouldn't have a pktsnip as parameter.

Well, you will have to specify a pointer to data. I guess the most stack
agnostic way is using a void pointer than.

Cheers,
Oleg
-- 
printk(KERN_WARNING "Hey who turned the DMA off?\n");
        linux-2.6.6/drivers/net/wan/z85230.c
-------------- 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/de1ad651/attachment.sig>


More information about the devel mailing list