⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rtcif.h

📁 本软件是TI公司免费提供的网络开发包 现在好象很难找到,有黑心的公司把它改一改,就卖价5000元,对网络开发和网络驱动开发有参考价值
💻 H
字号:
/*
 *  Copyright 2006 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *
 *  @(#) TCP/IP_Network_Developers_Kit 1.91.00.08 08-22-2006 (ndk-a08)
 */
//--------------------------------------------------------------------------
// Ip Stack
//--------------------------------------------------------------------------
// RTCIF.H
//
// Author: Michael A. Denio
// Copyright 1999 by Texas Instruments Inc.
//-------------------------------------------------------------------------

#ifndef _C_RTCIF_INC
#define _C_RTCIF_INC  /* #defined if this .h file has been included */

//-----------------------------------------------------------------------
//
// Global Task Information
//

// Defined Messages
#define MSG_RTC_TIMER                (ID_RTC*MSG_BLOCK + 0)

// Route Report Messages
#define MSG_RTC_UP                   (ID_RTC*MSG_BLOCK + 1)
#define MSG_RTC_DOWN                 (ID_RTC*MSG_BLOCK + 2)
#define MSG_RTC_MISS                 (ID_RTC*MSG_BLOCK + 3)
#define MSG_RTC_NEW                  (ID_RTC*MSG_BLOCK + 4)
#define MSG_RTC_EXPIRED              (ID_RTC*MSG_BLOCK + 5)
#define MSG_RTC_REMOVED              (ID_RTC*MSG_BLOCK + 6)
#define MSG_RTC_MODIFIED             (ID_RTC*MSG_BLOCK + 7)
#define MSG_RTC_REDIRECT             (ID_RTC*MSG_BLOCK + 8)
#define MSG_RTC_REDIRECT_NET         (ID_RTC*MSG_BLOCK + 9)
#define MSG_RTC_DUPIP                (ID_RTC*MSG_BLOCK + 10)

//
//  RTC Route Report Messages
//  -------------------------
//
//  MSG_RTC_UP               - Route is valid/pending
//      Param1 = Route IP
//      Param2 = Route IP Mask (all ones for host route)
//
//  MSG_RTC_DOWN             - Route is down
//      Param1 = Route IP
//      Param2 = Route IP Mask (all ones for host route)
//
//  MSG_RTC_MISS             - Route find "missed" on route
//      Param1 = Route IP
//      Param2 = Route IP Mask (all ones for host route)
//
//  MSG_RTC_NEW              - New route entered in table
//      Param1 = Route IP
//      Param2 = Route IP Mask (all ones for host route)
//
//  MSG_RTC_EXPIRED          - Route expired as was invalidated
//      Param1 = Route IP
//      Param2 = Route IP Mask (all ones for host route)
//
//  MSG_RTC_REMOVED          - Route was manually removed
//      Param1 = Route IP
//      Param2 = Route IP Mask (all ones for host route)
//
//  MSG_RTC_MODIFIED         - Route has been modified
//      Param1 = Route IP
//      Param2 = Route IP Mask (all ones for host route)
//
//  MSG_RTC_REDIRECT         - Route has been redirected
//      Param1 = Route IP (host)
//      Param2 = New IP Gate (new gateway for route)
//
//  MSG_RTC_DUPIP            - Route was manually removed
//      Param1 = Route IP
//      Param2 = Route IP Mask (all ones for host route)
//

_extern void   RTCReport( uint Msg, UINT32 dwParam1, UINT32 dwParam2 );

typedef void (*RTCHOOK)(uint, UINT32, UINT32);

_extern uint RTCAddHook( void (*pfn)( uint, UINT32, UINT32 ) );
_extern void RTCRemoveHook( void (*pfn)( uint, UINT32, UINT32 ) );

#endif

⌨️ 快捷键说明

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