Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
dfunctions.h File Reference
#include <glib.h>
#include <epan/ftypes/ftypes.h>
#include <epan/dfilter/syntax-tree.h>
#include <epan/dfilter/dfilter-int.h>

Go to the source code of this file.

Classes

struct  df_func_def_t
 

Macros

#define dfunc_fail(dfw, node, ...)
 

Typedefs

typedef bool(* DFFuncType) (GSList *stack, uint32_t arg_count, df_cell_t *retval)
 
typedef ftenum_t(* DFSemCheckType) (dfwork_t *dfw, const char *func_name, ftenum_t lhs_ftype, GSList *param_list, df_loc_t func_loc)
 

Functions

WS_DLL_PUBLIC ftenum_t df_semcheck_param (dfwork_t *dfw, const char *func_name, ftenum_t logical_ftype, stnode_t *param, df_loc_t func_loc)
 
void df_func_init (void)
 
WS_DLL_PUBLIC bool df_func_register (df_func_def_t *func)
 
WS_DLL_PUBLIC bool df_func_deregister (df_func_def_t *func)
 
WS_DLL_PUBLIC df_func_def_tdf_func_lookup (const char *name)
 
WS_DLL_PUBLIC GPtrArray * df_func_name_list (void)
 
void df_func_cleanup (void)
 

Detailed Description

Wireshark - Network traffic analyzer

Copyright 2006 Gilbert Ramirez gram@.nosp@m.alum.nosp@m.ni.ri.nosp@m.ce.e.nosp@m.du

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

Macro Definition Documentation

◆ dfunc_fail

#define dfunc_fail (   dfw,
  node,
  ... 
)
Value:
do { \
ws_noisy("Semantic check failed here."); \
dfilter_fail_throw(dfw, DF_ERROR_GENERIC, stnode_location(node), __VA_ARGS__); \
} while (0)