tag | line | file | source code |
skbn | 66 | net/ax25/ax25_in.c | struct sk_buff *skbn, *skbo; |
skbn | 78 | net/ax25/ax25_in.c | if ((skbn = alloc_skb(AX25_MAX_HEADER_LEN + ax25->fraglen, GFP_ATOMIC)) == NULL) |
skbn | 81 | net/ax25/ax25_in.c | skbn->free = 1; |
skbn | 82 | net/ax25/ax25_in.c | skbn->arp = 1; |
skbn | 85 | net/ax25/ax25_in.c | skbn->sk = ax25->sk; |
skbn | 86 | net/ax25/ax25_in.c | ax25->sk->rmem_alloc += skbn->truesize; |
skbn | 89 | net/ax25/ax25_in.c | skb_reserve(skbn, AX25_MAX_HEADER_LEN); |
skbn | 90 | net/ax25/ax25_in.c | skbn->h.raw = skbn->data; |
skbn | 95 | net/ax25/ax25_in.c | memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len); |
skbn | 96 | net/ax25/ax25_in.c | skb_pull(skbn, hdrlen); |
skbn | 100 | net/ax25/ax25_in.c | memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len); |
skbn | 106 | net/ax25/ax25_in.c | if (ax25_rx_iframe(ax25, skbn) == 0) |
skbn | 107 | net/ax25/ax25_in.c | kfree_skb(skbn, FREE_READ); |
skbn | 58 | net/ax25/ax25_out.c | struct sk_buff *skbn; |
skbn | 74 | net/ax25/ax25_out.c | if ((skbn = sock_alloc_send_skb(skb->sk, mtu + 2 + frontlen, 0, &err)) == NULL) |
skbn | 77 | net/ax25/ax25_out.c | if ((skbn = alloc_skb(mtu + 2 + frontlen, GFP_ATOMIC)) == NULL) |
skbn | 81 | net/ax25/ax25_out.c | skbn->sk = skb->sk; |
skbn | 82 | net/ax25/ax25_out.c | skbn->free = 1; |
skbn | 83 | net/ax25/ax25_out.c | skbn->arp = 1; |
skbn | 85 | net/ax25/ax25_out.c | skb_reserve(skbn, frontlen + 2); |
skbn | 89 | net/ax25/ax25_out.c | memcpy(skb_put(skbn, len), skb->data, len); |
skbn | 92 | net/ax25/ax25_out.c | p = skb_push(skbn, 2); |
skbn | 102 | net/ax25/ax25_out.c | skb_queue_tail(&ax25->write_queue, skbn); /* Throw it on the queue */ |
skbn | 147 | net/ax25/ax25_out.c | struct sk_buff *skb, *skbn; |
skbn | 173 | net/ax25/ax25_out.c | if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) { |
skbn | 187 | net/ax25/ax25_out.c | ax25_send_iframe(ax25, skbn, (last) ? POLLON : POLLOFF); |
skbn | 53 | net/netrom/nr_in.c | struct sk_buff *skbo, *skbn = skb; |
skbn | 65 | net/netrom/nr_in.c | if ((skbn = alloc_skb(sk->nr->fraglen, GFP_ATOMIC)) == NULL) |
skbn | 68 | net/netrom/nr_in.c | skbn->free = 1; |
skbn | 69 | net/netrom/nr_in.c | skbn->arp = 1; |
skbn | 70 | net/netrom/nr_in.c | skbn->sk = sk; |
skbn | 71 | net/netrom/nr_in.c | sk->rmem_alloc += skbn->truesize; |
skbn | 72 | net/netrom/nr_in.c | skbn->h.raw = skbn->data; |
skbn | 75 | net/netrom/nr_in.c | memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len); |
skbn | 80 | net/netrom/nr_in.c | memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len); |
skbn | 87 | net/netrom/nr_in.c | return sock_queue_rcv_skb(sk, skbn); |
skbn | 173 | net/netrom/nr_in.c | struct sk_buff *skbn; |
skbn | 283 | net/netrom/nr_in.c | while ((skbn = skb_dequeue(&sk->nr->reseq_queue)) != NULL) { |
skbn | 284 | net/netrom/nr_in.c | ns = skbn->data[17]; |
skbn | 286 | net/netrom/nr_in.c | if (nr_queue_rx_frame(sk, skbn, frametype & NR_MORE_FLAG) == 0) { |
skbn | 290 | net/netrom/nr_in.c | skb_queue_tail(&temp_queue, skbn); |
skbn | 293 | net/netrom/nr_in.c | skb_queue_tail(&temp_queue, skbn); |
skbn | 295 | net/netrom/nr_in.c | skbn->free = 1; |
skbn | 296 | net/netrom/nr_in.c | kfree_skb(skbn, FREE_READ); |
skbn | 299 | net/netrom/nr_in.c | while ((skbn = skb_dequeue(&temp_queue)) != NULL) { |
skbn | 300 | net/netrom/nr_in.c | skb_queue_tail(&sk->nr->reseq_queue, skbn); |
skbn | 50 | net/netrom/nr_out.c | struct sk_buff *skbn; |
skbn | 64 | net/netrom/nr_out.c | if ((skbn = sock_alloc_send_skb(sk, frontlen + mtu, 0, &err)) == NULL) |
skbn | 67 | net/netrom/nr_out.c | skbn->sk = sk; |
skbn | 68 | net/netrom/nr_out.c | skbn->free = 1; |
skbn | 69 | net/netrom/nr_out.c | skbn->arp = 1; |
skbn | 71 | net/netrom/nr_out.c | skb_reserve(skbn, frontlen); |
skbn | 76 | net/netrom/nr_out.c | memcpy(skb_put(skbn, len), skb->data, len); |
skbn | 80 | net/netrom/nr_out.c | skb_push(skbn, NR_TRANSPORT_LEN); |
skbn | 81 | net/netrom/nr_out.c | memcpy(skbn->data, transport, NR_TRANSPORT_LEN); |
skbn | 84 | net/netrom/nr_out.c | skbn->data[4] |= NR_MORE_FLAG; |
skbn | 86 | net/netrom/nr_out.c | skb_queue_tail(&sk->write_queue, skbn); /* Throw it on the queue */ |
skbn | 119 | net/netrom/nr_out.c | struct sk_buff *skb, *skbn; |
skbn | 124 | net/netrom/nr_out.c | if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) |
skbn | 127 | net/netrom/nr_out.c | nr_send_iframe(sk, skbn); |
skbn | 136 | net/netrom/nr_out.c | struct sk_buff *skb, *skbn; |
skbn | 161 | net/netrom/nr_out.c | if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) { |
skbn | 172 | net/netrom/nr_out.c | nr_send_iframe(sk, skbn); |
skbn | 250 | net/netrom/nr_subr.c | struct sk_buff *skbn; |
skbn | 256 | net/netrom/nr_subr.c | if ((skbn = alloc_skb(len, GFP_ATOMIC)) == NULL) |
skbn | 259 | net/netrom/nr_subr.c | skb_reserve(skbn, AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 2); |
skbn | 261 | net/netrom/nr_subr.c | dptr = skb_put(skbn, NR_NETWORK_LEN + NR_TRANSPORT_LEN); |
skbn | 284 | net/netrom/nr_subr.c | skbn->free = 1; |
skbn | 285 | net/netrom/nr_subr.c | skbn->sk = NULL; |
skbn | 287 | net/netrom/nr_subr.c | if (!nr_route_frame(skbn, NULL)) |
skbn | 288 | net/netrom/nr_subr.c | kfree_skb(skbn, FREE_WRITE); |