blob: 2d3e3cfd2647c6b6ae983bac3c734f4a9e5b1267 [file] [log] [blame] [raw]
cvs2git55401132006-06-15 16:38:29 +00001/*
Darren Reed93a48202006-06-15 17:03:33 +00002 * Copyright (C) 1993-2001 by Darren Reed.
cvs2git55401132006-06-15 16:38:29 +00003 *
Darren Reed93a48202006-06-15 17:03:33 +00004 * See the IPFILTER.LICENCE file for details on licencing.
cvs2git55401132006-06-15 16:38:29 +00005 */
6
7#ifndef __SNOOP_H__
8#define __SNOOP_H__
9
10/*
11 * written to comply with the RFC (1761) from Sun.
12 * $Id$
13 */
14struct snoophdr {
15 char s_id[8];
16 int s_v;
17 int s_type;
18};
19
20#define SNOOP_VERSION 2
21
22#define SDL_8023 0
23#define SDL_8024 1
24#define SDL_8025 2
25#define SDL_8026 3
26#define SDL_ETHER 4
27#define SDL_HDLC 5
28#define SDL_CHSYNC 6
29#define SDL_IBMCC 7
30#define SDL_FDDI 8
31#define SDL_OTHER 9
32
33#define SDL_MAX 9
34
35
36struct snooppkt {
37 int sp_olen;
38 int sp_ilen;
39 int sp_plen;
40 int sp_drop;
41 int sp_sec;
42 int sp_usec;
43};
44
45#endif /* __SNOOP_H__ */