diff options
Diffstat (limited to 'net/ipv4/fib_frontend.c')
| -rw-r--r-- | net/ipv4/fib_frontend.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index e830f7a123bd..a43968918350 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c | |||
| @@ -175,6 +175,7 @@ out: | |||
| 175 | fib_res_put(&res); | 175 | fib_res_put(&res); |
| 176 | return dev; | 176 | return dev; |
| 177 | } | 177 | } |
| 178 | EXPORT_SYMBOL(ip_dev_find); | ||
| 178 | 179 | ||
| 179 | /* | 180 | /* |
| 180 | * Find address type as if only "dev" was present in the system. If | 181 | * Find address type as if only "dev" was present in the system. If |
| @@ -214,12 +215,14 @@ unsigned int inet_addr_type(struct net *net, __be32 addr) | |||
| 214 | { | 215 | { |
| 215 | return __inet_dev_addr_type(net, NULL, addr); | 216 | return __inet_dev_addr_type(net, NULL, addr); |
| 216 | } | 217 | } |
| 218 | EXPORT_SYMBOL(inet_addr_type); | ||
| 217 | 219 | ||
| 218 | unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, | 220 | unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, |
| 219 | __be32 addr) | 221 | __be32 addr) |
| 220 | { | 222 | { |
| 221 | return __inet_dev_addr_type(net, dev, addr); | 223 | return __inet_dev_addr_type(net, dev, addr); |
| 222 | } | 224 | } |
| 225 | EXPORT_SYMBOL(inet_dev_addr_type); | ||
| 223 | 226 | ||
| 224 | /* Given (packet source, input interface) and optional (dst, oif, tos): | 227 | /* Given (packet source, input interface) and optional (dst, oif, tos): |
| 225 | - (main) check, that source is valid i.e. not broadcast or our local | 228 | - (main) check, that source is valid i.e. not broadcast or our local |
| @@ -1077,7 +1080,3 @@ void __init ip_fib_init(void) | |||
| 1077 | 1080 | ||
| 1078 | fib_hash_init(); | 1081 | fib_hash_init(); |
| 1079 | } | 1082 | } |
| 1080 | |||
| 1081 | EXPORT_SYMBOL(inet_addr_type); | ||
| 1082 | EXPORT_SYMBOL(inet_dev_addr_type); | ||
| 1083 | EXPORT_SYMBOL(ip_dev_find); | ||
