Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 1 revision

ForceTCP Element Documentation

NAME

ForceTCP — Click element; sets TCP packet fields

SYNOPSIS

ForceTCP([DPORT, RANDOM_DPORT, FLAGS])

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Set the checksum and some other fields to try to make a packet look like TCP. If DPORT is specified and not 0, forces the destination port to be DPORT. Otherwise, if RANDOM_DPORT is set, destination port may be randomly set. If RANDOM_DPORT is not set and DPORT is 0, destination port is untouched. RANDOM_DPORT has no effect if DPORT is not 0. If FLAGS is specified and not -1, set the TCP flags field to FLAGS.

Generated by click-elem2man from ../elements/local/forcetcp.hh:7 on 2017/10/17.

Clone this wiki locally