Lines Matching refs:llc_sk
80 struct llc_sock *llc = llc_sk(sk); in llc_util_nr_inside_tx_window()
183 LLC_I_GET_NS(pdu) == llc_sk(sk)->vR ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_0()
193 LLC_I_GET_NS(pdu) == llc_sk(sk)->vR ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_1()
200 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns()
205 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns()
212 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns()
217 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns()
224 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns()
228 llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns()
231 __func__, llc_sk(sk)->state, ns, vr); in llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns()
242 LLC_I_GET_NS(pdu) == llc_sk(sk)->vR ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_0()
251 LLC_I_GET_NS(pdu) == llc_sk(sk)->vR ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_1()
260 LLC_I_GET_NS(pdu) == llc_sk(sk)->vR ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_x()
267 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns()
272 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns()
279 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns()
284 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns()
291 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_rsp_fbit_set_x_unexpd_ns()
295 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_x_unexpd_ns()
302 const u8 vr = llc_sk(sk)->vR; in llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns()
306 llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns()
309 __func__, llc_sk(sk)->state, ns, vr); in llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns()
507 const u8 vs = llc_sk(sk)->vS; in llc_conn_ev_rx_zzz_cmd_pbit_set_x_inval_nr()
514 __func__, llc_sk(sk)->state, vs, nr); in llc_conn_ev_rx_zzz_cmd_pbit_set_x_inval_nr()
525 const u8 vs = llc_sk(sk)->vS; in llc_conn_ev_rx_zzz_rsp_fbit_set_x_inval_nr()
533 __func__, llc_sk(sk)->state, vs, nr); in llc_conn_ev_rx_zzz_rsp_fbit_set_x_inval_nr()
592 return llc_sk(sk)->data_flag != 1; in llc_conn_ev_qlfy_data_flag_eq_1()
597 return llc_sk(sk)->data_flag; in llc_conn_ev_qlfy_data_flag_eq_0()
602 return llc_sk(sk)->data_flag != 2; in llc_conn_ev_qlfy_data_flag_eq_2()
607 return llc_sk(sk)->p_flag != 1; in llc_conn_ev_qlfy_p_flag_eq_1()
623 return !(skb_queue_len(&llc_sk(sk)->pdu_unack_q) + 1 == llc_sk(sk)->k); in llc_conn_ev_qlfy_last_frame_eq_1()
637 return skb_queue_len(&llc_sk(sk)->pdu_unack_q) + 1 == llc_sk(sk)->k; in llc_conn_ev_qlfy_last_frame_eq_0()
642 return llc_sk(sk)->p_flag; in llc_conn_ev_qlfy_p_flag_eq_0()
650 return llc_sk(sk)->p_flag == f_bit ? 0 : 1; in llc_conn_ev_qlfy_p_flag_eq_f()
655 return llc_sk(sk)->remote_busy_flag; in llc_conn_ev_qlfy_remote_busy_eq_0()
660 return !llc_sk(sk)->remote_busy_flag; in llc_conn_ev_qlfy_remote_busy_eq_1()
665 return !(llc_sk(sk)->retry_count < llc_sk(sk)->n2); in llc_conn_ev_qlfy_retry_cnt_lt_n2()
670 return !(llc_sk(sk)->retry_count >= llc_sk(sk)->n2); in llc_conn_ev_qlfy_retry_cnt_gte_n2()
675 return !llc_sk(sk)->s_flag; in llc_conn_ev_qlfy_s_flag_eq_1()
680 return llc_sk(sk)->s_flag; in llc_conn_ev_qlfy_s_flag_eq_0()
685 return !llc_sk(sk)->cause_flag; in llc_conn_ev_qlfy_cause_flag_eq_1()
690 return llc_sk(sk)->cause_flag; in llc_conn_ev_qlfy_cause_flag_eq_0()