<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>BMF currently does not compile on
Windows.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>To get it to compile on Windows, you need to port
the following aspects:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>- 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 <A
href="http://core.it.uu.se/core/index.php/LUNAR">http://core.it.uu.se/core/index.php/LUNAR</A> ,
or more specific: <A
href="http://user.it.uu.se/~rmg/pub/lunar-20041221.tar.gz">http://user.it.uu.se/~rmg/pub/lunar-20041221.tar.gz</A> .
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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>- 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 <A
href="http://www.winpcap.org">www.winpcap.org</A> (more specific: <A
href="http://www.winpcap.org/install/bin/WpcapSrc_4_0.zip">http://www.winpcap.org/install/bin/WpcapSrc_4_0.zip</A> )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Erik</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jan.r.hansen@dk.saabgroup.com
href="mailto:jan.r.hansen@dk.saabgroup.com">Jan Rørgård Hansen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=olsr-dev@olsr.org
href="mailto:olsr-dev@olsr.org">OLSR development</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, April 03, 2007 2:25
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [olsr-dev] BMF and
Windows?</DIV>
<DIV><BR></DIV><BR><FONT face=sans-serif size=2>Has anybody tried compiling
BMF on Windows and how far is it from compiling/working on Windows?</FONT>
<BR><BR><FONT face=sans-serif size=2><BR>Jan Rørgård Hansen<BR></FONT>
<P>
<HR>
<P></P>_______________________________________________<BR>olsr-dev mailing
list<BR><A href="mailto:olsr-dev@olsr.org">olsr-dev@olsr.org</A><BR><A
href="https://www.olsr.org/mailman/listinfo/olsr-dev">https://www.olsr.org/mailman/listinfo/olsr-dev</A><BR></BLOCKQUOTE></BODY></HTML>