SpiNNFrontEndCommon 7.3.1
Common support code for user-facing front end systems.
Loading...
Searching...
No Matches
Macros | Functions
remove_default_routes.h File Reference

How to remove default routes from a routing table. More...

#include <stdbool.h>
#include "../common/routing_table.h"
#include <debug.h>

Go to the source code of this file.

Macros

#define LINK_MASK   0x3f
 Picks the bits of a link out of a route.
 

Functions

static bool remove_default_routes_minimise (int target_length)
 Remove defaultable routes from a routing table if that helps.
 

Detailed Description

How to remove default routes from a routing table.

Definition in file remove_default_routes.h.

Macro Definition Documentation

◆ LINK_MASK

#define LINK_MASK   0x3f

Picks the bits of a link out of a route.

Definition at line 30 of file remove_default_routes.h.

Function Documentation

◆ remove_default_routes_minimise()

static bool remove_default_routes_minimise ( int  target_length)
inlinestatic

Remove defaultable routes from a routing table if that helps.

Parameters
[in]target_lengthWhat size of table do we have to fit within
Returns
Whether we succeeded in getting the table within the target length

Definition at line 48 of file remove_default_routes.h.