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

Attachment: pgpECWuCKn5I9.pgp
Description: PGP signature

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to