亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? routeif.h

?? DM642的mpeg4編碼
?? H
字號:
//--------------------------------------------------------------------------
// Ip Stack
//--------------------------------------------------------------------------
// RouteIF.h
//
// Author: Michael A. Denio
// Copyright 1999 by Texas Instruments Inc.
//-------------------------------------------------------------------------

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

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

//-----------------------------------------------------------------------
// Route Defined Messages
//
#define MSG_ROUTE_TIMER                 (ID_ROUTE*MSG_BLOCK + 0)

//-----------------------------------------------------------------------
// Route Status Flags
//
// Note: Routes are sorted by their flag values, so the higher value
//       flags are higher priority routes. (IFLOCAL before GATEWAY, etc.)
//
#define FLG_RTE_UP              0x0001  // Entry is "up"
#define FLG_RTE_EXPIRED         0x0002  // Entry is expired
#define FLG_RTE_KEEPALIVE       0x0004  // Stays Valid via ARP refresh
#define FLG_RTE_STATIC          0x0008  // Entry is static
#define FLG_RTE_BLACKHOLE       0x0010  // Discard packets w/o error
#define FLG_RTE_REJECT          0x0020  // Discard packets with error
#define FLG_RTE_MODIFIED        0x0040  // Modified dynamically (via redirect)
#define FLG_RTE_DYNAMIC         0x0080  // Created dynamically (via redirect)
// One of the following is always set and is thus the priority
#define FLG_RTE_PROXYPUB        0x0100  // Reply to ARP other MAC
#define FLG_RTE_PROXY           0x0200  // Reply to ARP w/IF MAC when not IF
#define FLG_RTE_CLONING         0x0400  // Generate clone routes for this route
#define FLG_RTE_HOST            0x0800  // Host Route (no sub-net mask)
#define FLG_RTE_GATEWAY         0x1000  // Gate is an IP gateway (indirect)
#define FLG_RTE_IFLOCAL         0x2000  // Host Address is LOCAL

//
// Route Flag Full Description
//
//  FLG_RTE_UP
//      When set, indicates that the route is valid. The only time this
//      flag is cleared is when the route is being initialized, or when
//      an error condition is signaled via RtSetFailure(). The flag is
//      reset to TRUE by calling RtSetFailure() with NULL failure code,
//      or if the route is modified.
//
//  FLG_RTE_EXPIRED
//      When set, indicates that the route is expired. The flag can not
//      be cleared. A new route must be created. Expired routes are never
//      "found", but a route cached by another entity may expire why it
//      is being held.
//
//  FLG_RTE_BLACKHOLE
//      When set, indicates that the route is a "black hole". All
//      packets destined for this address are silently discarded.
//
//  FLG_RTE_REJECT
//      When set, indicates that the route is to an invalid address. All
//      packets destined for this address are discarded with an error
//      indication.
//
//  FLG_RTE_MODIFIED
//      When set, indicates that the route has been modified as a result
//      of a ICMP redirect message.
//
//  FLG_RTE_DYNAMIC
//      When set, indicates that the route was created dynamically via
//      an ICMP redirect.
//
//  FLG_RTE_STATIC
//      This flag is set when a route should remain in the routing table
//      even if it has no references. Various routes can be STATIC. In
//      this implimenation, STATIC routes will be manually referenced
//      by the system during create, and will be manually dereferenced
//      by the system during system shutdown.
//
//  FLG_RTE_PROXY
//      When set, indicates that ARP should respond to ARP requests for
//      the associated IP host/network when the network appears on a IF
//      device which is different from the incoming ARP request. The MAC
//      address supplied in the reply is that associated with the stack
//      IF device from which the request was received. A PROXY entry
//      has no LLI. This is used to "trick" clients into sending packets
//      to the router when subnets are split.
//      PROXY and PROXYPUB have nothing in common other than the word
//      PROXY in their name.
//
//  FLG_RTE_PROXYPUB
//      When set, indicates that ARP should respond to ARP requests for
//      the associated IP address with the supplied static MAC address
//      when the host is on the _same_ IF device as the incoming ARP
//      request. This allows support of hosts which do not implement
//      ARP (as if this is going to happen). PROXYPUB entries always
//      are created with a Mac Address, and thus contain a static LLI.
//      PROXY and PROXYPUB have nothing in common other than the word
//      PROXY in their name.
//
//  FLG_RTE_HOST
//      When set, indicates that the route entry is a host route. A
//      host route has no subnet mask (or rather a subnet mask of
//      all 1's in this implemenation). When searching for a route,
//      host routes always match before network routes (unless the
//      search is for a specific network mask).
//
//  FLG_RTE_GATEWAY
//      When set, indicates that the host or network route is indirectly
//      accessable via an IP gateway. For a route with this flag set,
//      the GateIP address is always valid. Most GATEWAY routes will also
//      be network routes, however a host redirect from ICMP can spawn
//      a host route with a different gateway than its parent route. In
//      general however, GATEWAY routes do not "clone" into host routes.
//
//  FLG_RTE_IFLOCAL
//      When set, indicates that the host route does not have a valid
//      LLI entry because the host is local to the stack. The MAC address
//      of this local IP host address can be obtained from the interface
//      handle associated with the route.
//
//      Local routes are in the routing table for the benefit of packets
//      which originate from the stack's upper layers. For ARP reqeusts
//      and routing of incoming packets to our stack, the IP address
//      list published via the Bind object is used. ARP will not respond
//      to, nor IP accept packets addressed to an IP adress not in the
//      Bind list, even if an IFLOCAL address is in the route table.
//
//  FLG_RTE_CLONING
//      When set, indicates that the network route is a cloning route.
//      Cloning routes clone host routes when a route allocation is
//      performed on a host address that is a member of the route
//      entry's network address. Cloned host routes take on most of the
//      properties of their parent network route, with the following
//      alterations:
//          - Any MODIFIED or DYNAMIC flags are cleared.
//          - The STATIC flag is never set.
//          - The HOST flag is set and the netmask is set to 1's.
//          - Any metrics are COPIED and set in the new HOST route.
//          - The CLONING flag is cleared.
//
//  FLG_RTE_KEEPALIVE
//      When set, indicates that the route can be updated via ARP. In
//      this case, LLI will track the time of the last ARP request or
//      reply. When the route expires (the expiration queue is not
//      resorted for every ARP), the LLI entry is checked to see if the
//      route expiration should be extended.
//
//---------------------------------------------------------------------------
// Route Flags to Available Propery Decode
//
//  FLG_RTE_UP         Off
//    - Failure Code Available
//
//  FLG_RTE_GATEWAY    On
//    - IP Gateway Available
//
//  FLG_RTE_GATEWAY    Off
//  FLG_RTE_IFLOCAL    Off
//    - Interface Handle Available
//
//  FLG_RTE_PROXYPUB   On
//    - LLI available
//
//  FLG_RTE_HOST       On
//  FLG_RTE_GATEWAY    Off
//  FLG_RTE_PROXY      Off
//  FLG_RTE_IFLOCAL    Off
//     - LLI Entry Available
//
//  FLG_RTE_HOST       Off
//     - Network Route IPAddr and IPMask Available
//
//  FLG_RTE_HOST       On
//     - Network Route IPAddr Available (IPMask would return 1's)
//
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// Legal Route Flag Combinations
//
//  FLG_RTE_BLACKHOLE
//    FLG_RTE_REJECT      must be OFF
//
//  FLG_RTE_REJECT
//    FLG_RTE_BLACKHOLE   must be OFF
//
//  FLG_RTE_DYNAMIC
//    FLG_RTE_GATEWAY     must be ON
//
//  FLG_RTE_MODIFIED
//    FLG_RTE_GATEWAY     must be ON
//
//  FLG_RTE_HOST
//    FLG_RTE_CLONING     must be OFF
//
//  FLG_RTE_PROXY
//    FLG_RTE_GATEWAY     must be OFF
//    FLG_RTE_DYNAMIC     must be OFF
//    FLG_RTE_MODIFIED    must be OFF
//    FLG_RTE_CLONING     must be OFF
//
//  FLG_RTE_PROXYPUB
//    FLG_RTE_HOST        must be ON
//    FLG_RTE_CLONING     must be OFF
//    FLG_RTE_GATEWAY     must be OFF
//    FLG_RTE_DYNAMIC     must be OFF
//    FLG_RTE_MODIFIED    must be OFF
//
//  FLG_RTE_GATEWAY
//    FLG_RTE_PROXY       must be OFF
//    FLG_RTE_PROXYPUB    must be OFF
//    FLG_RTE_IFLOCAL     must be OFF
//    FLG_RTE_CLONING     must be OFF
//
//  FLG_RTE_IFLOCAL
//    FLG_RTE_HOST        must be ON
//    FLG_RTE_CLONING     must be OFF
//    FLG_RTE_GATEWAY     must be OFF
//    FLG_RTE_DYNAMIC     must be OFF
//    FLG_RTE_MODIFIED    must be OFF
//    FLG_RTE_PROXY       must be OFF
//    FLG_RTE_PROXYPUB    must be OFF
//    FLG_RTE_METRICS     must be OFF
//
//  FLG_RTE_CLONING
//    FLG_RTE_HOST        must be OFF
//    FLG_RTE_PROXY       must be OFF
//    FLG_RTE_PROXYPUB    must be OFF
//    FLG_RTE_GATEWAY     must be OFF
//    FLG_RTE_DYNAMIC     must be OFF
//    FLG_RTE_MODIFIED    must be OFF
//    FLG_RTE_IFLOCAL     must be OFF
//
//---------------------------------------------------------------------------

//-------------------------------------------------------------------------
// Route Entry Structure
//
typedef struct _rt {
    uint        Type;             // Set to HTYPE_RT
    uint        RefCount;         // # of open alloc's to this entry
    struct _rt  *pNextExp;        // Next entry in Expiration List
    UINT32      dwTimeout;        // Expiration time in SECONDS
    HANDLE      hNode;            // Associated Node
    struct _rt  *pNext;           // Next entry with same masked IP
    uint        Flags;            // Entry flags
    IPN         IPAddr;           // Destination IP address
    IPN         IPMask;           // Destination IP Mask
    uint        MaskBits;         // Number of 1 bits in mask
    uint        FailCode;         // NULL, or failure code
    HANDLE      hIF;              // IF (if any)
    uint        ProtMTU;          // Protocol MTU as for this route
    IPN         IPGate;           // Gateway IP addr (if any)
    HANDLE      hLLI;             // LLI Entry (if any)
    } RT;

//-------------------------------------------------------------------------
// Route Call Flags
//
#define FLG_RTF_REPORT          0x0001  // Forward report to reporting chain
#define FLG_RTF_CLONE           0x0002  // Clone network route to host route
#define FLG_RTF_HOST            0x0004  // Find only host routes
#define FLG_RTF_PROXY           0x0008  // Find only PROXY routes
#define FLG_RTF_PROXYPUB        0x0010  // Find only PROXYPUB routes
#define FLG_RTF_CONDITIONAL     (FLG_RTF_HOST|FLG_RTF_PROXY|FLG_RTF_PROXYPUB)

//-------------------------------------------------------------------------
// Route Failure Codes
//
#define RTC_HOSTDOWN            0x0001  // Host is down
#define RTC_HOSTUNREACH         0x0002  // Host unreachable
#define RTC_NETUNREACH          0x0003  // Network unreachable

//-------------------------------------------------------------------------
// Access Functions
//

#define RtRef(x)   ExecHRef(x)

// Route Maintainence Calls
//
_extern HANDLE  RtCreate( uint CallFlags, uint Flags, IPN IPAddr,
                         IPN IPMask, HANDLE hIF, IPN IPGate, UINT8 *pMacAddr );
_extern void    RtRedirect( IPN IPAddr, IPN IPGate );

_extern HANDLE  RtFind( uint CallFlags, IPN IP );
_extern void    RtDeRef( HANDLE hRt );

_extern HANDLE  RtWalkBegin();
_extern HANDLE  RtWalkNext( HANDLE hRt );
_extern void    RtWalkEnd( HANDLE hRt );

// Route Object Management Calls
//
_extern void    RtSetFailure( HANDLE hRt, uint CallFlags, uint FailCode );
_extern void    RtRemove( HANDLE hRt, uint CallFlags, uint FailCode );
_extern void    RtSetTimeout( HANDLE hRt, UINT32 dwTimeOut );

#ifdef _STRONG_CHECKING
_extern void    RtSetLLI( HANDLE hRt, HANDLE hLLI );
_extern void    RtSetMTU( HANDLE hRt, uint mtu );
_extern uint    RtGetFlags( HANDLE hRt );
_extern IPN     RtGetIPAddr( HANDLE hRt );
_extern IPN     RtGetIPMask( HANDLE hRt );
_extern IPN     RtGetGateIP( HANDLE hRt );
_extern HANDLE  RtGetIF( HANDLE hRt );
_extern uint    RtGetMTU( HANDLE hRt );
_extern HANDLE  RtGetLLI( HANDLE hRt );
_extern uint    RtGetFailure( HANDLE hRt );
#else
#define RtSetLLI( h, x )        (((RT *)h)->hLLI = x)
#define RtSetMTU( h, x )        (((RT *)h)->ProtMTU=x)
#define RtGetIPAddr( h )        (((RT *)h)->IPAddr)
#define RtGetIPMask( h )        (((RT *)h)->IPMask)
#define RtGetFlags( h )         (((RT *)h)->Flags)
#define RtGetIF( h )            (((RT *)h)->hIF)
#define RtGetMTU( h )           (((RT *)h)->ProtMTU)
#define RtGetGateIP(h)          (((RT *)h)->IPGate)
#define RtGetLLI( h )           (((RT *)h)->hLLI)
#define RtGetFailure( h )       (((RT *)h)->FailCode)
#endif

//
// The following function is reserved for kernel use
//
// (Special handling for route entries in PBM structure)
//
#ifndef __cplusplus
inline void PBM_setRoute( PBM_Pkt *pPkt, HANDLE hRoute )
{
    if( hRoute )
        RtRef( hRoute );
    if( pPkt->hRoute )
        RtDeRef( pPkt->hRoute );
    pPkt->hRoute = hRoute;
}
#endif

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩国产在线一| 91麻豆国产香蕉久久精品| 日韩精品亚洲一区二区三区免费| 一区二区在线观看av| 中文字幕日韩av资源站| 国产精品久99| 综合久久久久久久| 亚洲精品视频一区二区| 亚洲欧洲制服丝袜| 亚洲最新在线观看| 亚洲成人av电影| 日本欧美肥老太交大片| 另类小说综合欧美亚洲| 国产一区不卡视频| 成人精品国产免费网站| av在线不卡观看免费观看| 91丝袜美女网| 欧美午夜一区二区三区免费大片| 欧美久久久久久久久久| 欧美sm极限捆绑bd| 国产亚洲欧洲997久久综合| 中文无字幕一区二区三区| 国产精品毛片高清在线完整版 | 五月综合激情婷婷六月色窝| 亚洲无线码一区二区三区| 日韩av在线发布| 国产一区二区三区av电影| 99久久综合国产精品| 欧美性受xxxx黑人xyx性爽| 日韩一区二区中文字幕| 国产亚洲午夜高清国产拍精品 | 本田岬高潮一区二区三区| 99久久777色| 欧美精品视频www在线观看| 日韩欧美精品在线| 日本一区二区三区高清不卡| 亚洲欧美国产毛片在线| 蜜桃传媒麻豆第一区在线观看| 国产一区二区调教| 色一区在线观看| 欧美一级二级在线观看| 国产农村妇女毛片精品久久麻豆 | 国产精品国产三级国产有无不卡| 一区二区三区不卡视频在线观看| 蜜臀va亚洲va欧美va天堂 | 日韩视频中午一区| 国产精品国产自产拍高清av | 91久久精品一区二区| 欧美一区三区二区| 国产精品灌醉下药二区| 日本欧美一区二区三区| 99re在线精品| 精品国免费一区二区三区| 《视频一区视频二区| 久久激情综合网| 在线欧美日韩精品| 久久久欧美精品sm网站| 视频一区二区不卡| 色综合久久综合中文综合网| 精品国产免费久久| 一区二区三区精品视频在线| 国产v综合v亚洲欧| 欧美一区二区成人6969| 最新国产の精品合集bt伙计| 麻豆成人免费电影| 欧美亚洲精品一区| 国产精品人人做人人爽人人添| 美脚の诱脚舐め脚责91| 欧美性大战久久久久久久| 国产欧美一区二区精品性色 | 国产91精品久久久久久久网曝门| 欧美日韩免费不卡视频一区二区三区| 国产精品网站一区| 久久精品国产精品亚洲精品| 欧美亚洲一区二区在线观看| 国产精品成人免费| 国产乱子轮精品视频| 日韩一级片在线播放| 亚洲午夜免费视频| 91蜜桃在线免费视频| 久久婷婷成人综合色| 日韩电影在线观看一区| 欧美在线制服丝袜| 亚洲免费观看高清在线观看| 成人动漫一区二区三区| 欧美精品一区二区高清在线观看| 天堂成人免费av电影一区| 93久久精品日日躁夜夜躁欧美| 久久无码av三级| 国产一区二区三区国产| 日韩精品影音先锋| 蜜臀国产一区二区三区在线播放| 欧美欧美午夜aⅴ在线观看| 一区二区三国产精华液| av成人老司机| 国产精品激情偷乱一区二区∴| 国产成人综合网站| 国产欧美一区二区在线| 国产1区2区3区精品美女| 久久婷婷一区二区三区| 国产一区二区免费视频| 国产喂奶挤奶一区二区三区| 国产成人鲁色资源国产91色综| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 色噜噜狠狠成人网p站| 国产精品色婷婷| 成人蜜臀av电影| 国产精品你懂的在线| eeuss国产一区二区三区| 中文字幕中文乱码欧美一区二区 | 日韩女优毛片在线| 免费欧美日韩国产三级电影| 欧美猛男gaygay网站| 三级不卡在线观看| 日韩精品影音先锋| 国内精品不卡在线| 久久久久久久性| 成人一区二区在线观看| 亚洲欧美国产77777| 欧美四级电影网| 免费不卡在线观看| 欧美成人免费网站| 国产一区二区不卡在线| 国产精品白丝在线| 欧美羞羞免费网站| 奇米四色…亚洲| 国产无一区二区| 91麻豆免费视频| 天堂成人国产精品一区| 久久久久一区二区三区四区| 成人app在线| 亚洲在线观看免费视频| 欧美一区二区三区成人| 国产精品亚洲午夜一区二区三区 | 国产福利一区二区三区视频在线| 国产日韩欧美亚洲| 一本色道a无线码一区v| 欧美aaa在线| 国产午夜三级一区二区三| 色诱亚洲精品久久久久久| 日本人妖一区二区| 中文字幕av一区二区三区高 | 日韩欧美国产综合| 国产成人亚洲精品狼色在线| 亚洲欧美日韩电影| 欧美一卡2卡3卡4卡| 成人福利视频在线| 视频一区视频二区中文字幕| 国产日韩欧美高清在线| 欧美日韩国产美女| 国产成人午夜电影网| 亚洲国产va精品久久久不卡综合| 欧美变态口味重另类| 色婷婷狠狠综合| 国产真实乱偷精品视频免| 综合婷婷亚洲小说| 精品久久国产老人久久综合| 一本大道av伊人久久综合| 狠狠色丁香婷婷综合久久片| 亚洲视频一区二区在线| 26uuu久久综合| 精品污污网站免费看| 国产一区二区三区在线观看免费 | 精品国产露脸精彩对白| 91高清视频在线| 国产91丝袜在线观看| 日韩黄色免费电影| 亚洲免费观看在线观看| 国产亚洲短视频| 欧美浪妇xxxx高跟鞋交| 91天堂素人约啪| 国产综合成人久久大片91| 午夜电影久久久| 最新国产精品久久精品| 久久亚洲精精品中文字幕早川悠里 | 国产电影一区在线| 午夜欧美电影在线观看| 亚洲少妇30p| 亚洲精品一区二区三区四区高清| 欧美性生活影院| av不卡在线观看| 风间由美一区二区av101| 另类调教123区| 午夜精品久久久久久久| 亚洲免费在线观看视频| 国产精品水嫩水嫩| 国产午夜精品久久久久久久 | 久久爱另类一区二区小说| 亚洲一区二区在线视频| 中文字幕欧美一| 国产精品久久久久久久久免费丝袜 | 国产精品一区久久久久| 青草av.久久免费一区| 亚洲mv在线观看| 日韩av一区二区三区四区| 91精品一区二区三区久久久久久 | 久久电影网站中文字幕| 亚洲国产视频在线| 日韩伦理免费电影| 国产精品欧美极品|