aboutsummaryrefslogtreecommitdiffstats
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
  }
}
http://www.apache.org/licenses/LICENSE-2.0 ;;; ;;; Unless required by applicable law or agreed to in writing, software ;;; distributed under the License is distributed on an "AS IS" BASIS, ;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ;;; See the License for the specific language governing permissions and ;;; limitations under the License. ;; plugin all-in-1 program (load-file "./plugin.el") ;; list of clib / vlib / vnet / vpp skeleton files (load-file "./cli-cmd-skel.el") (load-file "./config-skel.el") (load-file "./dual-loop-skel.el") (load-file "./periodic-skel.el") (load-file "./pipe-skel.el") (load-file "./plugin-all-apih-skel.el") (load-file "./plugin-api-skel.el") (load-file "./plugin-configure-skel.el") (load-file "./plugin-h-skel.el") (load-file "./plugin-main-skel.el") (load-file "./plugin-makefile-skel.el") (load-file "./plugin-msg-enum-skel.el") (load-file "./plugin-node-skel.el") (load-file "./plugin-test-skel.el") (load-file "./tunnel-c-skel.el") (load-file "./tunnel-decap-skel.el") (load-file "./tunnel-encap-skel.el") (load-file "./tunnel-h-skel.el") (load-file "./elog-4-int-skel.el") (load-file "./elog-4-int-track-skel.el") (load-file "./elog-enum-skel.el") (load-file "./elog-one-datum-skel.el")