Hi,<div><br></div><div>I&#39;m doing some changes in pdpcap, I will change the general ip struct definition, of course and I will look what happens at outlet10.  I expect to have this changes done during next week.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<br></div><div>Thanks a lot for your suggestions and your tests! If you (or any other) have any other suggestion it would be very  helpful for me.</div><div><br></div><div>tx!</div><div><br></div><div><br></div><div><br><div class="gmail_quote">
On 25 September 2010 16:39, Nicolas Montgermont <span dir="ltr">&lt;<a href="mailto:nicolas_montgermont@yahoo.fr">nicolas_montgermont@yahoo.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
    
    
  
  <div bgcolor="#ffffff" text="#000000">
    Hello Jordi,<br>
    <br>
    Cool thing the possibility to do tcpdump in pd!<br>
    I was trying to build the version 0.0.3 on osx and i run into many
    errors due to some difference in headers in osx and linux:<br>
    <br>
    iphdr and icmphdr struct were not defined in osx,<br>
    so i added their definition.<br>
    <br>
    and tcp and udp source and dest have different labelling:<br>
    <a href="http://en.wikipedia.org/wiki/Tcphdr" target="_blank">http://en.wikipedia.org/wiki/Tcphdr</a><br>
    (the bsd standard seems to work on both platform though)<br>
    so i changed them.<br>
    <br>
    it manages to compiles and now seems to run fine!<br>
    except that i have zero hexadecimal data on the outlet10... and i&#39;d
    love to have them.<br>
    <br>
    maybe it would be nice to use the general ip struct definiton if
    possible?<br>
    <a href="http://en.wikipedia.org/wiki/Ip_%28struct%29" target="_blank">http://en.wikipedia.org/wiki/Ip_%28struct%29</a><br>
    attached is the diff between your file and mine.<br>
    <br>
    thx to share your work,<br>
    <br>
    n<br>
    osx 10.5.8<br>
    pd-extended 0.42.5<br>
    <br>
    Le 24/09/10 01:28, Jordi Sala a écrit :
    <div class="im"><blockquote type="cite">
      
      <div>Hi, I&#39;ve made a patch to visualize on a world map the
        location of remote hosts that connects to our computer. </div>
      <div>Video demo: <a href="http://vimeo.com/15138625" target="_blank">http://vimeo.com/15138625</a> </div>
      <div><br>
      </div>
      <div>Download the patch (It&#39;s a &quot;dirty&quot; patch) but I expect I
        works for most linux computers...</div>
      <div><br>
      </div>
      
      <a href="http://musa.poperbu.net/content/view/94/1/" target="_blank">http://musa.poperbu.net/content/view/94/1/</a><br clear="all">
      <br>
      <br>
    </blockquote>
    <br>
    </div><font color="#888888"><div>-- <br>
      <a href="http://nim.on.free.fr" target="_blank">http://nim.on.free.fr</a></div>
  </font></div>

<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jordi Sala<br><a href="http://musa.poperbu.net">http://musa.poperbu.net</a><br>
</div>