1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26#ifndef IRMLP_FRAME_H
27#define IRMLP_FRAME_H
28
29#include <linux/skbuff.h>
30
31#include <net/irda/discovery.h>
32
33
34#define CONNECT_CMD 0x01
35#define CONNECT_CNF 0x81
36#define DISCONNECT 0x02
37#define ACCESSMODE_CMD 0x03
38#define ACCESSMODE_CNF 0x83
39
40#define CONTROL_BIT 0x80
41
42void irlmp_send_data_pdu(struct lap_cb *self, __u8 dlsap, __u8 slsap,
43 int expedited, struct sk_buff *skb);
44void irlmp_send_lcf_pdu(struct lap_cb *self, __u8 dlsap, __u8 slsap,
45 __u8 opcode, struct sk_buff *skb);
46void irlmp_link_data_indication(struct lap_cb *, struct sk_buff *,
47 int unreliable);
48#ifdef CONFIG_IRDA_ULTRA
49void irlmp_link_unitdata_indication(struct lap_cb *, struct sk_buff *);
50#endif
51
52void irlmp_link_connect_indication(struct lap_cb *, __u32 saddr, __u32 daddr,
53 struct qos_info *qos, struct sk_buff *skb);
54void irlmp_link_connect_request(__u32 daddr);
55void irlmp_link_connect_confirm(struct lap_cb *self, struct qos_info *qos,
56 struct sk_buff *skb);
57void irlmp_link_disconnect_indication(struct lap_cb *, struct irlap_cb *,
58 LAP_REASON reason, struct sk_buff *);
59void irlmp_link_discovery_confirm(struct lap_cb *self, hashbin_t *log);
60void irlmp_link_discovery_indication(struct lap_cb *, discovery_t *discovery);
61
62#endif
63