]> git.ipfire.org Git - thirdparty/suricata.git/commit
decode/ipv6: prep for turning ip4h/ip6h into union
authorVictor Julien <vjulien@oisf.net>
Tue, 26 Mar 2024 09:21:57 +0000 (10:21 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 26 Apr 2024 18:59:45 +0000 (20:59 +0200)
commita40d6f5c4ffeea3354e3bd70aca1d237039ead13
treef1a01733b1d4500f177a626c4419526722f7de0c
parent2d5c381c3b96462611f481b6913525bb2186d244
decode/ipv6: prep for turning ip4h/ip6h into union

Store IPv6 decoder vars in a new Packet::l3 section in the packet.

Use inline functions instead of the often multi-layer macro's for
various IPv6 header getters.

Ticket: #6938.
22 files changed:
src/decode-icmpv6.c
src/decode-ipv6.c
src/decode-ipv6.h
src/decode.h
src/defrag.c
src/detect-csum.c
src/detect-ipv6hdr.c
src/detect-l3proto.c
src/detect-template2.c
src/detect-ttl.c
src/flow-timeout.c
src/flow-util.c
src/flow.c
src/flow.h
src/output-eve-stream.c
src/output-json-drop.c
src/respond-reject-libnet11.c
src/stream-tcp.c
src/tests/detect.c
src/util-checksum.c
src/util-unittest-helper.c
src/util-unittest-helper.h