configh.in

来自「该程序类似于tcpdump软件」· IN 代码 · 共 28 行

IN
28 行
字号
/* We need this to define the types below, if necessary */
#include <sys/types.h> 

/* We need this for ntohs() and ntohl() below */
#include <netinet/in.h>

/* Define the following if we have the corresponding header */
#undef  CPU_VENDOR_OS
#undef  WORDS_BIGENDIAN
#undef  HAVE_STRERROR
#undef  HAVE_SETLINEBUF
#undef  HAVE_GETOPT_H
#undef  DEBUG

/* Define the following to the appropriate datatype, if necessary */
#undef  int8_t                  /* <sys/types.h> */
#undef  int16_t                 /* <sys/types.h> */
#undef  int32_t                 /* <sys/types.h> */
#undef  u_int8_t                 /* <sys/types.h> */
#undef  u_int16_t                /* <sys/types.h> */
#undef  u_int32_t                /* <sys/types.h> */

#define EXTRACT_16BITS(p) ((u_int16_t) ntohs (*(u_int16_t *)(p)))
#define EXTRACT_32BITS(p) ((u_int32_t) ntohl (*(u_int32_t *)(p)))

/* Global include files */
#include "parse_cl.h"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?