Skip to content
Tom Barbette edited this page May 7, 2020 · 1 revision

StripTCPHeader Element Documentation

NAME

StripTCPHeader — Click element; Strip the TCP header from the front of packets

SYNOPSIS

StripTCPHeader()

Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Removes all bytes from the beginning of the packet up to the end of the TCP header.

EXAMPLES

Use this to get rid of all headers up to the end of the TCP layer, check if the first bytes are "GET", and set back the pointer to the beginning of the IP layer:

 StripTCPHeader()
 -> c :: Classifier(0/474552,-)
 -> UnstripIPHeader()

SEE ALSO

Strip, StripIPHeader, UnstripTCPHeader

Generated by click-elem2man from ../elements/tcpudp/striptcpheader.hh:7 on 2020/05/07.

Clone this wiki locally