Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Macros
ws_roundup.h File Reference

Go to the source code of this file.

Macros

#define WS_ROUNDUP_2(n)   (((n) + ((unsigned)(2U-1U))) & (~((unsigned)(2U-1U))))
 
#define WS_ROUNDUP_4(n)   (((n) + ((unsigned)(4U-1U))) & (~((unsigned)(4U-1U))))
 
#define WS_ROUNDUP_8(n)   (((n) + ((unsigned)(8U-1U))) & (~((unsigned)(8U-1U))))
 
#define WS_ROUNDUP_16(n)   (((n) + ((unsigned)(16U-1U))) & (~((unsigned)(16U-1U))))
 
#define WS_ROUNDUP_32(n)   (((n) + ((unsigned)(32U-1U))) & (~((unsigned)(32U-1U))))
 

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 1998 Gerald Combs

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