/* This procedure is passed a buffer descriptor for an iframe. It builds the rest of the control part of the frame and then writes it out.  */
static void nr_send_iframe(struct sock *sk, struct sk_buff *skb)
/* This procedure is passed a buffer descriptor for an iframe. It builds the rest of the control part of the frame and then writes it out.  */
static void nr_send_iframe(struct sock *sk, struct sk_buff *skb)
{
	struct nr_sock *nr = nr_sk(sk);
	if (skb == NULL)
		return;
	skb->data[2] = nr->vs;
	skb->data[3] = nr->vr;
	if (nr->condition & NR_COND_OWN_RX_BUSY)
		skb->data[4] |= NR_CHOKE_FLAG;
	nr_start_idletimer(sk);
	nr_transmit_buffer(sk, skb);
}