<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Here's an example:
    <a class="moz-txt-link-freetext" href="https://github.com/Laksen/fp-ethernet/blob/master/linuxraw.pas">https://github.com/Laksen/fp-ethernet/blob/master/linuxraw.pas</a><br>
    <br>
    You need to change ifindex obviously, and I can't remember how that
    was found. But it should be relatively easy.<br>
    <br>
    <div class="moz-cite-prefix">On 11/18/2015 02:47 PM, Xiangrong Fang
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAP93jB3BwA8u59_PDeeVUCSU0J9mJ8m7tRpaVNPf1Qjc+_dsHQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:monospace,monospace;font-size:large">Hi,</div>
        <div class="gmail_default"
          style="font-family:monospace,monospace;font-size:large"><br>
        </div>
        <div class="gmail_default"
          style="font-family:monospace,monospace;font-size:large">I am
          looking for some examples of writing linux raw socket programs
          in free pascal, anyone had experience on that?</div>
        <div class="gmail_default"
          style="font-family:monospace,monospace;font-size:large"><br>
        </div>
        <div class="gmail_default"
          style="font-family:monospace,monospace;font-size:large">Thanks
          a lot!<br>
        </div>
      </div>
    </blockquote>
  </body>
</html>