patch-2.1.129 linux/net/ax25/ax25_ip.c
Next file: linux/net/econet/econet.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index
-  Lines: 19
-  Date:
Fri Nov 13 10:29:43 1998
-  Orig file: 
v2.1.128/linux/net/ax25/ax25_ip.c
-  Orig date: 
Sat Sep  5 16:46:42 1998
diff -u --recursive --new-file v2.1.128/linux/net/ax25/ax25_ip.c linux/net/ax25/ax25_ip.c
@@ -195,6 +195,18 @@
   	return 1;
 }
 
+#else	/* INET */
+
+int ax25_encapsulate(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr, void *saddr, unsigned len)
+{
+	return -AX25_HEADER_LEN;
+}
+
+int ax25_rebuild_header(struct sk_buff *skb)
+{
+	return 1;
+}
+
 #endif
 
 #endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov