[olsr-dev] BMF and Windows?

Erik Tromp (spam-protected)
Wed Apr 11 16:44:13 CEST 2007


BMF currently does not compile on Windows.

To get it to compile on Windows, you need to port the following aspects:

- For local delivery of multicast packets, you need the equivalent of a TunTap device under windows. As a source of inspiration how to code a virtual network interface on Windows, you might have a look at http://core.it.uu.se/core/index.php/LUNAR , or more specific: http://user.it.uu.se/~rmg/pub/lunar-20041221.tar.gz . If you do not want local delivery of multicast packets on your windows box (i.e. you use it only as a forwarder), the virtual network interface is not needed.

- If you want to forward multicast packets from non-OLSR network interfaces on your windows box, you will need to promiscuously capture packets from those interfaces. For inspiration how to do that, visit www.winpcap.org (more specific: http://www.winpcap.org/install/bin/WpcapSrc_4_0.zip )

All the other stuff, like opening, controlling and closing the sockets, and the receiving and transmitting of packets through these sockets, should be fairly straightforward to port (I think the windows socket API is based on the BSD socket API).

Erik


  ----- Original Message ----- 
  From: Jan Rørgård Hansen 
  To: OLSR development 
  Sent: Tuesday, April 03, 2007 2:25 PM
  Subject: [olsr-dev] BMF and Windows?



  Has anybody tried compiling BMF on Windows and how far is it from compiling/working on Windows? 


  Jan Rørgård Hansen



------------------------------------------------------------------------------


  _______________________________________________
  olsr-dev mailing list
  (spam-protected)
  https://www.olsr.org/mailman/listinfo/olsr-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20070411/ff4f4b74/attachment.html>


More information about the Olsr-dev mailing list