169 lines
3.5 KiB
Modula-2
169 lines
3.5 KiB
Modula-2
|
EXPORTS
|
||
|
|
||
|
;;;; RTMv2 APIs
|
||
|
|
||
|
;; Configuration APIs
|
||
|
|
||
|
RtmReadInstanceConfig
|
||
|
RtmWriteInstanceConfig
|
||
|
RtmReadAddressFamilyConfig
|
||
|
RtmWriteAddressFamilyConfig
|
||
|
|
||
|
;; Management APIs
|
||
|
|
||
|
RtmGetInstances
|
||
|
RtmGetInstanceInfo
|
||
|
RtmGetAddressFamilyInfo
|
||
|
|
||
|
;; Register, Deregister APIs
|
||
|
|
||
|
RtmRegisterEntity
|
||
|
RtmDeregisterEntity
|
||
|
RtmGetRegisteredEntities
|
||
|
RtmReleaseEntities
|
||
|
RtmLockDestination
|
||
|
RtmGetOpaqueInformationPointer
|
||
|
|
||
|
;; Entity Method APIs
|
||
|
|
||
|
RtmGetEntityMethods
|
||
|
RtmInvokeMethod
|
||
|
RtmBlockMethods
|
||
|
|
||
|
;; Get Info APIs
|
||
|
|
||
|
RtmGetEntityInfo
|
||
|
RtmGetDestInfo
|
||
|
RtmGetRouteInfo
|
||
|
RtmGetNextHopInfo
|
||
|
|
||
|
;; Release Info APIs
|
||
|
|
||
|
RtmReleaseEntityInfo
|
||
|
RtmReleaseDestInfo
|
||
|
RtmReleaseRouteInfo
|
||
|
RtmReleaseNextHopInfo
|
||
|
|
||
|
;; Ref, Deref Handle APIs
|
||
|
|
||
|
RtmReferenceHandles
|
||
|
RtmDereferenceHandles
|
||
|
|
||
|
;; Add, Delete NextHop APIs
|
||
|
|
||
|
RtmAddNextHop
|
||
|
RtmFindNextHop
|
||
|
RtmDeleteNextHop
|
||
|
RtmLockNextHop
|
||
|
RtmGetNextHopPointer
|
||
|
|
||
|
;; Add, Delete Route APIs
|
||
|
|
||
|
RtmAddRouteToDest
|
||
|
RtmDeleteRouteToDest
|
||
|
RtmHoldDestination
|
||
|
RtmLockRoute
|
||
|
RtmUpdateAndUnlockRoute
|
||
|
RtmGetRoutePointer
|
||
|
|
||
|
;; Enumeration APIs
|
||
|
|
||
|
RtmCreateDestEnum
|
||
|
RtmGetEnumDests
|
||
|
RtmReleaseDests
|
||
|
|
||
|
RtmCreateRouteEnum
|
||
|
RtmGetEnumRoutes
|
||
|
RtmReleaseRoutes
|
||
|
|
||
|
RtmCreateNextHopEnum
|
||
|
RtmGetEnumNextHops
|
||
|
RtmReleaseNextHops
|
||
|
|
||
|
RtmDeleteEnumHandle
|
||
|
|
||
|
;; Query APIs
|
||
|
|
||
|
RtmGetExactMatchDestination
|
||
|
RtmGetMostSpecificDestination
|
||
|
RtmGetLessSpecificDestination
|
||
|
RtmGetExactMatchRoute
|
||
|
RtmIsBestRoute
|
||
|
|
||
|
;; Change Notification APIs
|
||
|
|
||
|
RtmRegisterForChangeNotification
|
||
|
RtmGetChangedDests
|
||
|
RtmReleaseChangedDests
|
||
|
RtmIgnoreChangedDests
|
||
|
RtmGetChangeStatus
|
||
|
RtmMarkDestForChangeNotification
|
||
|
RtmIsMarkedForChangeNotification
|
||
|
RtmDeregisterFromChangeNotification
|
||
|
|
||
|
;; Entity specific list of routes' APIs
|
||
|
|
||
|
RtmCreateRouteList
|
||
|
RtmInsertInRouteList
|
||
|
RtmCreateRouteListEnum
|
||
|
RtmGetListEnumRoutes
|
||
|
RtmDeleteRouteList
|
||
|
|
||
|
;; Prefix Table APIs
|
||
|
|
||
|
CreateTable
|
||
|
InsertIntoTable
|
||
|
SearchInTable
|
||
|
BestMatchInTable
|
||
|
NextMatchInTable
|
||
|
EnumOverTable
|
||
|
DeleteFromTable
|
||
|
DestroyTable
|
||
|
CheckTable
|
||
|
DumpTable
|
||
|
|
||
|
;;;; RTMv1 APIs
|
||
|
|
||
|
RtmCreateRouteTable
|
||
|
RtmDeleteRouteTable
|
||
|
RtmRegisterClient
|
||
|
RtmDeregisterClient
|
||
|
RtmAddRoute
|
||
|
RtmDeleteRoute
|
||
|
RtmDequeueRouteChangeMessage
|
||
|
RtmCreateEnumerationHandle
|
||
|
RtmEnumerateGetNextRoute
|
||
|
RtmCloseEnumerationHandle
|
||
|
RtmGetFirstRoute
|
||
|
RtmGetNextRoute
|
||
|
RtmBlockDeleteRoutes
|
||
|
RtmBlockSetRouteEnable
|
||
|
RtmBlockConvertRoutesToStatic
|
||
|
RtmIsRoute
|
||
|
RtmLookupIPDestination
|
||
|
RtmGetNetworkCount
|
||
|
RtmGetRouteAge
|
||
|
|
||
|
|
||
|
;;;; MGM APIs
|
||
|
|
||
|
MgmInitialize
|
||
|
MgmDeInitialize
|
||
|
MgmRegisterMProtocol
|
||
|
MgmDeRegisterMProtocol
|
||
|
MgmTakeInterfaceOwnership
|
||
|
MgmReleaseInterfaceOwnership
|
||
|
MgmAddGroupMembershipEntry
|
||
|
MgmDeleteGroupMembershipEntry
|
||
|
MgmGetMfe
|
||
|
MgmGetFirstMfe
|
||
|
MgmGetNextMfe
|
||
|
MgmGroupEnumerationStart
|
||
|
MgmGroupEnumerationGetNext
|
||
|
MgmGroupEnumerationEnd
|
||
|
MgmGetProtocolOnInterface
|
||
|
MgmGetNextMfeStats
|
||
|
MgmGetFirstMfeStats
|
||
|
MgmGetMfeStats
|
||
|
MgmGetMfeStats
|