Lines Matching full:pdu
51 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_clear_remote_busy() local
55 nr = LLC_I_GET_NR(pdu); in llc_conn_ac_clear_remote_busy()
98 struct llc_pdu_un *pdu = llc_pdu_un_hdr(skb); in llc_conn_ac_disc_ind() local
100 if (LLC_PDU_IS_RSP(pdu) && in llc_conn_ac_disc_ind()
101 LLC_PDU_TYPE_IS_U(pdu) && in llc_conn_ac_disc_ind()
102 LLC_U_PDU_RSP(pdu) == LLC_2_PDU_RSP_DM) in llc_conn_ac_disc_ind()
104 else if (LLC_PDU_IS_CMD(pdu) && in llc_conn_ac_disc_ind()
105 LLC_PDU_TYPE_IS_U(pdu) && in llc_conn_ac_disc_ind()
106 LLC_U_PDU_CMD(pdu) == LLC_2_PDU_CMD_DISC) in llc_conn_ac_disc_ind()
133 struct llc_pdu_un *pdu = llc_pdu_un_hdr(skb); in llc_conn_ac_rst_ind() local
138 if (LLC_PDU_IS_RSP(pdu) && in llc_conn_ac_rst_ind()
139 LLC_PDU_TYPE_IS_U(pdu) && in llc_conn_ac_rst_ind()
140 LLC_U_PDU_RSP(pdu) == LLC_2_PDU_RSP_FRMR) { in llc_conn_ac_rst_ind()
143 } else if (LLC_PDU_IS_CMD(pdu) && in llc_conn_ac_rst_ind()
144 LLC_PDU_TYPE_IS_U(pdu) && in llc_conn_ac_rst_ind()
145 LLC_U_PDU_CMD(pdu) == LLC_2_PDU_CMD_SABME) { in llc_conn_ac_rst_ind()
179 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_clear_remote_busy_if_f_eq_1() local
181 if (LLC_PDU_IS_RSP(pdu) && in llc_conn_ac_clear_remote_busy_if_f_eq_1()
182 LLC_PDU_TYPE_IS_I(pdu) && in llc_conn_ac_clear_remote_busy_if_f_eq_1()
183 LLC_I_PF_IS_1(pdu) && llc_sk(sk)->ack_pf) in llc_conn_ac_clear_remote_busy_if_f_eq_1()
278 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_send_frmr_rsp_f_set_x() local
281 llc->rx_pdu_hdr = *((u32 *)pdu); in llc_conn_ac_send_frmr_rsp_f_set_x()
282 if (LLC_PDU_IS_CMD(pdu)) in llc_conn_ac_send_frmr_rsp_f_set_x()
293 llc_pdu_init_as_frmr_rsp(nskb, pdu, f_bit, llc->vS, in llc_conn_ac_send_frmr_rsp_f_set_x()
316 struct llc_pdu_sn *pdu = (struct llc_pdu_sn *)&llc->rx_pdu_hdr; in llc_conn_ac_resend_frmr_rsp_f_set_0() local
320 llc_pdu_init_as_frmr_rsp(nskb, pdu, 0, llc->vS, in llc_conn_ac_resend_frmr_rsp_f_set_0()
346 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_resend_frmr_rsp_f_set_p() local
350 llc_pdu_init_as_frmr_rsp(nskb, pdu, f_bit, llc->vS, in llc_conn_ac_resend_frmr_rsp_f_set_p()
420 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_resend_i_xxx_x_set_0() local
421 u8 nr = LLC_I_GET_NR(pdu); in llc_conn_ac_resend_i_xxx_x_set_0()
431 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr() local
449 nr = LLC_I_GET_NR(pdu); in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
458 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_resend_i_rsp_f_set_1() local
459 u8 nr = LLC_I_GET_NR(pdu); in llc_conn_ac_resend_i_rsp_f_set_1()
891 * indicates if there is any PDU which has not been acknowledged yet.
905 * Sends an I response PDU with f-bit set to ack_pf flag as acknowledge to
907 * set to one if one PDU with p-bit set to one is received. Returns 0 for
930 * llc_conn_ac_send_i_as_ack - sends an I-format PDU to acknowledge rx PDUs
934 * This action sends an I-format PDU as acknowledge to received PDUs which
962 * if there is any. ack_pf flag indicates if a PDU has been received with
1175 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_upd_nr_received() local
1178 llc->last_nr = PDU_SUPV_GET_Nr(pdu); in llc_conn_ac_upd_nr_received()
1209 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_upd_p_flag() local
1211 if (LLC_PDU_IS_RSP(pdu)) { in llc_conn_ac_upd_p_flag()
1373 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_conn_ac_upd_vs() local
1374 u8 nr = PDU_SUPV_GET_Nr(pdu); in llc_conn_ac_upd_vs()