FastClick

Elements / IPv6

DecIP6HLIM

SYNOPSIS --------

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 2026/11/02.