History

rtnetlink: add RTNH_F_EXTERNAL flag for fib offload

Add new RTNH_F_EXTERNAL flag to mark fib entries offloaded externally, for example to a switchdev switch device.

Scott Feldman committed 11 years ago

Commit 37ed9491 parent 24d2e4a1 file · +1 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/rtnetlink.h+1−0
@@ -334,6 +334,7 @@ struct rtnexthop { · 333 unmodified lines
334#define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */334#define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */
335#define RTNH_F_PERVASIVE 2 /* Do recursive gateway lookup */335#define RTNH_F_PERVASIVE 2 /* Do recursive gateway lookup */
336#define RTNH_F_ONLINK 4 /* Gateway is forced on link */336#define RTNH_F_ONLINK 4 /* Gateway is forced on link */
337#define RTNH_F_EXTERNAL 8 /* Route installed externally */
337 338
338/* Macros to handle hexthops */339/* Macros to handle hexthops */
339 340

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t