1 #ifndef LLC_S_AC_H 1 #ifndef LLC_S_AC_H 2 #define LLC_S_AC_H 2 #define LLC_S_AC_H 3 /* 3 /* 4 * Copyright (c) 1997 by Procom Technology,Inc 4 * Copyright (c) 1997 by Procom Technology,Inc. 5 * 2001 by Arnaldo Carvalho de M 5 * 2001 by Arnaldo Carvalho de Melo <acme@conectiva.com.br> 6 * 6 * 7 * This program can be redistributed or modifi 7 * This program can be redistributed or modified under the terms of the 8 * GNU General Public License as published by 8 * GNU General Public License as published by the Free Software Foundation. 9 * This program is distributed without any war 9 * This program is distributed without any warranty or implied warranty 10 * of merchantability or fitness for a particu 10 * of merchantability or fitness for a particular purpose. 11 * 11 * 12 * See the GNU General Public License for more 12 * See the GNU General Public License for more details. 13 */ 13 */ 14 14 15 struct llc_sap; 15 struct llc_sap; 16 struct sk_buff; 16 struct sk_buff; 17 17 18 /* SAP component actions */ 18 /* SAP component actions */ 19 #define SAP_ACT_UNITDATA_IND 1 19 #define SAP_ACT_UNITDATA_IND 1 20 #define SAP_ACT_SEND_UI 2 20 #define SAP_ACT_SEND_UI 2 21 #define SAP_ACT_SEND_XID_C 3 21 #define SAP_ACT_SEND_XID_C 3 22 #define SAP_ACT_SEND_XID_R 4 22 #define SAP_ACT_SEND_XID_R 4 23 #define SAP_ACT_SEND_TEST_C 5 23 #define SAP_ACT_SEND_TEST_C 5 24 #define SAP_ACT_SEND_TEST_R 6 24 #define SAP_ACT_SEND_TEST_R 6 25 #define SAP_ACT_REPORT_STATUS 7 25 #define SAP_ACT_REPORT_STATUS 7 26 #define SAP_ACT_XID_IND 8 26 #define SAP_ACT_XID_IND 8 27 #define SAP_ACT_TEST_IND 9 27 #define SAP_ACT_TEST_IND 9 28 28 29 /* All action functions must look like this */ 29 /* All action functions must look like this */ 30 typedef int (*llc_sap_action_t)(struct llc_sap 30 typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb); 31 31 32 int llc_sap_action_unitdata_ind(struct llc_sap 32 int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb); 33 int llc_sap_action_send_ui(struct llc_sap *sap 33 int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb); 34 int llc_sap_action_send_xid_c(struct llc_sap * 34 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb); 35 int llc_sap_action_send_xid_r(struct llc_sap * 35 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb); 36 int llc_sap_action_send_test_c(struct llc_sap 36 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb); 37 int llc_sap_action_send_test_r(struct llc_sap 37 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb); 38 int llc_sap_action_report_status(struct llc_sa 38 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb); 39 int llc_sap_action_xid_ind(struct llc_sap *sap 39 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb); 40 int llc_sap_action_test_ind(struct llc_sap *sa 40 int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb); 41 #endif /* LLC_S_AC_H */ 41 #endif /* LLC_S_AC_H */ 42 42
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.