summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-29 13:26:32 +0200
committerJo-Philipp Wich <jow@openwrt.org>2012-06-29 13:32:26 +0200
commit55c7d8f55b6bdb264a52410467a7e8cff3bec3a9 (patch)
tree7d47514bb504e9ccfdd0a4449f75c2ae4adfba23 /interface-ip.h
parent19048f79a49b1f242f03e2d81cec6b6e11f18a9e (diff)
interface-ip.{c,h}: add new flag DEVROUTE_MTU and set it for per-route mtu overrides
Diffstat (limited to 'interface-ip.h')
-rw-r--r--interface-ip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/interface-ip.h b/interface-ip.h
index d206eca..1a82ad6 100644
--- 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 mtu */
+ DEVROUTE_MTU = (1 << 4),
+
/* route automatically added by kernel */
- DEVADDR_KERNEL = (1 << 4),
+ DEVADDR_KERNEL = (1 << 5),
};
union if_addr {