0001 #ifndef LLC_S_AC_H
0002 #define LLC_S_AC_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 struct llc_sap;
0016 struct sk_buff;
0017
0018
0019 #define SAP_ACT_UNITDATA_IND 1
0020 #define SAP_ACT_SEND_UI 2
0021 #define SAP_ACT_SEND_XID_C 3
0022 #define SAP_ACT_SEND_XID_R 4
0023 #define SAP_ACT_SEND_TEST_C 5
0024 #define SAP_ACT_SEND_TEST_R 6
0025 #define SAP_ACT_REPORT_STATUS 7
0026 #define SAP_ACT_XID_IND 8
0027 #define SAP_ACT_TEST_IND 9
0028
0029
0030 typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
0031
0032 int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb);
0033 int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
0034 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
0035 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
0036 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
0037 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
0038 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb);
0039 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
0040 int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb);
0041 #endif