projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make alias devices attach to interface l2 devs
[project/netifd.git]
/
interface-ip.h
diff --git
a/interface-ip.h
b/interface-ip.h
index
cbfcb49
..
1a82ad6
100644
(file)
--- a/
interface-ip.h
+++ b/
interface-ip.h
@@
-26,7
+26,13
@@
enum device_addr_flags {
DEVADDR_EXTERNAL = (1 << 2),
/* route overrides the default interface metric */
DEVADDR_EXTERNAL = (1 << 2),
/* route overrides the default interface metric */
- DEVROUTE_METRIC = (1 << 3)
+ DEVROUTE_METRIC = (1 << 3),
+
+ /* route overrides the default interface mtu */
+ DEVROUTE_MTU = (1 << 4),
+
+ /* route automatically added by kernel */
+ DEVADDR_KERNEL = (1 << 5),
};
union if_addr {
};
union if_addr {
@@
-40,6
+46,7
@@
struct device_addr {
/* ipv4 only */
uint32_t broadcast;
/* ipv4 only */
uint32_t broadcast;
+ uint32_t point_to_point;
/* must be last */
enum device_addr_flags flags;
/* must be last */
enum device_addr_flags flags;