route.h
来自「Vitual Ring Routing 管你知不知道」· C头文件 代码 · 共 37 行
H
37 行
// -*- 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 + =
减小字号Ctrl + -
显示快捷键?