~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/net/llc_s_ev.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/net/llc_s_ev.h (Architecture mips) and /include/net/llc_s_ev.h (Architecture sparc)


  1 #ifndef LLC_S_EV_H                                  1 #ifndef LLC_S_EV_H
  2 #define LLC_S_EV_H                                  2 #define LLC_S_EV_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 #include <linux/skbuff.h>                          15 #include <linux/skbuff.h>
 16 #include <net/llc.h>                               16 #include <net/llc.h>
 17                                                    17 
 18 /* Defines SAP component events */                 18 /* Defines SAP component events */
 19 /* Types of events (possible values in 'ev->ty     19 /* Types of events (possible values in 'ev->type') */
 20 #define LLC_SAP_EV_TYPE_SIMPLE          1          20 #define LLC_SAP_EV_TYPE_SIMPLE          1
 21 #define LLC_SAP_EV_TYPE_CONDITION       2          21 #define LLC_SAP_EV_TYPE_CONDITION       2
 22 #define LLC_SAP_EV_TYPE_PRIM            3          22 #define LLC_SAP_EV_TYPE_PRIM            3
 23 #define LLC_SAP_EV_TYPE_PDU             4   /*     23 #define LLC_SAP_EV_TYPE_PDU             4   /* command/response PDU */
 24 #define LLC_SAP_EV_TYPE_ACK_TMR         5          24 #define LLC_SAP_EV_TYPE_ACK_TMR         5
 25 #define LLC_SAP_EV_TYPE_RPT_STATUS      6          25 #define LLC_SAP_EV_TYPE_RPT_STATUS      6
 26                                                    26 
 27 #define LLC_SAP_EV_ACTIVATION_REQ        1         27 #define LLC_SAP_EV_ACTIVATION_REQ        1
 28 #define LLC_SAP_EV_RX_UI                 2         28 #define LLC_SAP_EV_RX_UI                 2
 29 #define LLC_SAP_EV_UNITDATA_REQ          3         29 #define LLC_SAP_EV_UNITDATA_REQ          3
 30 #define LLC_SAP_EV_XID_REQ               4         30 #define LLC_SAP_EV_XID_REQ               4
 31 #define LLC_SAP_EV_RX_XID_C              5         31 #define LLC_SAP_EV_RX_XID_C              5
 32 #define LLC_SAP_EV_RX_XID_R              6         32 #define LLC_SAP_EV_RX_XID_R              6
 33 #define LLC_SAP_EV_TEST_REQ              7         33 #define LLC_SAP_EV_TEST_REQ              7
 34 #define LLC_SAP_EV_RX_TEST_C             8         34 #define LLC_SAP_EV_RX_TEST_C             8
 35 #define LLC_SAP_EV_RX_TEST_R             9         35 #define LLC_SAP_EV_RX_TEST_R             9
 36 #define LLC_SAP_EV_DEACTIVATION_REQ     10         36 #define LLC_SAP_EV_DEACTIVATION_REQ     10
 37                                                    37 
 38 struct llc_sap_state_ev {                          38 struct llc_sap_state_ev {
 39         u8              prim;                      39         u8              prim;
 40         u8              prim_type;                 40         u8              prim_type;
 41         u8              type;                      41         u8              type;
 42         u8              reason;                    42         u8              reason;
 43         u8              ind_cfm_flag;              43         u8              ind_cfm_flag;
 44         struct llc_addr saddr;                     44         struct llc_addr saddr;
 45         struct llc_addr daddr;                     45         struct llc_addr daddr;
 46 };                                                 46 };
 47                                                    47 
 48 static __inline__ struct llc_sap_state_ev *llc     48 static __inline__ struct llc_sap_state_ev *llc_sap_ev(struct sk_buff *skb)
 49 {                                                  49 {
 50         return (struct llc_sap_state_ev *)skb-     50         return (struct llc_sap_state_ev *)skb->cb;
 51 }                                                  51 }
 52                                                    52 
 53 struct llc_sap;                                    53 struct llc_sap;
 54                                                    54 
 55 typedef int (*llc_sap_ev_t)(struct llc_sap *sa     55 typedef int (*llc_sap_ev_t)(struct llc_sap *sap, struct sk_buff *skb);
 56                                                    56 
 57 int llc_sap_ev_activation_req(struct llc_sap *     57 int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb);
 58 int llc_sap_ev_rx_ui(struct llc_sap *sap, stru     58 int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb);
 59 int llc_sap_ev_unitdata_req(struct llc_sap *sa     59 int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb);
 60 int llc_sap_ev_xid_req(struct llc_sap *sap, st     60 int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb);
 61 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, s     61 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb);
 62 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, s     62 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb);
 63 int llc_sap_ev_test_req(struct llc_sap *sap, s     63 int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb);
 64 int llc_sap_ev_rx_test_c(struct llc_sap *sap,      64 int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb);
 65 int llc_sap_ev_rx_test_r(struct llc_sap *sap,      65 int llc_sap_ev_rx_test_r(struct llc_sap *sap, struct sk_buff *skb);
 66 int llc_sap_ev_deactivation_req(struct llc_sap     66 int llc_sap_ev_deactivation_req(struct llc_sap *sap, struct sk_buff *skb);
 67 #endif /* LLC_S_EV_H */                            67 #endif /* LLC_S_EV_H */
 68                                                    68 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php