projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
interface-ip.{c,h}: add new flag DEVROUTE_MTU and set it for per-route mtu overrides
[project/netifd.git]
/
interface-ip.h
diff --git
a/interface-ip.h
b/interface-ip.h
index
d206eca
..
1a82ad6
100644
(file)
--- a/
interface-ip.h
+++ b/
interface-ip.h
@@
-28,8
+28,11
@@
enum device_addr_flags {
/* route overrides the default interface metric */
DEVROUTE_METRIC = (1 << 3),
/* route overrides the default interface metric */
DEVROUTE_METRIC = (1 << 3),
+ /* route overrides the default interface mtu */
+ DEVROUTE_MTU = (1 << 4),
+
/* route automatically added by kernel */
/* route automatically added by kernel */
- DEVADDR_KERNEL = (1 <<
4
),
+ DEVADDR_KERNEL = (1 <<
5
),
};
union if_addr {
};
union if_addr {