patch-2.4.17 linux/net/ipv4/fib_rules.c
Next file: linux/net/ipv4/fib_semantics.c
Previous file: linux/net/ipv4/fib_hash.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Fri Dec 21 16:40:33 2001
- Orig file:
linux-2.4.16/net/ipv4/fib_rules.c
- Orig date:
Wed May 2 03:59:24 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/net/ipv4/fib_rules.c linux/net/ipv4/fib_rules.c
@@ -5,7 +5,7 @@
*
* IPv4 Forwarding Information Base: policy rules.
*
- * Version: $Id: fib_rules.c,v 1.16 2001/04/30 04:39:14 davem Exp $
+ * Version: $Id: fib_rules.c,v 1.17 2001/10/31 21:55:54 davem Exp $
*
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
*
@@ -395,9 +395,7 @@
notifier_call: fib_rules_event,
};
-#ifdef CONFIG_RTNETLINK
-
-extern __inline__ int inet_fill_rule(struct sk_buff *skb,
+static __inline__ int inet_fill_rule(struct sk_buff *skb,
struct fib_rule *r,
struct netlink_callback *cb)
{
@@ -462,8 +460,6 @@
return skb->len;
}
-
-#endif /* CONFIG_RTNETLINK */
void __init fib_rules_init(void)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)