tag | line | file | source code |
skbn | 68 | net/ax25/ax25_in.c | struct sk_buff *skbn, *skbo; |
skbn | 80 | net/ax25/ax25_in.c | if ((skbn = alloc_skb(AX25_MAX_HEADER_LEN + ax25->fraglen, GFP_ATOMIC)) == NULL) |
skbn | 83 | net/ax25/ax25_in.c | skbn->free = 1; |
skbn | 84 | net/ax25/ax25_in.c | skbn->arp = 1; |
skbn | 87 | net/ax25/ax25_in.c | skbn->sk = ax25->sk; |
skbn | 88 | net/ax25/ax25_in.c | ax25->sk->rmem_alloc += skbn->truesize; |
skbn | 91 | net/ax25/ax25_in.c | skb_reserve(skbn, AX25_MAX_HEADER_LEN); |
skbn | 92 | net/ax25/ax25_in.c | skbn->h.raw = skbn->data; |
skbn | 97 | net/ax25/ax25_in.c | memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len); |
skbn | 98 | net/ax25/ax25_in.c | skb_pull(skbn, hdrlen); |
skbn | 102 | net/ax25/ax25_in.c | memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len); |
skbn | 108 | net/ax25/ax25_in.c | if (ax25_rx_iframe(ax25, skbn) == 0) |
skbn | 109 | net/ax25/ax25_in.c | kfree_skb(skbn, FREE_READ); |
skbn | 59 | net/ax25/ax25_out.c | struct sk_buff *skbn; |
skbn | 75 | net/ax25/ax25_out.c | if ((skbn = sock_alloc_send_skb(skb->sk, mtu + 2 + frontlen, 0, 0, &err)) == NULL) |
skbn | 78 | net/ax25/ax25_out.c | if ((skbn = alloc_skb(mtu + 2 + frontlen, GFP_ATOMIC)) == NULL) |
skbn | 82 | net/ax25/ax25_out.c | skbn->sk = skb->sk; |
skbn | 83 | net/ax25/ax25_out.c | skbn->free = 1; |
skbn | 84 | net/ax25/ax25_out.c | skbn->arp = 1; |
skbn | 86 | net/ax25/ax25_out.c | skb_reserve(skbn, frontlen + 2); |
skbn | 90 | net/ax25/ax25_out.c | memcpy(skb_put(skbn, len), skb->data, len); |
skbn | 93 | net/ax25/ax25_out.c | p = skb_push(skbn, 2); |
skbn | 103 | net/ax25/ax25_out.c | skb_queue_tail(&ax25->write_queue, skbn); /* Throw it on the queue */ |
skbn | 150 | net/ax25/ax25_out.c | struct sk_buff *skb, *skbn; |
skbn | 177 | net/ax25/ax25_out.c | if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) { |
skbn | 193 | net/ax25/ax25_out.c | ax25_send_iframe(ax25, skbn, (last && !ax25->dama_slave) ? POLLON : POLLOFF); |
skbn | 55 | net/netrom/nr_in.c | struct sk_buff *skbo, *skbn = skb; |
skbn | 67 | net/netrom/nr_in.c | if ((skbn = alloc_skb(sk->nr->fraglen, GFP_ATOMIC)) == NULL) |
skbn | 70 | net/netrom/nr_in.c | skbn->free = 1; |
skbn | 71 | net/netrom/nr_in.c | skbn->arp = 1; |
skbn | 72 | net/netrom/nr_in.c | skbn->sk = sk; |
skbn | 73 | net/netrom/nr_in.c | sk->rmem_alloc += skbn->truesize; |
skbn | 74 | net/netrom/nr_in.c | skbn->h.raw = skbn->data; |
skbn | 77 | net/netrom/nr_in.c | memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len); |
skbn | 82 | net/netrom/nr_in.c | memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len); |
skbn | 89 | net/netrom/nr_in.c | return sock_queue_rcv_skb(sk, skbn); |
skbn | 174 | net/netrom/nr_in.c | struct sk_buff *skbn; |
skbn | 269 | net/netrom/nr_in.c | while ((skbn = skb_dequeue(&sk->nr->reseq_queue)) != NULL) { |
skbn | 270 | net/netrom/nr_in.c | ns = skbn->data[17]; |
skbn | 272 | net/netrom/nr_in.c | if (nr_queue_rx_frame(sk, skbn, frametype & NR_MORE_FLAG) == 0) { |
skbn | 276 | net/netrom/nr_in.c | skb_queue_tail(&temp_queue, skbn); |
skbn | 279 | net/netrom/nr_in.c | skb_queue_tail(&temp_queue, skbn); |
skbn | 281 | net/netrom/nr_in.c | skbn->free = 1; |
skbn | 282 | net/netrom/nr_in.c | kfree_skb(skbn, FREE_READ); |
skbn | 285 | net/netrom/nr_in.c | while ((skbn = skb_dequeue(&temp_queue)) != NULL) { |
skbn | 286 | net/netrom/nr_in.c | skb_queue_tail(&sk->nr->reseq_queue, skbn); |
skbn | 51 | net/netrom/nr_out.c | struct sk_buff *skbn; |
skbn | 65 | net/netrom/nr_out.c | if ((skbn = sock_alloc_send_skb(sk, frontlen + mtu, 0, 0, &err)) == NULL) |
skbn | 68 | net/netrom/nr_out.c | skbn->sk = sk; |
skbn | 69 | net/netrom/nr_out.c | skbn->free = 1; |
skbn | 70 | net/netrom/nr_out.c | skbn->arp = 1; |
skbn | 72 | net/netrom/nr_out.c | skb_reserve(skbn, frontlen); |
skbn | 77 | net/netrom/nr_out.c | memcpy(skb_put(skbn, len), skb->data, len); |
skbn | 81 | net/netrom/nr_out.c | skb_push(skbn, NR_TRANSPORT_LEN); |
skbn | 82 | net/netrom/nr_out.c | memcpy(skbn->data, transport, NR_TRANSPORT_LEN); |
skbn | 85 | net/netrom/nr_out.c | skbn->data[4] |= NR_MORE_FLAG; |
skbn | 87 | net/netrom/nr_out.c | skb_queue_tail(&sk->write_queue, skbn); /* Throw it on the queue */ |
skbn | 120 | net/netrom/nr_out.c | struct sk_buff *skb, *skbn; |
skbn | 125 | net/netrom/nr_out.c | if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) |
skbn | 128 | net/netrom/nr_out.c | skbn->data[2] = sk->nr->va; |
skbn | 129 | net/netrom/nr_out.c | skbn->data[3] = sk->nr->vr; |
skbn | 132 | net/netrom/nr_out.c | skbn->data[4] |= NR_CHOKE_FLAG; |
skbn | 134 | net/netrom/nr_out.c | nr_transmit_buffer(sk, skbn); |
skbn | 143 | net/netrom/nr_out.c | struct sk_buff *skb, *skbn; |
skbn | 169 | net/netrom/nr_out.c | if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) { |
skbn | 180 | net/netrom/nr_out.c | nr_send_iframe(sk, skbn); |
skbn | 248 | net/netrom/nr_subr.c | struct sk_buff *skbn; |
skbn | 254 | net/netrom/nr_subr.c | if ((skbn = alloc_skb(len, GFP_ATOMIC)) == NULL) |
skbn | 257 | net/netrom/nr_subr.c | skb_reserve(skbn, AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN); |
skbn | 259 | net/netrom/nr_subr.c | dptr = skb_put(skbn, NR_NETWORK_LEN + NR_TRANSPORT_LEN); |
skbn | 282 | net/netrom/nr_subr.c | skbn->free = 1; |
skbn | 283 | net/netrom/nr_subr.c | skbn->sk = NULL; |
skbn | 285 | net/netrom/nr_subr.c | if (!nr_route_frame(skbn, NULL)) |
skbn | 286 | net/netrom/nr_subr.c | kfree_skb(skbn, FREE_WRITE); |