FastClick

Elements / IP

ForceIP

Fixes fields to make packets into legal IP packets.

SYNOPSIS§

ForceIP()

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION§

Fixes various fields in incoming packets to make sure they are legal IP packets.

EXAMPLES§

RandomSource(20)

 -> SetIPAddress(1.2.3.4)
 -> StoreIPAddress(16)
 -> ForceIP() -> ...

Generated by click-elem2man from ../elements/local/forceip.hh:8 on 2026/11/02.