1 VDE support for Contiki
3 ---------------------------------
6 - get the Contiki source distribution from
7 http://sourceforge.net/projects/contiki/files/Contiki/Contiki%202.5/
9 - and add the vde support files to the source tree as follows.
11 $ unzip contiki-2.5.zip
12 $ tar zxvf contiki-2.5+vde.tgz
13 ---------------------------------
15 The tar file includes:
16 the driver files for vde:
17 contiki-2.5/cpu/native/net/vdedev6.c
18 contiki-2.5/cpu/native/net/vdedev6.h
19 contiki-2.5/cpu/native/net/vdedev.c
20 contiki-2.5/cpu/native/net/vdedev-drv.c
21 contiki-2.5/cpu/native/net/vdedev-drv.h
22 contiki-2.5/cpu/native/net/vdedev.h
25 contiki-2.5/platform/minimal-net-vde
27 and two examples (ipv4 and ipv6 web server running on vde)
28 contiki-2.5/examples/webserver-vde
29 contiki-2.5/examples/webserver-ipv6-vde
31 To try the tests: go to the example dir, type "make" and run the executable.
32 minimal-net-vde uses the default vde switch.
33 (If you want to define your own default switch create a symbolic link
34 to your switch as ~/.vde2/stdsock, or on newer vde versions as
35 ~/vde2/default.switch:
37 vde_switch -s /tmp/myvde.ctl
38 ln -s /tmp/myvde.ctl ~/vde/stdsock
40 ln -s /tmp/myvde.ctl ~/vde/default.switch
43 Renzo Davoli November 2011