summaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_in.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/ax25/ax25_in.h')
-rw-r--r--net/ax25/ax25_in.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/ax25/ax25_in.h b/net/ax25/ax25_in.h
new file mode 100644
index 000000000..90aa12b1e
--- /dev/null
+++ b/net/ax25/ax25_in.h
@@ -0,0 +1,20 @@
+#ifndef _AX25_IN_H
+#define _AX25_IN_H
+
+/*
+ * prototype for state machine functions.
+ */
+
+typedef int (*ax25_statefunc_t)(ax25_cb*, struct sk_buff*, ax25_pktinfo*);
+
+extern int ax25_process_rx_frame(ax25_cb*, struct sk_buff*, ax25_pktinfo*);
+extern int ax25_rx_iframe(ax25_cb*, struct sk_buff*);
+extern void ax25_reseq_update(ax25_cb*, struct sk_buff*, int);
+extern int ax25_reseq_in(ax25_cb*, struct sk_buff*, int, int);
+extern void ax25_reseq_out(ax25_cb*);
+extern ax25_cb* ax25_find_listener(ax25_address*, int, struct net_device*);
+extern struct sock* ax25_make_new(struct sock*, struct net_device*);
+
+extern struct packet_type ax25_packet_type;
+
+#endif