Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
irlap_frame.h File Reference
#include <linux/skbuff.h>
#include <net/irda/irda.h>

Go to the source code of this file.

Data Structures

struct  disc_frame
 
struct  xid_frame
 
struct  test_frame
 
struct  ua_frame
 
struct  dm_frame
 
struct  rd_frame
 
struct  rr_frame
 
struct  i_frame
 
struct  snrm_frame
 

Macros

#define INVALID   0xff
 
#define SNRM_CMD   0x83 /* Set Normal Response Mode */
 
#define DISC_CMD   0x43 /* Disconnect */
 
#define XID_CMD   0x2f /* Exchange Station Identification */
 
#define TEST_CMD   0xe3 /* Test */
 
#define RNRM_RSP   0x83 /* Request Normal Response Mode */
 
#define UA_RSP   0x63 /* Unnumbered Acknowledgement */
 
#define FRMR_RSP   0x87 /* Frame Reject */
 
#define DM_RSP   0x0f /* Disconnect Mode */
 
#define RD_RSP   0x43 /* Request Disconnection */
 
#define XID_RSP   0xaf /* Exchange Station Identification */
 
#define TEST_RSP   0xe3 /* Test frame */
 
#define RR   0x01 /* Receive Ready */
 
#define REJ   0x09 /* Reject */
 
#define RNR   0x05 /* Receive Not Ready */
 
#define SREJ   0x0d /* Selective Reject */
 
#define I_FRAME   0x00 /* Information Format */
 
#define UI_FRAME   0x03 /* Unnumbered Information */
 
#define CMD_FRAME   0x01
 
#define RSP_FRAME   0x00
 
#define PF_BIT   0x10 /* Poll/final bit */
 
#define IRLAP_NEGOCIATION_PARAMS_LEN   25
 
#define IRLAP_DISCOVERY_INFO_LEN   32
 

Functions

void irlap_queue_xmit (struct irlap_cb *self, struct sk_buff *skb)
 
void irlap_send_discovery_xid_frame (struct irlap_cb *, int S, __u8 s, __u8 command, struct discovery_t *discovery)
 
void irlap_send_snrm_frame (struct irlap_cb *, struct qos_info *)
 
void irlap_send_test_frame (struct irlap_cb *self, __u8 caddr, __u32 daddr, struct sk_buff *cmd)
 
void irlap_send_ua_response_frame (struct irlap_cb *, struct qos_info *)
 
void irlap_send_dm_frame (struct irlap_cb *self)
 
void irlap_send_rd_frame (struct irlap_cb *self)
 
void irlap_send_disc_frame (struct irlap_cb *self)
 
void irlap_send_rr_frame (struct irlap_cb *self, int command)
 
void irlap_send_data_primary (struct irlap_cb *, struct sk_buff *)
 
void irlap_send_data_primary_poll (struct irlap_cb *, struct sk_buff *)
 
void irlap_send_data_secondary (struct irlap_cb *, struct sk_buff *)
 
void irlap_send_data_secondary_final (struct irlap_cb *, struct sk_buff *)
 
void irlap_resend_rejected_frames (struct irlap_cb *, int command)
 
void irlap_resend_rejected_frame (struct irlap_cb *self, int command)
 
void irlap_send_ui_frame (struct irlap_cb *self, struct sk_buff *skb, __u8 caddr, int command)
 
int irlap_insert_qos_negotiation_params (struct irlap_cb *self, struct sk_buff *skb)
 

Variables

struct disc_frame __packed
 

Macro Definition Documentation

#define CMD_FRAME   0x01

Definition at line 72 of file irlap_frame.h.

#define DISC_CMD   0x43 /* Disconnect */

Definition at line 49 of file irlap_frame.h.

#define DM_RSP   0x0f /* Disconnect Mode */

Definition at line 57 of file irlap_frame.h.

#define FRMR_RSP   0x87 /* Frame Reject */

Definition at line 56 of file irlap_frame.h.

#define I_FRAME   0x00 /* Information Format */

Definition at line 69 of file irlap_frame.h.

#define INVALID   0xff

Definition at line 45 of file irlap_frame.h.

#define IRLAP_DISCOVERY_INFO_LEN   32

Definition at line 83 of file irlap_frame.h.

#define IRLAP_NEGOCIATION_PARAMS_LEN   25

Definition at line 82 of file irlap_frame.h.

#define PF_BIT   0x10 /* Poll/final bit */

Definition at line 75 of file irlap_frame.h.

#define RD_RSP   0x43 /* Request Disconnection */

Definition at line 58 of file irlap_frame.h.

#define REJ   0x09 /* Reject */

Definition at line 64 of file irlap_frame.h.

#define RNR   0x05 /* Receive Not Ready */

Definition at line 65 of file irlap_frame.h.

#define RNRM_RSP   0x83 /* Request Normal Response Mode */

Definition at line 54 of file irlap_frame.h.

#define RR   0x01 /* Receive Ready */

Definition at line 63 of file irlap_frame.h.

#define RSP_FRAME   0x00

Definition at line 73 of file irlap_frame.h.

#define SNRM_CMD   0x83 /* Set Normal Response Mode */

Definition at line 48 of file irlap_frame.h.

#define SREJ   0x0d /* Selective Reject */

Definition at line 66 of file irlap_frame.h.

#define TEST_CMD   0xe3 /* Test */

Definition at line 51 of file irlap_frame.h.

#define TEST_RSP   0xe3 /* Test frame */

Definition at line 60 of file irlap_frame.h.

#define UA_RSP   0x63 /* Unnumbered Acknowledgement */

Definition at line 55 of file irlap_frame.h.

#define UI_FRAME   0x03 /* Unnumbered Information */

Definition at line 70 of file irlap_frame.h.

#define XID_CMD   0x2f /* Exchange Station Identification */

Definition at line 50 of file irlap_frame.h.

#define XID_RSP   0xaf /* Exchange Station Identification */

Definition at line 59 of file irlap_frame.h.

Function Documentation

int irlap_insert_qos_negotiation_params ( struct irlap_cb self,
struct sk_buff skb 
)

Definition at line 468 of file qos.c.

void irlap_queue_xmit ( struct irlap_cb self,
struct sk_buff skb 
)

Definition at line 93 of file irlap_frame.c.

void irlap_resend_rejected_frame ( struct irlap_cb self,
int  command 
)

Definition at line 1044 of file irlap_frame.c.

void irlap_resend_rejected_frames ( struct irlap_cb ,
int  command 
)

Definition at line 982 of file irlap_frame.c.

void irlap_send_data_primary ( struct irlap_cb ,
struct sk_buff  
)

Definition at line 728 of file irlap_frame.c.

void irlap_send_data_primary_poll ( struct irlap_cb ,
struct sk_buff  
)

Definition at line 769 of file irlap_frame.c.

void irlap_send_data_secondary ( struct irlap_cb ,
struct sk_buff  
)

Definition at line 939 of file irlap_frame.c.

void irlap_send_data_secondary_final ( struct irlap_cb ,
struct sk_buff  
)

Definition at line 877 of file irlap_frame.c.

void irlap_send_disc_frame ( struct irlap_cb self)

Definition at line 289 of file irlap_frame.c.

void irlap_send_discovery_xid_frame ( struct irlap_cb ,
int  S,
__u8  s,
__u8  command,
struct discovery_t discovery 
)

Definition at line 317 of file irlap_frame.c.

void irlap_send_dm_frame ( struct irlap_cb self)

Definition at line 259 of file irlap_frame.c.

void irlap_send_rd_frame ( struct irlap_cb self)

Definition at line 613 of file irlap_frame.c.

void irlap_send_rr_frame ( struct irlap_cb self,
int  command 
)

Definition at line 588 of file irlap_frame.c.

void irlap_send_snrm_frame ( struct irlap_cb ,
struct qos_info  
)

Definition at line 120 of file irlap_frame.c.

void irlap_send_test_frame ( struct irlap_cb self,
__u8  caddr,
__u32  daddr,
struct sk_buff cmd 
)

Definition at line 1214 of file irlap_frame.c.

void irlap_send_ua_response_frame ( struct irlap_cb ,
struct qos_info  
)

Definition at line 213 of file irlap_frame.c.

void irlap_send_ui_frame ( struct irlap_cb self,
struct sk_buff skb,
__u8  caddr,
int  command 
)

Definition at line 1083 of file irlap_frame.c.

Variable Documentation