1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 06:04:47 +03:00
fq/format/inet
Mattias Wadman 2fc0a71a47 decode: Refactor scalar usage
Move scalar into own package.
Split scalar code into decode related scalar code (that reads etc) and
scalar code that just transform the scalar value.
Use a scalar.Mapper interface instead of just a function.
Make mappers, assert and validat impement the interface.
2021-12-02 17:39:26 +01:00
..
flowsdecoder inet: Add tcp and ipv4 reassembly 2021-11-29 18:42:18 +01:00
testdata inet: Add tcp and ipv4 reassembly 2021-11-29 18:42:18 +01:00
ether8023_frame.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
icmp.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
ipv4_packet.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
sll2_packet.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
sll_packet.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
tcp_segment.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00
udp_datagram.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00