ipx.h

来自「Firestorm NIDS是一个性能非常高的网络入侵检测系统 (NIDS)。目」· C头文件 代码 · 共 28 行

H
28
字号
#ifndef __PKT_IPX_HEADER_INCLUDED__#define __PKT_IPX_HEADER_INCLUDED__#define IPX_NO_CHECKSUM 0xffff#define IPX_NODE_LEN 6struct ipx_addr {	u_int32_t net;	u_int8_t node[IPX_NODE_LEN];	u_int16_t sock;};/* IPX transport header */struct pkt_ipxhdr{	u_int16_t checksum __attribute__((packed));	u_int16_t pktsize __attribute__((packed));	u_int8_t tctrl;	/* Transport Control (i.e. hop count) */	u_int8_t type; /* Packet Type (i.e. level 2 protocol) */	struct ipx_addr dst __attribute__((packed));	struct ipx_addr src __attribute__((packed));};#define ipxSize 30#endif /* __PKT_IPX_HEADER_INCLUDED__ */

⌨️ 快捷键说明

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