diff options
| author | David S. Miller <davem@davemloft.net> | 2010-04-27 15:57:39 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-04-27 15:57:39 -0400 |
| commit | bb611874650cff942a7466b456a791e8bfa641e7 (patch) | |
| tree | 32e048e3240dd808e7787ff2b7eb50ed9f0a6182 /include/linux | |
| parent | d328bc839eac685cdd91f5d9d8ad95c070252038 (diff) | |
| parent | cb6a4e461fb427689920472bd7335f926d521747 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/ipmr-2.6
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fib_rules.h | 8 | ||||
| -rw-r--r-- | include/linux/rtnetlink.h | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/include/linux/fib_rules.h b/include/linux/fib_rules.h index 04a397619ebe..51da65b68b85 100644 --- a/include/linux/fib_rules.h +++ b/include/linux/fib_rules.h | |||
| @@ -15,14 +15,6 @@ | |||
| 15 | /* try to find source address in routing lookups */ | 15 | /* try to find source address in routing lookups */ |
| 16 | #define FIB_RULE_FIND_SADDR 0x00010000 | 16 | #define FIB_RULE_FIND_SADDR 0x00010000 |
| 17 | 17 | ||
| 18 | /* fib_rules families. values up to 127 are reserved for real address | ||
| 19 | * families, values above 128 may be used arbitrarily. | ||
| 20 | */ | ||
| 21 | #define FIB_RULES_IPV4 AF_INET | ||
| 22 | #define FIB_RULES_IPV6 AF_INET6 | ||
| 23 | #define FIB_RULES_DECNET AF_DECnet | ||
| 24 | #define FIB_RULES_IPMR 128 | ||
| 25 | |||
| 26 | struct fib_rule_hdr { | 18 | struct fib_rule_hdr { |
| 27 | __u8 family; | 19 | __u8 family; |
| 28 | __u8 dst_len; | 20 | __u8 dst_len; |
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index d1c7c90e9cd4..5a42c36cb6aa 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h | |||
| @@ -7,6 +7,12 @@ | |||
| 7 | #include <linux/if_addr.h> | 7 | #include <linux/if_addr.h> |
| 8 | #include <linux/neighbour.h> | 8 | #include <linux/neighbour.h> |
| 9 | 9 | ||
| 10 | /* rtnetlink families. Values up to 127 are reserved for real address | ||
| 11 | * families, values above 128 may be used arbitrarily. | ||
| 12 | */ | ||
| 13 | #define RTNL_FAMILY_IPMR 128 | ||
| 14 | #define RTNL_FAMILY_MAX 128 | ||
| 15 | |||
| 10 | /**** | 16 | /**** |
| 11 | * Routing/neighbour discovery messages. | 17 | * Routing/neighbour discovery messages. |
| 12 | ****/ | 18 | ****/ |
