00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
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