sysnet.h
来自「vxworks 834x的BSP」· C头文件 代码 · 共 54 行
H
54 行
/* sysNet.h - system-dependent Network Header File *//* * Copyright (c) 2005 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. *//*modification history--------------------01a,22jun05,j_b adapted from wrSbcPowerQuiccII (ver 01c)*/#ifndef __INCsysNeth#define __INCsysNeth#ifdef __cplusplus extern "C" {#endif#include <vxWorks.h>#include "config.h"#define MAX_MAC_DEVS 1 /* tsec network device type */extern const char *sysNetDevName[MAX_MAC_DEVS];/* Prototypes */int sysMacIndex2Dev (int index);int sysMacIndex2Unit (int index);STATUS sysMacOffsetGet (char *ifName, int ifUnit, char **ppEnet, int * pOffset);STATUS sysNetMacNVRamAddrGet (char *ifName, int ifUnit, UINT8 *ifMacAddr, int ifMacAddrLen);STATUS sysNetMacAddrGet (char *ifName, int ifUnit, UINT8 *ifMacAddr, int ifMacAddrLen);STATUS sysNetMacAddrSet (char *ifName, int ifUnit, UINT8 *ifMacAddr, int ifMacAddrLen);#ifdef __cplusplus }#endif#endif /* __INCsysNeth */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?