📄 ipx.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -