Part1 1
Chapter 1:Getting Around in the Networking Services Library 1
How the Networking Services Library Is Structured 2
How the Networking Services Library Is Designed 3
Acknowledgements 3
Chapter 2:What's In This Volume? 5
Router Administration 6
Message Information Base(MIB) 6
Packet Filtering 6
Routing Protocol Interface 6
Routing Table Manager(RTM)v2 7
Multicast Group Manager 7
Routing Table Manager(RTM)v1 7
Chapter 3:Using Microsoft Reference Resources 9
The Microsoft Developer Network 10
Comparing MSDN with MSDN Online 11
MSDN Subscriptions 13
MSDN Library Subscription 13
MSDN Professional Subscription 14
MSDN Universal Subscription 14
Purchasing an MSDN Subscription 14
Using MSDN 15
Navigating MSDN 16
Quick Tips 18
Using MSDN Online 20
Navigating MSDN Online 22
MSDN Online Features 23
MSDN Online Registered Users 29
The Windows Programming Reference Series 30
Chapter 4:Finding the Developer Resources You Need 31
Developer Support 31
Online Resources 33
Internet Standards 34
Learning Products 35
Conferences 37
Other Resources 37
Chapter 5:Understanding Routing Technologies 39
Routing Table 40
Basic Routing Terminology 40
Routing Basics 40
Hop Count 41
Default Gateway 42
Convergence 42
Flooding 43
Routing Loops 43
Black Holes 43
Static Routing vs.Dynamic Routing 43
Construction of a Frame 44
Routable Protocols 46
Routing Protocols 48
IGPs vs.EGPs 49
RIP and RIP II for IP 51
RIP for IPX 53
OSPF 54
The Overall View of OSPF 56
The Local View of OSPF 58
Communication Between OSPF Routers 60
Part2 63
Chapter 6:Router Administration 63
Router Administration Overview 63
Components of the Router Architecture 63
Router Initialization 64
The Different Classes of Router Management Functions 65
Ensuring that Changes Occur Immediately and are Persistent 65
Router Management Functions 65
Using Router Administration and Configuration Functions Remotely 66
Router Interface Functions 66
Router Manager(Transport)Functions 67
Router Manager Client(InterfaceTransport)Functions 67
Mprlnfo Functions and Information Headers 67
Managing Router Clients and Interfaces 68
Changing Interface-Specific and Global Information for Clients 68
Deleting a Client from an Interface 69
Router Administration Reference 69
Router Administration Functions 69
Router Configuration Functions 109
Router Administration Structures 149
Router Administration Enumerated Types 167
Unreachability Reasons 169
Information Header Functions 170
Functions That Use Information Blocks 180
Router Information Structures 180
IP Information Structures 180
IPX Information Structures 180
Router Information Enumeration Types 183
Chapter 7:Management Information Base(MIB) 185
MIB Overview 185
Using the MIB API 186
Obtaining the MIB II Interfaces Table 186
MIB Functions 187
MIB Reference 187
MIB Structures 201
Transport and Protocol Constants 235
Chapter 8:Packet Filtering 239
Packet Filtering Functions 239
Packet Filtering Structures 255
Packet Filtering Enumerated Types 262
Chapter 9:Routing Protocol Interface 265
Routing Protocol Interface Overview 265
Adapters 265
Interfaces 265
Static and Autostatic Routes 265
Routing Protocol Interface Reference 266
Routing Protocol Interface Functions 266
Routing Protocol Interface Structures 297
Support Functions Reference 304
IPX Service Table Management 316
Service Table Management Functions 316
Service Table Management Structures 327
Chapter 10:Routing Table Manager Version 1 329
Routing Table Manager Version 1 Overview 329
Route Tables and Route Table Entries 329
Changes to the Best Route to a Network 330
Routing Table Manager Version 1 Reference 330
Routing Table Manager Version 1 Functions 330
Routing Table Manager Version 1 Structures 351
Routing Table Manager Version 1 Protocol Family Identifiers 360
Chapter 11:Routing Table Manager Version 2 361
Routing Table Manager Version 2 Overview 361
Components of the Routing Table Manager Architecture 361
Router 361
Client 361
Router Manager 362
Routing Protocol 362
Forwarder 362
Routing Table Manager 363
Routing Table Manager Instance 363
Address Family 363
Routing Table Entries 364
View 364
Routing Table 364
How the Routing Table Manager Architecture Fits Together 366
RTMv2 Programming Issues 368
Registering with the Routing Table Manager 368
Enumerating Registered Entities 369
Using Methods 369
Using Opaque Pointers 370
Accessing Opaque Pointers 371
Marking Routes for the Hold-Down State 371
Adding Routes 371
Retrieving Route Information 372
Updating Routes In Place Using RtmUpdateAndUnlockRoute 373
Updating Routes Using RtmAddRouteToDest 373
Updating Routes 373
Receiving Notification of Changes 374
Registering for Change Notification 375
Retrieving Changes 376
Retrieving Change Status and Ignoring Changes 376
Working with Next Hops 376
Enumerating Routing Table Entries 377
Finding Specific Information in the Routing Table 377
Retrieving Information 377
Maintaining Client-Specific Lists 379
Managing Handles 379
Register with the Routing Table Manager 380
Enumerate the Registered Entities 380
Using Routing Table Manager Version 2 380
Obtain and Call the Exported Methods for a Client 381
Register for Change Notification 383
Add and Update Routes Using RtmAddRouteToDest 384
Update a Route In Place Using RtmUpdateAndUnlockRoute 386
Use the Route Hold-Down State 387
Enumerate All Destinations 389
Enumerate All Routes 391
Search for the Best Route 392
Search for Routes Using RtmGetMostSpecificDestination and RtmGetLessSpecificDestination 393
Access the Opaque Pointers in a Destination 394
Use a Client-Specific Route List 396
Use the Event Notification Callback 398
Routing Table Manager Version 2 Reference 402
Routing Table Manager Version 2 Functions 402
Routing Table Manager Version 2 Callbacks 477
Routing Table Manager Version 2 Structures 480
Routing Table Manager Version 2 Macros 492
Routing Table Manager Version 2 Constants 500
Routing Table Manager Version 2 Enumerations 506
Routing Table Manager Version 2 Simple Data Types 506
Chapter 12:Multicast Group Manager 509
Multicast Group Manager Overview 509
Multicast Routing Protocol 510
Interface 510
Components of the Multicast Architecture 510
Router 510
Multicast Source 511
Multicast Group 511
(s,g),(*,g),and(*,*)Pairs 511
Destination 511
Next Hop 511
Multicast Group Manager Client 511
How the Multicast Architecture Fits Together 512
Using the Multicast Group Manager 514
MGM Programming Issues 515
Callbacks 515
Routing Protocol Callbacks 515
Multicast Routing Protocol Startup Tasks 517
IGMP Enable and Disable Callbacks 517
Multicast Routing Protocol Scenario 517
Multicast Routing Protocol Operational Tasks 518
Multicast Routing Protocol Shutdown Tasks 520
Administration Program Scenario 520
Enumerating Groups 520
Enumerating MFEs 521
Multicast Group Manager Reference 523
Multicast Group Manager Functions 523
Multicast Group Manager Callbacks 547
Multicast Group Manager Structures 561
Multicast Group Manager Enumerations 564
Part3 567
Index:Networking Services Programming Elements-Alphabetical Listing 567