Move /var/svc/log to /var/log/svc
[unleashed/lotheac.git] / usr / src / cmd / ipf / lib / common / snoop.h
blob8fa6f7e4a34ac0ffc71890f041ea80b9b4b13e89
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.3 2001/06/09 17:09:23 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__ */