title: How to convert a scapy packet into a raw packet
body: <p>I am using scapy as an extension of my application. after create a packet using scapy, I want to convert it into a raw packet which will be attached to my header.
  Then the packet must be able to be sent through network directly.</p>
  
  <pre><code>myPacket.payload = Ether().toRaw()
  </code></pre>
  
  <p>So what I want to do is changing the host endian into network endian.
  Is there a simple way to do so?</p>
  
  <p>If <code>scapyPacket = Ether()/IP()/TCP()</code> is it possible that I could have one <code>scapyPacket.toRaw()</code> call such that all the fields are assembled into network endian accordingly?</p>