Wireshark  4.3.0
The Wireshark network protocol analyzer
Macros
pint.h File Reference
#include <inttypes.h>
#include <glib.h>

Go to the source code of this file.

Macros

#define guint32_wraparound_diff(higher, lower)   ((higher>lower)?(higher-lower):(higher+0xffffffff-lower+1))
 

Detailed Description

Definitions for extracting and translating integers safely and portably via pointers.

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

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