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

📄 route.h

📁 Vitual Ring Routing 管你知不知道
💻 H
字号:
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil -*- (for GNU Emacs)
//
// (c) Microsoft Corporation. All rights reserved. 
//
// This file is part of the Microsoft Virtual Ring Routing distribution.
// You should have received a copy of the Microsoft Research Shared Source
// license agreement (MSR-SSLA) for this software; see the file "license.txt".
// If not, please see http://research.microsoft.com/vrr/license.htm,
// or write to Microsoft Research, One Microsoft Way, Redmond, WA 98052-6399.
//

#ifndef __VRRROUTE_H__
#define __VRRROUTE_H__

typedef struct TxToken {
    VirtualAddress Source;            // Our (sending) Virtual Address.
    VirtualAddress Dest;              // Virtual Address of the destination endpoint.
    VirtualAddress NextVAddress;      // Virtual address of the next hop.
    PhysicalAddress NextPAddress;     // Physical address of the next hop.
    ProtocolAdapter *PA;              // Physical adapter having LocIF as index.
    VRRIf LocIF;
    VRRIf RemIF;
} TxToken, *PTxToken;


// Struct used internally to e.g. RouteUpdateNCE and ReceiveTearDown.
typedef struct _InternalVrrTearDown InternalVrrTearDown;
typedef struct TeardownInformQueue {
    struct TeardownInformQueue *Next;
    VirtualAddress SendTo;            // Phys neighbor that needs to see TearDown.
    InternalVrrTearDown *ITD;  // Pointer to specific TearDown for this neighbor.
} TeardownInformQueue;



#endif /* __SR_H__ */

⌨️ 快捷键说明

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