📄 io.h
字号:
/* $Id: io.h,v 1.2 2003/09/17 11:26:10 tmoerlan Exp $ */#ifndef _SNAP_IO_H_#define _SNAP_IO_H_#ifdef __KERNEL__#include <linux/skbuff.h>#include <snap/bytecode.h>#include <snap/packet.h>#else#include "bytecode.h"#include "packet.h"#endif /* __KERNEL__ */typedef struct { int lenb; char *s;} buffer_t;#ifndef __KERNEL__extern packet_t *unmarshal_packet(char *buffer, int packet_lenb, int buf_lenb);extern int marshal_packet(packet_t *p, int stack_amt, buffer_t *bufstr);int file_to_str(int fd, buffer_t *buf);#elseextern int unmarshal_packet(packet_t **p, struct sk_buff *skb);extern int marshal_packet(struct sk_buff **skbp, packet_t *p, unsigned int stack_amt);#endif /* __KERNEL__ */#endif /* !_SNAP_IO_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -