Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

irlan_provider.h

Go to the documentation of this file.
00001 /*********************************************************************
00002  *                
00003  * Filename:      irlan_provider.h
00004  * Version:       0.1
00005  * Description:   IrDA LAN access layer
00006  * Status:        Experimental.
00007  * Author:        Dag Brattli <dagb@cs.uit.no>
00008  * Created at:    Sun Aug 31 20:14:37 1997
00009  * Modified at:   Sun May  9 12:26:11 1999
00010  * Modified by:   Dag Brattli <dagb@cs.uit.no>
00011  * 
00012  *     Copyright (c) 1998-1999 Dag Brattli <dagb@cs.uit.no>, All Rights Reserved.
00013  *     
00014  *     This program is free software; you can redistribute it and/or 
00015  *     modify it under the terms of the GNU General Public License as 
00016  *     published by the Free Software Foundation; either version 2 of 
00017  *     the License, or (at your option) any later version.
00018  *
00019  *     Neither Dag Brattli nor University of Tromsų admit liability nor
00020  *     provide warranty for any of this software. This material is 
00021  *     provided "AS-IS" and at no charge.
00022  *
00023  ********************************************************************/
00024 
00025 #ifndef IRLAN_SERVER_H
00026 #define IRLAN_SERVER_H
00027 
00028 #include <linux/kernel.h>
00029 #include <linux/types.h>
00030 #include <linux/skbuff.h>
00031 #include <linux/netdevice.h>
00032 
00033 #include <net/irda/irlan_common.h>
00034 
00035 void irlan_provider_ctrl_disconnect_indication(void *instance, void *sap, 
00036                                                LM_REASON reason, 
00037                                                struct sk_buff *skb);
00038 
00039 
00040 void irlan_provider_connect_response(struct irlan_cb *, struct tsap_cb *);
00041 
00042 int irlan_parse_open_data_cmd(struct irlan_cb *self, struct sk_buff *skb);
00043 int irlan_provider_parse_command(struct irlan_cb *self, int cmd,
00044                                  struct sk_buff *skb);
00045 
00046 void irlan_provider_send_reply(struct irlan_cb *self, int command, 
00047                                int ret_code);
00048 int irlan_provider_open_ctrl_tsap(struct irlan_cb *self);
00049 
00050 #endif
00051 
00052