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

ircomm_lmp.h

Go to the documentation of this file.
00001 /*********************************************************************
00002  *                
00003  * Filename:      ircomm_lmp.h
00004  * Version:       
00005  * Description:   
00006  * Status:        Experimental.
00007  * Author:        Dag Brattli <dagb@cs.uit.no>
00008  * Created at:    Wed Jun  9 10:06:07 1999
00009  * Modified at:   Fri Aug 13 07:32:32 1999
00010  * Modified by:   Dag Brattli <dagb@cs.uit.no>
00011  * 
00012  *     Copyright (c) 1999 Dag Brattli, 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  *     This program is distributed in the hope that it will be useful,
00020  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
00021  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00022  *     GNU General Public License for more details.
00023  * 
00024  *     You should have received a copy of the GNU General Public License 
00025  *     along with this program; if not, write to the Free Software 
00026  *     Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
00027  *     MA 02111-1307 USA
00028  *     
00029  ********************************************************************/
00030 
00031 #ifndef IRCOMM_LMP_H
00032 #define IRCOMM_LMP_H
00033 
00034 #include <net/irda/ircomm_core.h>
00035 #include <net/irda/ircomm_event.h>
00036 
00037 int ircomm_open_lsap(struct ircomm_cb *self);
00038 int  ircomm_lmp_connect_request(struct ircomm_cb *self, 
00039                                 struct sk_buff *userdata, 
00040                                 struct ircomm_info *info);
00041 int  ircomm_lmp_connect_response(struct ircomm_cb *self, struct sk_buff *skb);
00042 int  ircomm_lmp_disconnect_request(struct ircomm_cb *self, 
00043                                    struct sk_buff *userdata, 
00044                                    struct ircomm_info *info);
00045 int  ircomm_lmp_data_request(struct ircomm_cb *self, struct sk_buff *skb, 
00046                              int clen);
00047 int  ircomm_lmp_control_request(struct ircomm_cb *self, 
00048                                struct sk_buff *userdata);
00049 int  ircomm_lmp_data_indication(void *instance, void *sap,
00050                                 struct sk_buff *skb);
00051 void ircomm_lmp_connect_confirm(void *instance, void *sap,
00052                                 struct qos_info *qos, 
00053                                 __u32 max_sdu_size, 
00054                                 __u8 max_header_size,
00055                                 struct sk_buff *skb);
00056 void ircomm_lmp_connect_indication(void *instance, void *sap,
00057                                    struct qos_info *qos,
00058                                    __u32 max_sdu_size,
00059                                    __u8 max_header_size,
00060                                    struct sk_buff *skb);
00061 void ircomm_lmp_disconnect_indication(void *instance, void *sap, 
00062                                       LM_REASON reason,
00063                                       struct sk_buff *skb);
00064 
00065 #endif