]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /********************************************************************* |
2 | * | |
3 | * Filename: irlan_provider.h | |
4 | * Version: 0.1 | |
5 | * Description: IrDA LAN access layer | |
6 | * Status: Experimental. | |
7 | * Author: Dag Brattli <dagb@cs.uit.no> | |
8 | * Created at: Sun Aug 31 20:14:37 1997 | |
9 | * Modified at: Sun May 9 12:26:11 1999 | |
10 | * Modified by: Dag Brattli <dagb@cs.uit.no> | |
11 | * | |
12 | * Copyright (c) 1998-1999 Dag Brattli <dagb@cs.uit.no>, All Rights Reserved. | |
13 | * | |
14 | * This program is free software; you can redistribute it and/or | |
15 | * modify it under the terms of the GNU General Public License as | |
16 | * published by the Free Software Foundation; either version 2 of | |
17 | * the License, or (at your option) any later version. | |
18 | * | |
121e70b6 | 19 | * Neither Dag Brattli nor University of Tromsø admit liability nor |
1da177e4 LT |
20 | * provide warranty for any of this software. This material is |
21 | * provided "AS-IS" and at no charge. | |
22 | * | |
23 | ********************************************************************/ | |
24 | ||
25 | #ifndef IRLAN_SERVER_H | |
26 | #define IRLAN_SERVER_H | |
27 | ||
28 | #include <linux/kernel.h> | |
29 | #include <linux/types.h> | |
30 | #include <linux/skbuff.h> | |
31 | #include <linux/netdevice.h> | |
32 | ||
33 | #include <net/irda/irlan_common.h> | |
34 | ||
35 | void irlan_provider_ctrl_disconnect_indication(void *instance, void *sap, | |
36 | LM_REASON reason, | |
37 | struct sk_buff *skb); | |
38 | ||
39 | ||
40 | void irlan_provider_connect_response(struct irlan_cb *, struct tsap_cb *); | |
41 | ||
42 | int irlan_parse_open_data_cmd(struct irlan_cb *self, struct sk_buff *skb); | |
43 | int irlan_provider_parse_command(struct irlan_cb *self, int cmd, | |
44 | struct sk_buff *skb); | |
45 | ||
46 | void irlan_provider_send_reply(struct irlan_cb *self, int command, | |
47 | int ret_code); | |
48 | int irlan_provider_open_ctrl_tsap(struct irlan_cb *self); | |
49 | ||
50 | #endif | |
51 | ||
52 |