/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	ether_driver.h,v $
 * Revision 4.2  91/09/19  22:46:18  devbld
 * Adding ODE Headers
 * 
 * $EndLog$
 */
/*	
 *	@(#)$RCSfile: ether_driver.h,v $ $Revision: 4.2 $ (DEC) $Date: 91/09/19 22:46:18 $
 */ 
/*
 */
/*
 * (c) Copyright 1990, OPEN SOFTWARE FOUNDATION, INC.
 * ALL RIGHTS RESERVED
 */
/*
 * OSF/1 Release 1.0
 */
/* 
 * derived from ether_driver.h	3.1  (ULTRIX)	4/20/90";
 */

/************************************************************************
 *									*
 * Ethernet software status per interface				*
 *	Common portion for all drivers					*
 *									*
 *			Modification History				*
 *									*
 * 18-Nov-88	- Jeffrey Mogul, DECWRL					*
 *	Created (loosely based on if_qe_data.c)				*
 *									*
 ************************************************************************/

/*
 * Ethernet software status per interface;
 *	Common portion for all drivers (to be embedded in
 *	driver-specific status block).
 *
 * Each interface is referenced by a network interface structure,
 * ess_if, which the routing code uses to locate the interface.
 * This structure contains the output queue for the interface, its address, ...
 */
#define	ess_if	 ess_ac.ac_if		/* network-visible interface 	*/
#define	ess_addr ess_ac.ac_enaddr	/* hardware Ethernet address 	*/

struct	ether_driver {
	struct	arpcom ess_ac;		/* Ethernet common part 	*/
	struct	estat ess_ctrblk;	/* Counter block		*/
	long	ess_ztime;		/* Time counters last zeroed	*/
	short	ess_enetunit;		/* unit no. for packet filter	*/
	long	ess_missed;		/* count of missed rx packets	*/
};
