HomeFreeBSD

pf: pull icmp-nested headers into struct pf_pdesc

Description

pf: pull icmp-nested headers into struct pf_pdesc

Rather than copying headers nested in an ICMP message into separate stack
variables copy them into struct pf_pdesc (pd2). That's one of the things the
struct is for.
This saves a trivial amount of stack space, but also makes future refactoring
easier.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Thu, Apr 17, 7:46 AM
Parents
rG88986a4d7183: pf: fix ICMP pcksum pointers
Branches
Unknown
Tags
Unknown