Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
llc_s_ac.h File Reference

Go to the source code of this file.

Macros

#define SAP_ACT_UNITDATA_IND   1
 
#define SAP_ACT_SEND_UI   2
 
#define SAP_ACT_SEND_XID_C   3
 
#define SAP_ACT_SEND_XID_R   4
 
#define SAP_ACT_SEND_TEST_C   5
 
#define SAP_ACT_SEND_TEST_R   6
 
#define SAP_ACT_REPORT_STATUS   7
 
#define SAP_ACT_XID_IND   8
 
#define SAP_ACT_TEST_IND   9
 

Typedefs

typedef int(* llc_sap_action_t )(struct llc_sap *sap, struct sk_buff *skb)
 

Functions

int llc_sap_action_unitdata_ind (struct llc_sap *sap, struct sk_buff *skb)
 
int llc_sap_action_send_ui (struct llc_sap *sap, struct sk_buff *skb)
 
int llc_sap_action_send_xid_c (struct llc_sap *sap, struct sk_buff *skb)
 
int llc_sap_action_send_xid_r (struct llc_sap *sap, struct sk_buff *skb)
 
int llc_sap_action_send_test_c (struct llc_sap *sap, struct sk_buff *skb)
 
int llc_sap_action_send_test_r (struct llc_sap *sap, struct sk_buff *skb)
 
int llc_sap_action_report_status (struct llc_sap *sap, struct sk_buff *skb)
 
int llc_sap_action_xid_ind (struct llc_sap *sap, struct sk_buff *skb)
 
int llc_sap_action_test_ind (struct llc_sap *sap, struct sk_buff *skb)
 

Macro Definition Documentation

#define SAP_ACT_REPORT_STATUS   7

Definition at line 21 of file llc_s_ac.h.

#define SAP_ACT_SEND_TEST_C   5

Definition at line 19 of file llc_s_ac.h.

#define SAP_ACT_SEND_TEST_R   6

Definition at line 20 of file llc_s_ac.h.

#define SAP_ACT_SEND_UI   2

Definition at line 16 of file llc_s_ac.h.

#define SAP_ACT_SEND_XID_C   3

Definition at line 17 of file llc_s_ac.h.

#define SAP_ACT_SEND_XID_R   4

Definition at line 18 of file llc_s_ac.h.

#define SAP_ACT_TEST_IND   9

Definition at line 23 of file llc_s_ac.h.

#define SAP_ACT_UNITDATA_IND   1

Definition at line 15 of file llc_s_ac.h.

#define SAP_ACT_XID_IND   8

Definition at line 22 of file llc_s_ac.h.

Typedef Documentation

typedef int(* llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb)

Definition at line 26 of file llc_s_ac.h.

Function Documentation

int llc_sap_action_report_status ( struct llc_sap sap,
struct sk_buff skb 
)

llc_sap_action_report_status - report data link status to layer mgmt : SAP : the event to send

Report data link status to layer management. Verify our event is the kind we expect.

Definition at line 177 of file llc_s_ac.c.

int llc_sap_action_send_test_c ( struct llc_sap sap,
struct sk_buff skb 
)

llc_sap_action_send_test_c - send TEST PDU to MAC in resp to TEST REQ : SAP : the event to send

Send a TEST command PDU to the MAC layer in response to a TEST REQUEST primitive from the network layer. Verify event is a primitive type event; verify the primitive is a TEST REQUEST.

Definition at line 129 of file llc_s_ac.c.

int llc_sap_action_send_test_r ( struct llc_sap sap,
struct sk_buff skb 
)

Definition at line 143 of file llc_s_ac.c.

int llc_sap_action_send_ui ( struct llc_sap sap,
struct sk_buff skb 
)

llc_sap_action_send_ui - sends UI PDU resp to UNITDATA REQ to MAC layer : SAP : the event to send

Sends a UI PDU to the MAC layer in response to a UNITDATA REQUEST primitive from the network layer. Verifies event is a primitive type of event. Verify the primitive is a UNITDATA REQUEST.

Definition at line 52 of file llc_s_ac.c.

int llc_sap_action_send_xid_c ( struct llc_sap sap,
struct sk_buff skb 
)

llc_sap_action_send_xid_c - send XID PDU as response to XID REQ : SAP : the event to send

Send a XID command PDU to MAC layer in response to a XID REQUEST primitive from the network layer. Verify event is a primitive type event. Verify the primitive is a XID REQUEST.

Definition at line 75 of file llc_s_ac.c.

int llc_sap_action_send_xid_r ( struct llc_sap sap,
struct sk_buff skb 
)

llc_sap_action_send_xid_r - send XID PDU resp to MAC for received XID : SAP : the event to send

Send XID response PDU to MAC in response to an earlier received XID command PDU. Verify event is a PDU type event

Definition at line 97 of file llc_s_ac.c.

int llc_sap_action_test_ind ( struct llc_sap sap,
struct sk_buff skb 
)

llc_sap_action_test_ind - send TEST PDU to net layer via TEST IND : SAP : the event to send

Send a TEST response PDU to the network layer via a TEST INDICATION primitive. Verify our event is a PDU type event.

Definition at line 204 of file llc_s_ac.c.

int llc_sap_action_unitdata_ind ( struct llc_sap sap,
struct sk_buff skb 
)

llc_sap_action_unit_data_ind - forward UI PDU to network layer : SAP : the event to forward

Received a UI PDU from MAC layer; forward to network layer as a UNITDATA INDICATION; verify our event is the kind we expect

Definition at line 37 of file llc_s_ac.c.

int llc_sap_action_xid_ind ( struct llc_sap sap,
struct sk_buff skb 
)

llc_sap_action_xid_ind - send XID PDU resp to net layer via XID IND : SAP : the event to send

Send a XID response PDU to the network layer via a XID INDICATION primitive.

Definition at line 190 of file llc_s_ac.c.