~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/net/irda/irlan_event.h

Version: ~ [ 2.2.5 ] ~ [ 2.4.1 ] ~ [ 2.4.9 ] ~ [ 2.6.17.10 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*********************************************************************
  2  *                
  3  * Filename:      irlan_event.h
  4  * Version:       
  5  * Description:   LAN access
  6  * Status:        Experimental.
  7  * Author:        Dag Brattli <dagb@cs.uit.no>
  8  * Created at:    Sun Aug 31 20:14:37 1997
  9  * Modified at:   Tue Feb  2 09:45:17 1999
 10  * Modified by:   Dag Brattli <dagb@cs.uit.no>
 11  * 
 12  *     Copyright (c) 1997 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  *
 19  *     Neither Dag Brattli nor University of Tromsų admit liability nor
 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_EVENT_H
 26 #define IRLAN_EVENT_H
 27 
 28 #include <linux/kernel.h>
 29 #include <linux/skbuff.h>
 30 
 31 #include <net/irda/irlan_common.h>
 32 
 33 typedef enum {
 34         IRLAN_IDLE,
 35         IRLAN_QUERY,
 36         IRLAN_CONN, 
 37         IRLAN_INFO,
 38         IRLAN_MEDIA,
 39         IRLAN_OPEN,
 40         IRLAN_WAIT,
 41         IRLAN_ARB, 
 42         IRLAN_DATA,
 43         IRLAN_CLOSE,
 44         IRLAN_SYNC
 45 } IRLAN_STATE;
 46 
 47 typedef enum {
 48         IRLAN_DISCOVERY_INDICATION,
 49         IRLAN_IAS_PROVIDER_AVAIL,
 50         IRLAN_IAS_PROVIDER_NOT_AVAIL,
 51         IRLAN_LAP_DISCONNECT,
 52         IRLAN_LMP_DISCONNECT,
 53         IRLAN_CONNECT_COMPLETE,
 54         IRLAN_DATA_INDICATION,
 55         IRLAN_DATA_CONNECT_INDICATION,
 56         IRLAN_RETRY_CONNECT,
 57 
 58         IRLAN_CONNECT_INDICATION,
 59         IRLAN_GET_INFO_CMD,
 60         IRLAN_GET_MEDIA_CMD,
 61         IRLAN_OPEN_DATA_CMD,
 62         IRLAN_FILTER_CONFIG_CMD,
 63 
 64         IRLAN_CHECK_CON_ARB,
 65         IRLAN_PROVIDER_SIGNAL,
 66 
 67         IRLAN_WATCHDOG_TIMEOUT,
 68 } IRLAN_EVENT;
 69 
 70 extern char *irlan_state[];
 71 
 72 void irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event, 
 73                            struct sk_buff *skb);
 74 
 75 void irlan_do_provider_event(struct irlan_cb *self, IRLAN_EVENT event, 
 76                              struct sk_buff *skb);
 77 
 78 void irlan_next_client_state(struct irlan_cb *self, IRLAN_STATE state);
 79 void irlan_next_provider_state(struct irlan_cb *self, IRLAN_STATE state);
 80 
 81 #endif
 82 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.