Edit

Enumeration Flags

Constant Value Description
RTM_ENUM_START 0x00000000 Enumerate routes or destinations starting at 0/0.
RTM_ENUM_NEXT 0x00000001 Enumerate routes or destinations starting at the specified address/mask length (such as 10/8). The enumeration continues to the end of the routing table.
RTM_ENUM_RANGE 0x00000002 Enumerate routes or destinations in the specified subtree specified by the address/mask length (such as 10/8).
RTM_ENUM_ALL_DESTS 0x00000000 Return all destinations.
RTM_ENUM_OWN_DESTS 0x01000000 Return only those destinations that the client owns.
RTM_ENUM_ALL_ROUTES 0x00000000 Return all routes.
RTM_ENUM_OWN_ROUTES 0x00010000 Return only those routes that the client owns.