/* Builds a pdu frame as an I command.  */
void llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr)
/* Builds a pdu frame as an I command.  */
void llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr)
{
	struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb);
	pdu->ctrl_1  = LLC_PDU_TYPE_I;
	pdu->ctrl_2  = 0;
	pdu->ctrl_2 |= (p_bit & LLC_I_PF_BIT_MASK);
	pdu->ctrl_1 |= (ns << 1) & 0xFE;
	pdu->ctrl_2 |= (nr << 1) & 0xFE;
}