Merge branch 'master' of ssh://swildner@crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / contrib / ipfilter / snoop.h
blob2f6c305d22bc0a5ffda9d29fd816e64167146daf
1 /*
2 * Copyright (C) 1993-2001 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
5 */
7 #ifndef __SNOOP_H__
8 #define __SNOOP_H__
11 * written to comply with the RFC (1761) from Sun.
12 * $Id: snoop.h,v 2.2.2.1 2001/06/26 10:43:20 darrenr Exp $
14 struct snoophdr {
15 char s_id[8];
16 int s_v;
17 int s_type;
20 #define SNOOP_VERSION 2
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
33 #define SDL_MAX 9
36 struct 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;
45 #endif /* __SNOOP_H__ */