title: Array of integer as Scapy custom field
body: <p>The packet I am trying to forge is like this:</p>
  
  <pre><code>p = IP()/TCP()/Unique()
  </code></pre>
  
  <p>where Unique is a new layer:</p>
  
  <pre><code>class Unique(Packet):
  name = "Unique"
  fields_desc=[ IntField("a", 0),
           IntField("b", 0),
           IntField("c", 0)]
  </code></pre>
  
  <p>I don't know how to define a field that contains an array of integer.
  Is there a way to do that?
  Instead of having three fields "a","b" and "c", I'd like to have one field that contains the three integers.</p>
  
  <p>Since 3 is a variable number, another possible approach I could use is to have <em>n</em> IntField where n is variable, but I don't know how to do that either and I would appreciate any help.</p>