loop create
set int ip address loop0 192.168.1.1/8
set int state loop0 up

packet-generator new {
  name x
  limit 2048
  node ip4-input
  size 100-100
  interface loop0
  no-recycle
  data {
    TCP: 192.168.1.2 -> 192.168.1.1
    TCP: 32415 -> 80
    SYN
    incrementing 100
  }
}