4 Copyright (c) 2002 Broadcom Corporation
6 No portions of this material may be reproduced in any form without the
10 Irvine, California 92618
11 All information contained in this document is Broadcom Corporation
12 company private, proprietary, and trade secret.
16 /****************************************************************************
18 * portMirror.h -- Internal definitions for Port Mirroring Feature.
21 * Port Mirroring feature definitions. Initially for the BLAA driver.
24 * Authors: Srinivasan Seshadri.
28 * Initial CVS checkin.
30 ****************************************************************************/
32 #ifndef __PORT_MIRROR_H
33 #define __PORT_MIRROR_H
38 #define MAX_DIRECTIONS DIR_OUT
40 #define FLOW_INVALID 0
41 #define RFC2684_802_3_BRIDGING_FLOW 1
42 #define MAX_FLOWS RFC2684_802_3_BRIDGING_FLOW
44 #define MIRROR_PORT_INVALID 0
45 #define MIRROR_PORT_ETH0 1
46 #define MIRROR_PORT_ETH1 2
47 #define MIRROR_PORT_USB 3
48 #define MAX_MIRROR_PORTS MIRROR_PORT_USB
50 #define MIRROR_DISABLED 1
51 #define MIRROR_ENABLED 2
53 typedef struct _MirrorCfg {
60 #define CMD_PORT_MIRRORING 1
62 #define MIRROR_NAME_MAX_LEN 16
64 #endif /* #ifndef __PORT_MIRROR_H */