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