title: is there a way to inspect packets in live traffic scapy?
body: <p>I am trying to inspect packets as they come into my interface. </p>
  
  <p>So what I need to do is :</p>
  
  <p>I am running a forwarding machine. So basically I act like a router for the computers in my lan. So I need to route the packets to appropriate destinations as they come through. This part I have working.</p>
  
  <p>Next part is as follows:</p>
  
  <ol>
  <li>Inspect the packets that flow through my pc</li>
  <li>Based on the payload of those packets make an appropriate routing decision</li>
  </ol>
  
  <p>How can I do steps 1 and 2 using scapy?</p>