File: printpkt.h

package info (click to toggle)
specter 1.4-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 736 kB
  • ctags: 542
  • sloc: ansic: 5,060; sh: 320; makefile: 239; perl: 169
file content (16 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _PRINTPKT_H
#define _PRINTPKT_H

enum {
	PRINTPKT_PREFIX		= 0x01,
	PRINTPKT_IP_OPT		= 0x02,
	PRINTPKT_TCP_OPT	= 0x04,
	PRINTPKT_TCP_SEQ	= 0x08,
	PRINTPKT_MAC_HDR	= 0x10,
};

int printpkt_print(char *buf, int flags);
int printpkt_init(void);

#endif