address.c

来自「用于以太网开发」· C语言 代码 · 共 24 行

C
24
字号
/******************************************************************************
 * 
 *                      (c) Freescale  Inc. 2004 All rights reserved          
 *
 * File Name     : address.c
 * 
 * Description    : This file contains definition of hardware and protocol (IP) 
 *                  addresses of the device
 *
 * Version : 2.1
 * Date    : 02/04/04
 *
 ******************************************************************************/

#include "MOTTYPES.h"
   
const tU08 hard_addr [6] = { 0x01, 0x23, 0x45, 0x56, 0x78, 0x9a };

const tU08 prot_addr [4] = { 192, 168,   2,   3 };
const tU08 netw_mask [4] = { 255, 255, 255,   0 };
const tU08 dfgw_addr [4] = { 192, 168,   2,   1 };
const tU08 brcs_addr [4] = { 192, 168,   2, 255 };

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?