summaryrefslogtreecommitdiffstats
path: root/src/scripts/vnet/tcp
blob: b9c23c3a019acb8d5d92c0260f10b23069f988a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
  }
}