patch-2.3.23 linux/include/net/ip.h

Next file: linux/include/pcmcia/cs.h
Previous file: linux/include/linux/tty.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/include/net/ip.h linux/include/net/ip.h
@@ -137,6 +137,7 @@
 
 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 @@
 	buf[3]=addr&0x7F;
 }
 
+#endif
 
 extern int	ip_call_ra_chain(struct sk_buff *skb);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)