View Flags
Use the View Flags to control routing table views.
Constant | Value | Description |
---|---|---|
RTM_MAX _ADDRESS_SIZE | 16 | Max address size for an address family. |
RTM_MAX_VIEWS | 32 | Maximum number of views that can be active in the routing table. |
RTM_VIEW_ID_UCAST | 0 | Specifies a unicast view. |
RTM_VIEW_ID_MCAST | 1 | Specifies a multicast view. |
RTM_VIEW_MASK_SIZE | 0x20 | Specifies the maximum number of views that can be configured. |
RTM_VIEW_MASK_NONE | 0x00000000 | Returns information regardless of the view. |
RTM_VIEW_MASK_ANY | 0x00000000 | Returns destinations from all views. This is the default value. |
RTM_VIEW_MASK_UCAST | 0x00000001 | Returns destinations from the unicast view. |
RTM_VIEW_MASK_MCAST | 0x00000002 | Returns destinations from the multicast view. |
RTM_VIEW_MASK_ALL | 0xFFFFFFFF | Returns information from all views. |