Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Functions
gencode.h File Reference
#include "dfilter-int.h"

Go to the source code of this file.

Functions

void dfw_gencode (dfwork_t *dfw)
 Generates code for a given data flow work structure.
 
int * dfw_interesting_fields (dfwork_t *dfw, int *caller_num_fields)
 Retrieves an array of interesting fields from a dfwork_t structure.
 

Detailed Description

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 2001 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

Function Documentation

◆ dfw_gencode()

void dfw_gencode ( dfwork_t dfw)

Generates code for a given data flow work structure.

This function initializes various data structures and generates code based on the data flow work.

Parameters
dfwPointer to the data flow work structure.

◆ dfw_interesting_fields()

int * dfw_interesting_fields ( dfwork_t dfw,
int *  caller_num_fields 
)

Retrieves an array of interesting fields from a dfwork_t structure.

This function returns an array containing the keys of all fields marked as interesting in the given dfwork_t structure.

Parameters
dfwPointer to the dfwork_t structure containing the interesting fields.
caller_num_fieldsPointer to an integer that will be set to the number of interesting fields returned.
Returns
An array of integers representing the keys of the interesting fields, or NULL if there are no interesting fields.