Skip to content
Tom Barbette edited this page Nov 25, 2022 · 3 revisions

DecIP6HLIM Element Documentation

NAME

DecIP6HLIM — Click element;

SYNOPSIS

DecIP6HLIM()

Batching: Batching natively supported
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 2022/11/25.

Clone this wiki locally