Lines Matching refs:skbn
37 struct sk_buff *skbn; in nr_output() local
49 if ((skbn = sock_alloc_send_skb(sk, frontlen + NR_MAX_PACKET_SIZE, 0, &err)) == NULL) in nr_output()
52 skb_reserve(skbn, frontlen); in nr_output()
57 skb_copy_from_linear_data(skb, skb_put(skbn, len), len); in nr_output()
61 skb_push(skbn, NR_TRANSPORT_LEN); in nr_output()
62 skb_copy_to_linear_data(skbn, transport, in nr_output()
65 skbn->data[4] |= NR_MORE_FLAG; in nr_output()
67 skb_queue_tail(&sk->sk_write_queue, skbn); /* Throw it on the queue */ in nr_output()
102 struct sk_buff *skb, *skbn; in nr_send_nak_frame() local
108 if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) in nr_send_nak_frame()
111 skbn->data[2] = nr->va; in nr_send_nak_frame()
112 skbn->data[3] = nr->vr; in nr_send_nak_frame()
115 skbn->data[4] |= NR_CHOKE_FLAG; in nr_send_nak_frame()
117 nr_transmit_buffer(sk, skbn); in nr_send_nak_frame()
128 struct sk_buff *skb, *skbn; in nr_kick() local
159 if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) { in nr_kick()
164 skb_set_owner_w(skbn, sk); in nr_kick()
169 nr_send_iframe(sk, skbn); in nr_kick()