Project

General

Profile

Actions

Optimization #5517

closed
JF VJ

decode: big clean up (macros and functions)

Optimization #5517: decode: big clean up (macros and functions)

Added by Juliana Fajardini Reichow over 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

decode.h seems to have some unused macros, functions that could replace macros, as well as functions that are named similarly than macros, but have slightly different behaviors.

I think it would be beneficial to go over the file and remove unused code and replace macros for functions when possible.

An interesting example is the PACKET_SET_ACTION macro - we have a PacketSetAction function which calls the macro, but takes into account packet tunneling - which doesn't seem to be accounted for in the corresponding macro.

JF Updated by Juliana Fajardini Reichow over 3 years ago Actions #2

  • Target version changed from TBD to 8.0.0-beta1

VJ Updated by Victor Julien about 2 years ago Actions #3

  • Assignee changed from Juliana Fajardini Reichow to OISF Dev

VJ Updated by Victor Julien almost 2 years ago Actions #4

  • Status changed from New to In Progress
  • Assignee changed from OISF Dev to Victor Julien

VJ Updated by Victor Julien almost 2 years ago Actions #5

  • Status changed from In Progress to In Review

VJ Updated by Victor Julien almost 2 years ago Actions #6

  • Status changed from In Review to Closed
Actions

Also available in: PDF Atom