1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Kernel: Convert the rte-local attributes to extended attributes and flags to pflags

This commit is contained in:
Maria Matejka
2020-02-13 16:59:53 +01:00
parent 3660f19dd5
commit e42eedb912
5 changed files with 61 additions and 84 deletions

View File

@@ -250,13 +250,6 @@ typedef struct rte {
s8 stale; /* Route is LLGR_STALE, -1 if unknown */
} bgp;
#endif
struct { /* Routes generated by krt sync (both temporary and inherited ones) */
s8 src; /* Alleged route source (see krt.h) */
u8 proto; /* Kernel source protocol ID */
u8 seen; /* Seen during last scan */
u8 best; /* Best route in network, propagated to core */
u32 metric; /* Kernel metric */
} krt;
} u;
} rte;