/* This function determines when frame which is sent, is last frame of transmit window, if it is then this function return zero else return one. This function is used for sending last frame of transmit window as I-format command with p-bit set to one. Returns 0 if frame is last frame, 1 otherwise.  */
int llc_conn_ev_qlfy_last_frame_eq_1(struct sock *sk, struct sk_buff *skb)
/* This function determines when frame which is sent, is last frame of transmit window, if it is then this function return zero else return one. This function is used for sending last frame of transmit window as I-format command with p-bit set to one. Returns 0 if frame is last frame, 1 otherwise.  */
int llc_conn_ev_qlfy_last_frame_eq_1(struct sock *sk, struct sk_buff *skb)
{
	return !(skb_queue_len(&llc_sk(sk)->pdu_unack_q) + 1 == llc_sk(sk)->k);
}