/*	@(#)lan.h	13.1 (RC International) 91/02/02 */
#ifndef _RTE_LAN_
#define _RTE_LAN_

/*
 * Configuration information for the LAN interface
 */

#define	MAX_LAN		4		/* Maximum number of LAN's */
#define	MAX_LAN_NAME	6		/* Maximum name length */
struct lan_conf
{
    int		rpu_to_dlc_cp;		/* index for rpu -> RcLan coupling */
    int		dlc_to_rpu_cp;		/* index for RcLan -> rpu coupling */
    int		rpu_to_tcp_cp;		/* index for rpu -> tcp/ip coupling */
    int		tcp_to_rpu_cp;		/* index for tcp/ip -> rpu coupling */
    char	lan_name[MAX_LAN_NAME + 1];	/* global name of the LAN */
    u_char	lan_id;			/* logical dlc number */
};

/*
 * Configuration information for the SIB interface
 */
struct sib_conf
{
    int		rpu_to_sib_cp;		/* index for rpu -> sib coupling */
    int		sib_to_rpu_cp;		/* index for sib -> rpu coupling */
    char	sib_name[MAX_LAN_NAME + 1];	/* global name of the SIB */
    u_char	sib_id;			/* logical SIB number */
};
    
#ifdef	RTE
extern	struct lan_conf	lan_conf_tab[];
extern	struct sib_conf	sib_conf_tab[];
#endif

#endif

