Michał Król | 26 Jun 2012 09:50
Picon

transport protocol over 6lowpan

Hi,

I'm trying to develop some transport protocol solutions in contiki. To do it I need to have possibility to send raw ipv6 packets in 6lowpan environment with established routing (RPL seems to be the best solution).

As far as I know in Contiki there are two stacks - Rime and uIP. However uIP give me access only to sending UDP or TCP packets, while RIME doesn't work above IPv6 layer, and doesn't have any routing defined.

So here's my question - what is the best way to send raw IP packets in Contiki, to implement my solutions?

Thanks in advance

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
David Kopf | 26 Jun 2012 12:52
Gravatar

Re: transport protocol over 6lowpan


Why not UDP?  If ipv6 sets up the routing then valid ipv6 packets will have 
to be sent, and UDP only adds 6 more bytes. You could add a "raw socket" 
layer to make the overhead transparent.

To answer the question, calling  NETSTACK_NETWORK, NETSTACK_MAC, 
NETSTACK_RDC, or NETSTACK_RADIO.send will send data from packetbuf of 
increasing arbitrariness. NETWORK does the 6lowpan, MAC the csma and 
retransmission, RDC the 802154 framing, and RADIO nothing.

-----Original Message----- 
From: Michał Król
Sent: Tuesday, June 26, 2012 3:50 AM
To: Contiki developer mailing list
Subject: [Contiki-developers] transport protocol over 6lowpan

Hi,

I'm trying to develop some transport protocol solutions in contiki. To do it 
I need to have possibility to send raw ipv6 packets in 6lowpan environment 
with established routing (RPL seems to be the best solution).

As far as I know in Contiki there are two stacks - Rime and uIP. However uIP 
give me access only to sending UDP or TCP packets, while RIME doesn't work 
above IPv6 layer, and doesn't have any routing defined.

So here's my question - what is the best way to send raw IP packets in 
Contiki, to implement my solutions?

Thanks in advance 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Contiki-developers mailing list
Contiki-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/contiki-developers

Gmane