| 1 |
|
| 2 | #ifndef LLC_S_ST_H
|
| 3 | #define LLC_S_ST_H
|
| 4 | |
| 5 | * Copyright (c) 1997 by Procom Technology,Inc.
|
| 6 | * 2001 by Arnaldo Carvalho de Melo <[email protected]>
|
| 7 |
|
| 8 |
|
| 9 | #include <linux/types.h>
|
| 10 | #include <net/llc_s_ac.h>
|
| 11 | #include <net/llc_s_ev.h>
|
| 12 |
|
| 13 | struct llc_sap_state_trans;
|
| 14 |
|
| 15 | #define LLC_NR_SAP_STATES 2
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 | struct llc_sap_state_trans {
|
| 20 | llc_sap_ev_t ev;
|
| 21 | u8 next_state;
|
| 22 | const llc_sap_action_t *ev_actions;
|
| 23 | };
|
| 24 |
|
| 25 | struct llc_sap_state {
|
| 26 | u8 curr_state;
|
| 27 | const struct llc_sap_state_trans **transitions;
|
| 28 | };
|
| 29 |
|
| 30 |
|
| 31 | extern struct llc_sap_state llc_sap_state_table[LLC_NR_SAP_STATES];
|
| 32 | #endif
|