snoop.h revision 22514
1/*
2 * (C)opyright 1993,1994,1995 by Darren Reed.
3 *
4 * Redistribution and use in source and binary forms are permitted
5 * provided that this notice is preserved and due credit is given
6 * to the original author and the contributors.
7 */
8
9/*
10 * written to comply with the RFC (1761) from Sun.
11 * $Id: snoop.h,v 2.0.1.1 1997/01/09 15:14:45 darrenr Exp $
12 */
13struct	snoophdr	{
14	char	s_id[8];
15	int	s_v;
16	int	s_type;
17};
18
19#define	SNOOP_VERSION	2
20
21#define	SDL_8023	0
22#define	SDL_8024	1
23#define	SDL_8025	2
24#define	SDL_8026	3
25#define	SDL_ETHER	4
26#define	SDL_HDLC	5
27#define	SDL_CHSYNC	6
28#define	SDL_IBMCC	7
29#define	SDL_FDDI	8
30#define	SDL_OTHER	9
31
32#define	SDL_MAX		9
33
34
35struct	snooppkt	{
36	int	sp_olen;
37	int	sp_ilen;
38	int	sp_plen;
39	int	sp_drop;
40	int	sp_sec;
41	int	sp_usec;
42};
43