Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42 lines
1.6 KiB
C
42 lines
1.6 KiB
C
#ifndef LLC_S_AC_H
|
|
#define LLC_S_AC_H
|
|
/*
|
|
* Copyright (c) 1997 by Procom Technology,Inc.
|
|
* 2001 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
|
|
*
|
|
* This program can be redistributed or modified under the terms of the
|
|
* GNU General Public License as published by the Free Software Foundation.
|
|
* This program is distributed without any warranty or implied warranty
|
|
* of merchantability or fitness for a particular purpose.
|
|
*
|
|
* See the GNU General Public License for more details.
|
|
*/
|
|
|
|
struct llc_sap;
|
|
struct sk_buff;
|
|
|
|
/* SAP component actions */
|
|
#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
|
|
|
|
/* All action functions must look like this */
|
|
typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
|
|
|
|
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);
|
|
#endif /* LLC_S_AC_H */
|