tcpdump  4.99.1
About: tcpdump is a tool for network monitoring and data acquisition.
  Fossies Dox: tcpdump-4.99.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

netdissect-ctype.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ND_ISASCII(c)   (!((c) & 0x80)) /* value is an ASCII code point */
 
#define ND_ASCII_ISPRINT(c)   ((c) >= 0x20 && (c) <= 0x7E)
 
#define ND_ASCII_ISGRAPH(c)   ((c) > 0x20 && (c) <= 0x7E)
 
#define ND_ASCII_ISDIGIT(c)   ((c) >= '0' && (c) <= '9')
 
#define ND_TOASCII(c)   ((c) & 0x7F)
 
#define ND_ASCII_TOLOWER(c)   (((c) >= 'A' && (c) <= 'Z') ? (c) - 'A' + 'a' : (c))
 
#define ND_ASCII_TOUPPER(c)   (((c) >= 'a' && (c) <= 'z') ? (c) - 'a' + 'A' : (c))
 

Macro Definition Documentation

◆ ND_ASCII_ISDIGIT

#define ND_ASCII_ISDIGIT (   c)    ((c) >= '0' && (c) <= '9')

Definition at line 41 of file netdissect-ctype.h.

◆ ND_ASCII_ISGRAPH

#define ND_ASCII_ISGRAPH (   c)    ((c) > 0x20 && (c) <= 0x7E)

Definition at line 40 of file netdissect-ctype.h.

◆ ND_ASCII_ISPRINT

#define ND_ASCII_ISPRINT (   c)    ((c) >= 0x20 && (c) <= 0x7E)

Definition at line 39 of file netdissect-ctype.h.

◆ ND_ASCII_TOLOWER

#define ND_ASCII_TOLOWER (   c)    (((c) >= 'A' && (c) <= 'Z') ? (c) - 'A' + 'a' : (c))

Definition at line 52 of file netdissect-ctype.h.

◆ ND_ASCII_TOUPPER

#define ND_ASCII_TOUPPER (   c)    (((c) >= 'a' && (c) <= 'z') ? (c) - 'a' + 'A' : (c))

Definition at line 53 of file netdissect-ctype.h.

◆ ND_ISASCII

#define ND_ISASCII (   c)    (!((c) & 0x80)) /* value is an ASCII code point */

Definition at line 38 of file netdissect-ctype.h.

◆ ND_TOASCII

#define ND_TOASCII (   c)    ((c) & 0x7F)

Definition at line 42 of file netdissect-ctype.h.