⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 snap.h

📁 一个学习SNMP项目:tmoerlan.
💻 H
字号:
/* * INET		An implementation of the TCP/IP protocol suite for the LINUX *		operating system.  INET is implemented using the  BSD Socket *		interface as the means of communication with the user level. * *		Definitions for the SNAP protocol. * */#ifndef _SNAP_H#define _SNAP_H#include <sys/cdefs.h>#include <sys/types.h>struct snaphdr {  u_int32_t saddr;  u_int32_t daddr;  u_int8_t version;		/* SNAP version */  u_int8_t flags;		/* any flags */  u_int16_t sport;		/* source port (for errors) */  u_int16_t entry_point;	/* entry point (# instrs) */  u_int16_t code_sizeb;		/* code size in bytes */  u_int16_t heap_sizeb;		/* heap size in bytes */  u_int16_t stack_sizeb;	/* stack size in bytes */};#define IPPROTO_SNAP 130#endif	/* snap.h */

⌨️ 快捷键说明

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