address.h
来自「用于以太网开发」· C头文件 代码 · 共 29 行
H
29 行
/******************************************************************************
*
* (c) Freescale Inc. 2004 All rights reserved
*
* File Name : address.h
* Description : This file contains definition of hardware and protocol (IP)
* addresses of the device
*
* Version : 2.1
* Date : 02/04/04
*
******************************************************************************/
#ifdef ADDRESS_H
#else
#define ADDRESS_H
extern const tU08 hard_addr []; /**< HW addr of our device */
extern const tU08 prot_addr []; /**< IP addr of our device */
extern const tU08 brcs_addr []; /**< IP subnet broadcast */
extern const tU08 netw_mask []; /**< network mask */
extern const tU08 dfgw_addr []; /**< subnet default gateway IP addr */
#define ip_address prot_addr
#define ip_netmask netw_mask
#define ip_gateway dfgw_addr
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?