/* Sends an I response PDU with f-bit set to ack_pf flag as acknowledge to all received PDUs which have not been acknowledged, yet. ack_pf flag is set to one if one PDU with p-bit set to one is received. Returns 0 for success, 1 otherwise.  */
static int llc_conn_ac_send_i_rsp_f_set_ackpf(struct sock *sk, struct sk_buff *skb)
/* Sends an I response PDU with f-bit set to ack_pf flag as acknowledge to all received PDUs which have not been acknowledged, yet. ack_pf flag is set to one if one PDU with p-bit set to one is received. Returns 0 for success, 1 otherwise.  */
static int llc_conn_ac_send_i_rsp_f_set_ackpf(struct sock *sk, struct sk_buff *skb)
{
	int rc;
	struct llc_sock *llc = llc_sk(sk);
	struct llc_sap *sap = llc->sap;
	llc_pdu_header_init(skb, LLC_PDU_TYPE_I, sap->laddr.lsap,
			    llc->daddr.lsap, LLC_PDU_RSP);
	llc_pdu_init_as_i_cmd(skb, llc->ack_pf, llc->vS, llc->vR);
	rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac);
	if (likely(!rc)) {
		llc_conn_send_pdu(sk, skb);
		llc_conn_ac_inc_vs_by_1(sk, skb);
	}
	return rc;
}