17c478bd9Sstevel@tonic-gate /* 27c478bd9Sstevel@tonic-gate * Copyright (C) 1993-2001 by Darren Reed. 37c478bd9Sstevel@tonic-gate * 47c478bd9Sstevel@tonic-gate * See the IPFILTER.LICENCE file for details on licencing. 57c478bd9Sstevel@tonic-gate */ 67c478bd9Sstevel@tonic-gate 77c478bd9Sstevel@tonic-gate #ifndef __SNOOP_H__ 87c478bd9Sstevel@tonic-gate #define __SNOOP_H__ 97c478bd9Sstevel@tonic-gate 107c478bd9Sstevel@tonic-gate /* 117c478bd9Sstevel@tonic-gate * written to comply with the RFC (1761) from Sun. 127c478bd9Sstevel@tonic-gate * $Id: snoop.h,v 2.3 2001/06/09 17:09:23 darrenr Exp $ 137c478bd9Sstevel@tonic-gate */ 147c478bd9Sstevel@tonic-gate struct snoophdr { 157c478bd9Sstevel@tonic-gate char s_id[8]; 167c478bd9Sstevel@tonic-gate int s_v; 177c478bd9Sstevel@tonic-gate int s_type; 187c478bd9Sstevel@tonic-gate }; 197c478bd9Sstevel@tonic-gate 207c478bd9Sstevel@tonic-gate #define SNOOP_VERSION 2 217c478bd9Sstevel@tonic-gate 227c478bd9Sstevel@tonic-gate #define SDL_8023 0 237c478bd9Sstevel@tonic-gate #define SDL_8024 1 247c478bd9Sstevel@tonic-gate #define SDL_8025 2 257c478bd9Sstevel@tonic-gate #define SDL_8026 3 267c478bd9Sstevel@tonic-gate #define SDL_ETHER 4 277c478bd9Sstevel@tonic-gate #define SDL_HDLC 5 287c478bd9Sstevel@tonic-gate #define SDL_CHSYNC 6 297c478bd9Sstevel@tonic-gate #define SDL_IBMCC 7 307c478bd9Sstevel@tonic-gate #define SDL_FDDI 8 317c478bd9Sstevel@tonic-gate #define SDL_OTHER 9 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gate #define SDL_MAX 9 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gate 367c478bd9Sstevel@tonic-gate struct snooppkt { 377c478bd9Sstevel@tonic-gate int sp_olen; 387c478bd9Sstevel@tonic-gate int sp_ilen; 397c478bd9Sstevel@tonic-gate int sp_plen; 407c478bd9Sstevel@tonic-gate int sp_drop; 417c478bd9Sstevel@tonic-gate int sp_sec; 427c478bd9Sstevel@tonic-gate int sp_usec; 437c478bd9Sstevel@tonic-gate }; 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gate #endif /* __SNOOP_H__ */ 46