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