Fix markup. Fix backslashes to surive roff.
[netbsd-mini2440.git] / dist / ipf / snoop.h
blob12dea374029b5c18645c37db49dab1c9d5b5aa29
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 1993-2001 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
7 */
9 #ifndef __SNOOP_H__
10 #define __SNOOP_H__
13 * written to comply with the RFC (1761) from Sun.
14 * Id: snoop.h,v 2.3 2001/06/09 17:09:23 darrenr Exp
16 struct snoophdr {
17 char s_id[8];
18 int s_v;
19 int s_type;
22 #define SNOOP_VERSION 2
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
35 #define SDL_MAX 9
38 struct 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;
47 #endif /* __SNOOP_H__ */