/* ifproxy.h - Linux network driver that act as a proxy for a real device that is located in another OS */ /* * Copyright (c) 2009 Wind River Systems, Inc. * * The right to copy, distribute, modify or otherwise make use * of this software may be licensed only pursuant to the terms * of an applicable Wind River license agreement. */ #ifndef __INCifproxyh #define __INCifproxyh /* These are the flags in the statusword */ #define IFPROXY_RX_INTR (1u << 0) #define IFPROXY_TX_INTR (1u << 1) /* Default TX timeout period */ #define IFPROXY_TIMEOUT 5 /* In jiffies */ /* Maximum number of packets that can be processed in one mnd_poll() call */ #define IFPROXY_NAPI_WEIGHT 64 /* Maximum number of MIPC sockets this module needs */ #define IFPROXY_MIPC_MAX_SOCKETS 64 /* Port where all physical ports that should be visible through this proxy are registered */ #define IFPROXY_MIPC_CTRL_PORT 30 #endif /* __INCifproxyh */