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

StripIPHeader Element Documentation

NAME

StripIPHeader — Click element; strips outermost IP header

SYNOPSIS

StripIPHeader()

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Strips the outermost IP header from IP packets, based on the IP Header annotation.

Note that the packet's annotations are not changed. Thus, the packet's IP header annotation continues to point at the IP header, even though the IP header's data is now out of range. To correctly handle an IP-in-IP packet, you will probably need to follow StripIPHeader with a CheckIPHeader or MarkIPHeader element, thus marking the packet's inner header.

SEE ALSO

CheckIPHeader, CheckIPHeader2, MarkIPHeader, UnstripIPHeader, Strip

Generated by click-elem2man from ../elements/ip/stripipheader.hh:6 on 2017/10/17.

Clone this wiki locally