Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

DecIP6HLIM Element Documentation

NAME

DecIP6HLIM — Click element;

SYNOPSIS

DecIP6HLIM()

Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push

DESCRIPTION

Expects IP6 packet as input. If the hlim is <= 1 (i.e. has expired), DecIP6HLIM sends the packet to output 1 (or discards it if there is no output 1). Otherwise it decrements the hlim, and sends the packet to output 0.

Ordinarily output 1 is connected to an ICMP6 error packet generator.

EXAMPLES

This is a typical IP6 input processing sequence: ... -> CheckIP6Header -> dt::DecIP6HLIM -> ... dt[1] -> ICMP6Error(...) -> ...

SEE ALSO

ICMP6Error, CheckIP6Header

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

Clone this wiki locally