It is usefull for daemons that monitor link event to have the full parameters of these interfaces when a rtnl message is sent. It allows also to dump them via rtnetlink. It is based on what is done for GRE tunnels.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -44,6 +44,9 @@ enum { · 43 unmodified lines | |||
| 44 | IFLA_IPTUN_REMOTE, | 44 | IFLA_IPTUN_REMOTE, |
| 45 | IFLA_IPTUN_TTL, | 45 | IFLA_IPTUN_TTL, |
| 46 | IFLA_IPTUN_TOS, | 46 | IFLA_IPTUN_TOS, |
| 47 | IFLA_IPTUN_ENCAP_LIMIT, | ||
| 48 | IFLA_IPTUN_FLOWINFO, | ||
| 49 | IFLA_IPTUN_FLAGS, | ||
| 47 | __IFLA_IPTUN_MAX, | 50 | __IFLA_IPTUN_MAX, |
| 48 | }; | 51 | }; |
| 49 | #define IFLA_IPTUN_MAX (__IFLA_IPTUN_MAX - 1) | 52 | #define IFLA_IPTUN_MAX (__IFLA_IPTUN_MAX - 1) |