Commit Graph

15 Commits

Author SHA1 Message Date
luwenpeng
c3fd452793 Add test case for tunnel 2024-06-19 14:43:32 +08:00
luwenpeng
de4c15f43c Refactored packet API to support struct layer (using union to contain different types of encapsulation headers) 2024-06-14 19:24:27 +08:00
luwenpeng
1f78881cbb rename struct packet_layer to struct raw_layer 2024-06-14 10:58:40 +08:00
luwenpeng
020c8303c6 rename packet_get_layers_number to packet_get_layer_count 2024-06-13 10:11:30 +08:00
luwenpeng
01958b56c5 rename layer_type to layer_proto 2024-06-12 18:21:45 +08:00
luwenpeng
bb469ca1ed Add VLAN utils 2024-06-05 12:06:34 +08:00
luwenpeng
bd69493991 Enhanced packet_parser tools 2024-06-04 17:26:37 +08:00
luwenpeng
8c4f4c9f72 Add support for parsing IP Authentication Header 2024-06-04 15:48:34 +08:00
luwenpeng
ae2e36b382 Bugfix: packet parser
* Corrected the acquisition of GRE header length
    * Check whether the total length of IP is less than the length of IP header
2024-06-03 17:53:43 +08:00
luwenpeng
18fe1e2e41 Add support for parsing PW Ethernet and Enhanced MPLS parsing 2024-06-02 00:07:33 +08:00
luwenpeng
f3b92a8a15 Add support for parsing PPP headers with variable lengths 2024-05-31 17:00:45 +08:00
luwenpeng
2d958dbe07 bugfix: calculate L2TPv2 offset 2024-05-30 18:45:47 +08:00
luwenpeng
1a7f74025b packet parser suppoort skip IPv6 extension headers 2024-05-30 17:55:21 +08:00
luwenpeng
963aa259b1 Add tools packet_parser 2024-05-29 17:55:44 +08:00
luwenpeng
f82b85c979 Optimize integration testing
- Add injection package plug-in
- Add libstellar_dynamic.so to facilitate unit testing of upper-level plug-ins
2024-05-28 14:30:42 +08:00