^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) #ifndef LLC_S_AC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #define LLC_S_AC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * Copyright (c) 1997 by Procom Technology,Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * 2001 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * This program can be redistributed or modified under the terms of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * GNU General Public License as published by the Free Software Foundation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * This program is distributed without any warranty or implied warranty
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * of merchantability or fitness for a particular purpose.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) * See the GNU General Public License for more details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) /* SAP component actions */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define SAP_ACT_UNITDATA_IND 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define SAP_ACT_SEND_UI 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define SAP_ACT_SEND_XID_C 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define SAP_ACT_SEND_XID_R 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define SAP_ACT_SEND_TEST_C 5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define SAP_ACT_SEND_TEST_R 6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define SAP_ACT_REPORT_STATUS 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define SAP_ACT_XID_IND 8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define SAP_ACT_TEST_IND 9
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) /* All action functions must look like this */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #endif /* LLC_S_AC_H */