summaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ip.h')
-rw-r--r--include/net/ip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index 4d4dbf7ce..0fb977fbd 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -137,6 +137,7 @@ extern struct linux_mib net_statistics;
extern int sysctl_local_port_range[2];
+#ifdef CONFIG_INET
extern __inline__ int ip_send(struct sk_buff *skb)
{
if (skb->len > skb->dst->pmtu)
@@ -181,6 +182,7 @@ extern __inline__ void ip_eth_mc_map(u32 addr, char *buf)
buf[3]=addr&0x7F;
}
+#endif
extern int ip_call_ra_chain(struct sk_buff *skb);