⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 llc_c_st.c

📁 linux 内核源代码
💻 C
📖 第 1 页 / 共 5 页
字号:
	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_8a,	.ev_actions    = llc_normal_actions_8,};/* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0 event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_8b[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_0,	[1] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_8b = {	.ev	       = llc_conn_ev_rx_i_cmd_pbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_8b,	.ev_actions    = llc_normal_actions_8,};/* State transitions for LLC_CONN_EV_RX_I_RSP_Fbit_SET_0 event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_9a[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_1,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_9a[] = {	[0] = llc_conn_ac_inc_vr_by_1,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_data_ind,	[3] = llc_conn_ac_send_ack_if_needed,	[4] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_9a = {	.ev	       = llc_conn_ev_rx_i_rsp_fbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_9a,	.ev_actions    = llc_normal_actions_9a,};/* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_0 event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_9b[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_1,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_9b[] = {	[0] = llc_conn_ac_inc_vr_by_1,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_data_ind,	[3] = llc_conn_ac_send_ack_if_needed,	[4] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_9b = {	.ev	       = llc_conn_ev_rx_i_cmd_pbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_9b,	.ev_actions    = llc_normal_actions_9b,};/* State transitions for LLC_CONN_EV_RX_I_CMD_Pbit_SET_1 event */static llc_conn_action_t llc_normal_actions_10[] = {	[0] = llc_conn_ac_inc_vr_by_1,	[1] = llc_conn_ac_send_ack_rsp_f_set_1,	[2] = llc_conn_ac_rst_sendack_flag,	[3] = llc_conn_ac_upd_nr_received,	[4] = llc_conn_ac_data_ind,	[5] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_10 = {	.ev	       = llc_conn_ev_rx_i_cmd_pbit_set_1,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = NONE,	.ev_actions    = llc_normal_actions_10,};/* State transitions for * LLC_CONN_EV_RX_RR_CMD_Pbit_SET_0 event */static llc_conn_action_t llc_normal_actions_11a[] = {	[0] = llc_conn_ac_upd_p_flag,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_clear_remote_busy,	[3] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_11a = {	.ev	       = llc_conn_ev_rx_rr_cmd_pbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = NONE,	.ev_actions    = llc_normal_actions_11a,};/* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_0 event */static llc_conn_action_t llc_normal_actions_11b[] = {	[0] = llc_conn_ac_upd_p_flag,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_clear_remote_busy,	[3] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_11b = {	.ev	       = llc_conn_ev_rx_rr_rsp_fbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = NONE,	.ev_actions    = llc_normal_actions_11b,};/* State transitions for LLC_CONN_EV_RX_RR_RSP_Fbit_SET_1 event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_11c[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_1,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_11c[] = {	[0] = llc_conn_ac_upd_p_flag,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_inc_tx_win_size,	[3] = llc_conn_ac_clear_remote_busy,	[4] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_11c = {	.ev	       = llc_conn_ev_rx_rr_rsp_fbit_set_1,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_11c,	.ev_actions    = llc_normal_actions_11c,};/* State transitions for LLC_CONN_EV_RX_RR_CMD_Pbit_SET_1 event */static llc_conn_action_t llc_normal_actions_12[] = {	[0] = llc_conn_ac_send_ack_rsp_f_set_1,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_adjust_npta_by_rr,	[3] = llc_conn_ac_rst_sendack_flag,	[4] = llc_conn_ac_clear_remote_busy,	[5] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_12 = {	.ev	       = llc_conn_ev_rx_rr_cmd_pbit_set_1,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = NONE,	.ev_actions    = llc_normal_actions_12,};/* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_0 event */static llc_conn_action_t llc_normal_actions_13a[] = {	[0] = llc_conn_ac_upd_p_flag,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_set_remote_busy,	[3] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_13a = {	.ev	       = llc_conn_ev_rx_rnr_cmd_pbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = NONE,	.ev_actions    = llc_normal_actions_13a,};/* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_0 event */static llc_conn_action_t llc_normal_actions_13b[] = {	[0] = llc_conn_ac_upd_p_flag,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_set_remote_busy,	[3] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_13b = {	.ev	       = llc_conn_ev_rx_rnr_rsp_fbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = NONE,	.ev_actions    = llc_normal_actions_13b,};/* State transitions for LLC_CONN_EV_RX_RNR_RSP_Fbit_SET_1 event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_13c[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_1,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_13c[] = {	[0] = llc_conn_ac_upd_p_flag,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_set_remote_busy,	[3] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_13c = {	.ev	       = llc_conn_ev_rx_rnr_rsp_fbit_set_1,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_13c,	.ev_actions    = llc_normal_actions_13c,};/* State transitions for LLC_CONN_EV_RX_RNR_CMD_Pbit_SET_1 event */static llc_conn_action_t llc_normal_actions_14[] = {	[0] = llc_conn_ac_send_rr_rsp_f_set_1,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_adjust_npta_by_rnr,	[3] = llc_conn_ac_rst_sendack_flag,	[4] = llc_conn_ac_set_remote_busy,	[5] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_14 = {	.ev	       = llc_conn_ev_rx_rnr_cmd_pbit_set_1,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = NONE,	.ev_actions    = llc_normal_actions_14,};/* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_0 event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_15a[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_0,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_15a[] = {	[0] = llc_conn_ac_set_vs_nr,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_upd_p_flag,	[3] = llc_conn_ac_dec_tx_win_size,	[4] = llc_conn_ac_resend_i_xxx_x_set_0,	[5] = llc_conn_ac_clear_remote_busy,	[6] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_15a = {	.ev	       = llc_conn_ev_rx_rej_cmd_pbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_15a,	.ev_actions    = llc_normal_actions_15a,};/* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_X event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_15b[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_f,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_15b[] = {	[0] = llc_conn_ac_set_vs_nr,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_upd_p_flag,	[3] = llc_conn_ac_dec_tx_win_size,	[4] = llc_conn_ac_resend_i_xxx_x_set_0,	[5] = llc_conn_ac_clear_remote_busy,	[6] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_15b = {	.ev	       = llc_conn_ev_rx_rej_rsp_fbit_set_x,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_15b,	.ev_actions    = llc_normal_actions_15b,};/* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_0 event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_16a[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_1,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_16a[] = {	[0] = llc_conn_ac_set_vs_nr,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_dec_tx_win_size,	[3] = llc_conn_ac_resend_i_xxx_x_set_0,	[4] = llc_conn_ac_clear_remote_busy,	[5] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_16a = {	.ev	       = llc_conn_ev_rx_rej_cmd_pbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_16a,	.ev_actions    = llc_normal_actions_16a,};/* State transitions for LLC_CONN_EV_RX_REJ_RSP_Fbit_SET_0 event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_16b[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_1,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_16b[] = {	[0] = llc_conn_ac_set_vs_nr,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_dec_tx_win_size,	[3] = llc_conn_ac_resend_i_xxx_x_set_0,	[4] = llc_conn_ac_clear_remote_busy,	[5] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_16b = {	.ev	       = llc_conn_ev_rx_rej_rsp_fbit_set_0,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_16b,	.ev_actions    = llc_normal_actions_16b,};/* State transitions for LLC_CONN_EV_RX_REJ_CMD_Pbit_SET_1 event */static llc_conn_action_t llc_normal_actions_17[] = {	[0] = llc_conn_ac_set_vs_nr,	[1] = llc_conn_ac_upd_nr_received,	[2] = llc_conn_ac_dec_tx_win_size,	[3] = llc_conn_ac_resend_i_rsp_f_set_1,	[4] = llc_conn_ac_clear_remote_busy,	[5] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_17 = {	.ev	       = llc_conn_ev_rx_rej_cmd_pbit_set_1,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = NONE,	.ev_actions    = llc_normal_actions_17,};/* State transitions for LLC_CONN_EV_INIT_P_F_CYCLE event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_18[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_0,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_18[] = {	[0] = llc_conn_ac_send_rr_cmd_p_set_1,	[1] = llc_conn_ac_start_p_timer,	[2] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_18 = {	.ev	       = llc_conn_ev_init_p_f_cycle,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_18,	.ev_actions    = llc_normal_actions_18,};/* State transitions for LLC_CONN_EV_P_TMR_EXP event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_19[] = {	[0] = llc_conn_ev_qlfy_retry_cnt_lt_n2,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_19[] = {	[0] = llc_conn_ac_rst_sendack_flag,	[1] = llc_conn_ac_send_rr_cmd_p_set_1,	[2] = llc_conn_ac_rst_vs,	[3] = llc_conn_ac_start_p_timer,	[4] = llc_conn_ac_inc_retry_cnt_by_1,	[5] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_19 = {	.ev	       = llc_conn_ev_p_tmr_exp,	.next_state    = LLC_CONN_STATE_AWAIT,	.ev_qualifiers = llc_normal_ev_qfyrs_19,	.ev_actions    = llc_normal_actions_19,};/* State transitions for LLC_CONN_EV_ACK_TMR_EXP event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_20a[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_0,	[1] = llc_conn_ev_qlfy_retry_cnt_lt_n2,	[2] = NULL,};static llc_conn_action_t llc_normal_actions_20a[] = {	[0] = llc_conn_ac_rst_sendack_flag,	[1] = llc_conn_ac_send_rr_cmd_p_set_1,	[2] = llc_conn_ac_rst_vs,	[3] = llc_conn_ac_start_p_timer,	[4] = llc_conn_ac_inc_retry_cnt_by_1,	[5] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_20a = {	.ev	       = llc_conn_ev_ack_tmr_exp,	.next_state    = LLC_CONN_STATE_AWAIT,	.ev_qualifiers = llc_normal_ev_qfyrs_20a,	.ev_actions    = llc_normal_actions_20a,};/* State transitions for LLC_CONN_EV_BUSY_TMR_EXP event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_20b[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_0,	[1] = llc_conn_ev_qlfy_retry_cnt_lt_n2,	[2] = NULL,};static llc_conn_action_t llc_normal_actions_20b[] = {	[0] = llc_conn_ac_rst_sendack_flag,	[1] = llc_conn_ac_send_rr_cmd_p_set_1,	[2] = llc_conn_ac_rst_vs,	[3] = llc_conn_ac_start_p_timer,	[4] = llc_conn_ac_inc_retry_cnt_by_1,	[5] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_20b = {	.ev	       = llc_conn_ev_busy_tmr_exp,	.next_state    = LLC_CONN_STATE_AWAIT,	.ev_qualifiers = llc_normal_ev_qfyrs_20b,	.ev_actions    = llc_normal_actions_20b,};/* State transitions for LLC_CONN_EV_TX_BUFF_FULL event */static llc_conn_ev_qfyr_t llc_normal_ev_qfyrs_21[] = {	[0] = llc_conn_ev_qlfy_p_flag_eq_0,	[1] = NULL,};static llc_conn_action_t llc_normal_actions_21[] = {	[0] = llc_conn_ac_send_rr_cmd_p_set_1,	[1] = llc_conn_ac_start_p_timer,	[2] = NULL,};static struct llc_conn_state_trans llc_normal_state_trans_21 = {	.ev	       = llc_conn_ev_tx_buffer_full,	.next_state    = LLC_CONN_STATE_NORMAL,	.ev_qualifiers = llc_normal_ev_qfyrs_21,	.ev_actions    = llc_normal_actions_21,};/* * Array of pointers;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -