summaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_in.h
blob: 90aa12b1e2a980a225b82a155d27b52bc1125141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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