Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
llc_s_ac.c File Reference
#include <linux/netdevice.h>
#include <net/llc.h>
#include <net/llc_pdu.h>
#include <net/llc_s_ac.h>
#include <net/llc_s_ev.h>
#include <net/llc_sap.h>

Go to the source code of this file.

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)
 

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.