tag | line | file | source code |
skb2 | 292 | net/inet/af_inet.c | struct sk_buff *skb2; |
skb2 | 304 | net/inet/af_inet.c | skb2 = skb->link3; |
skb2 | 306 | net/inet/af_inet.c | skb = skb2; |
skb2 | 430 | net/inet/dev.c | struct sk_buff *skb2; |
skb2 | 431 | net/inet/dev.c | if ((skb2 = skb_clone(skb, GFP_ATOMIC)) == NULL) |
skb2 | 433 | net/inet/dev.c | ptype->func(skb2, skb->dev, ptype); |
skb2 | 734 | net/inet/dev.c | struct sk_buff *skb2; |
skb2 | 744 | net/inet/dev.c | skb2 = alloc_skb(skb->len, GFP_ATOMIC); |
skb2 | 745 | net/inet/dev.c | if (skb2 == NULL) |
skb2 | 747 | net/inet/dev.c | memcpy(skb2, skb, skb2->mem_len); |
skb2 | 748 | net/inet/dev.c | skb2->mem_addr = skb2; |
skb2 | 749 | net/inet/dev.c | skb2->h.raw = (unsigned char *)( |
skb2 | 750 | net/inet/dev.c | (unsigned long) skb2 + |
skb2 | 754 | net/inet/dev.c | skb2->free = 1; |
skb2 | 756 | net/inet/dev.c | skb2=skb_clone(skb, GFP_ATOMIC); |
skb2 | 757 | net/inet/dev.c | if(skb2==NULL) |
skb2 | 763 | net/inet/dev.c | skb2 = skb; |
skb2 | 777 | net/inet/dev.c | ptype->func(skb2, skb->dev, ptype); |
skb2 | 357 | net/inet/icmp.c | struct sk_buff *skb2; |
skb2 | 365 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
skb2 | 367 | net/inet/icmp.c | if (skb2 == NULL) |
skb2 | 373 | net/inet/icmp.c | skb2->free = 1; |
skb2 | 376 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
skb2 | 382 | net/inet/icmp.c | kfree_skb(skb2,FREE_WRITE); |
skb2 | 391 | net/inet/icmp.c | skb2->len = offset + len; |
skb2 | 396 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
skb2 | 406 | net/inet/icmp.c | ip_queue_xmit((struct sock *)NULL, dev, skb2, 1); |
skb2 | 424 | net/inet/icmp.c | struct sk_buff *skb2; |
skb2 | 444 | net/inet/icmp.c | if (! (skb2 = alloc_skb(size, GFP_ATOMIC))) |
skb2 | 451 | net/inet/icmp.c | skb2->free = 1; |
skb2 | 457 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
skb2 | 462 | net/inet/icmp.c | kfree_skb(skb2, FREE_WRITE); |
skb2 | 471 | net/inet/icmp.c | skb2->len = offset + 20; |
skb2 | 477 | net/inet/icmp.c | icmphr = (struct icmphdr *) ((char *) (skb2 + 1) + offset); |
skb2 | 496 | net/inet/icmp.c | ip_queue_xmit((struct sock *) NULL, dev, skb2, 1); |
skb2 | 526 | net/inet/icmp.c | struct sk_buff *skb2; |
skb2 | 534 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
skb2 | 535 | net/inet/icmp.c | if (skb2 == NULL) |
skb2 | 541 | net/inet/icmp.c | skb2->free = 1; |
skb2 | 547 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
skb2 | 553 | net/inet/icmp.c | kfree_skb(skb2,FREE_WRITE); |
skb2 | 562 | net/inet/icmp.c | skb2->len = offset + len; |
skb2 | 568 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
skb2 | 579 | net/inet/icmp.c | ip_queue_xmit((struct sock *)NULL, dev, skb2, 1); |
skb2 | 898 | net/inet/ip.c | struct sk_buff *skb2; |
skb2 | 1065 | net/inet/ip.c | skb2 = ip_glue(qp); /* glue together the fragments */ |
skb2 | 1066 | net/inet/ip.c | return(skb2); |
skb2 | 1090 | net/inet/ip.c | struct sk_buff *skb2; |
skb2 | 1175 | net/inet/ip.c | if ((skb2 = alloc_skb(len + hlen,GFP_ATOMIC)) == NULL) |
skb2 | 1186 | net/inet/ip.c | skb2->arp = skb->arp; |
skb2 | 1189 | net/inet/ip.c | skb2->free = 1; |
skb2 | 1190 | net/inet/ip.c | skb2->len = len + hlen; |
skb2 | 1191 | net/inet/ip.c | skb2->h.raw=(char *) skb2->data; |
skb2 | 1201 | net/inet/ip.c | sk->wmem_alloc += skb2->mem_len; |
skb2 | 1202 | net/inet/ip.c | skb2->sk=sk; |
skb2 | 1205 | net/inet/ip.c | skb2->raddr = skb->raddr; /* For rebuild_header - must be here */ |
skb2 | 1211 | net/inet/ip.c | memcpy(skb2->h.raw, raw, hlen); |
skb2 | 1216 | net/inet/ip.c | memcpy(skb2->h.raw + hlen, ptr, len); |
skb2 | 1219 | net/inet/ip.c | skb2->h.raw+=dev->hard_header_len; |
skb2 | 1224 | net/inet/ip.c | iph = (struct iphdr *)(skb2->h.raw/*+dev->hard_header_len*/); |
skb2 | 1241 | net/inet/ip.c | ip_queue_xmit(sk, dev, skb2, 2); |
skb2 | 1258 | net/inet/ip.c | struct sk_buff *skb2; /* Output packet */ |
skb2 | 1369 | net/inet/ip.c | skb2 = alloc_skb(dev2->hard_header_len + skb->len, GFP_ATOMIC); |
skb2 | 1374 | net/inet/ip.c | if (skb2 == NULL) |
skb2 | 1379 | net/inet/ip.c | ptr = skb2->data; |
skb2 | 1380 | net/inet/ip.c | skb2->free = 1; |
skb2 | 1381 | net/inet/ip.c | skb2->len = skb->len + dev2->hard_header_len; |
skb2 | 1382 | net/inet/ip.c | skb2->h.raw = ptr; |
skb2 | 1390 | net/inet/ip.c | (void) ip_send(skb2, raddr, skb->len, dev2, dev2->pa_addr); |
skb2 | 1400 | net/inet/ip.c | if(skb2->len > dev2->mtu + dev2->hard_header_len) |
skb2 | 1402 | net/inet/ip.c | ip_fragment(NULL,skb2,dev2, is_frag); |
skb2 | 1403 | net/inet/ip.c | kfree_skb(skb2,FREE_WRITE); |
skb2 | 1413 | net/inet/ip.c | dev_queue_xmit(skb2, dev2, SOPRI_INTERACTIVE); |
skb2 | 1415 | net/inet/ip.c | dev_queue_xmit(skb2, dev2, SOPRI_BACKGROUND); |
skb2 | 1417 | net/inet/ip.c | dev_queue_xmit(skb2, dev2, SOPRI_NORMAL); |
skb2 | 1571 | net/inet/ip.c | struct sk_buff *skb2; |
skb2 | 1587 | net/inet/ip.c | skb2 = skb_clone(skb, GFP_ATOMIC); |
skb2 | 1588 | net/inet/ip.c | if(skb2==NULL) |
skb2 | 1593 | net/inet/ip.c | skb2 = skb; |
skb2 | 1602 | net/inet/ip.c | ipprot->handler(skb2, dev, opts_p ? &opt : 0, iph->daddr, |
skb2 | 855 | net/inet/ipx.c | struct sk_buff *skb2; |
skb2 | 882 | net/inet/ipx.c | skb2=alloc_skb(ntohs(ipx->ipx_pktsize) + outgoing_size, |
skb2 | 884 | net/inet/ipx.c | if(skb2==NULL) |
skb2 | 890 | net/inet/ipx.c | skb2->free=1; |
skb2 | 891 | net/inet/ipx.c | skb2->len=ntohs(ipx->ipx_pktsize) + outgoing_size; |
skb2 | 892 | net/inet/ipx.c | skb2->mem_addr = skb2; |
skb2 | 893 | net/inet/ipx.c | skb2->arp = 1; |
skb2 | 894 | net/inet/ipx.c | skb2->sk = NULL; |
skb2 | 897 | net/inet/ipx.c | memcpy((char *)(skb2+1)+outgoing_size, |
skb2 | 903 | net/inet/ipx.c | skb2=skb; |
skb2 | 909 | net/inet/ipx.c | skb2->dev = rt->dev; |
skb2 | 910 | net/inet/ipx.c | rt->datalink->datalink_header(rt->datalink, skb2, |
skb2 | 914 | net/inet/ipx.c | dev_queue_xmit(skb2,rt->dev,SOPRI_NORMAL); |
skb2 | 1109 | net/inet/ipx.c | struct sk_buff *skb2; |
skb2 | 1114 | net/inet/ipx.c | skb2=alloc_skb(skb->len, GFP_ATOMIC); |
skb2 | 1115 | net/inet/ipx.c | skb2->mem_addr=skb2; |
skb2 | 1116 | net/inet/ipx.c | skb2->free=1; |
skb2 | 1117 | net/inet/ipx.c | skb2->arp=1; |
skb2 | 1118 | net/inet/ipx.c | skb2->len=skb->len; |
skb2 | 1119 | net/inet/ipx.c | skb2->sk = NULL; |
skb2 | 1120 | net/inet/ipx.c | skb2->h.raw = skb2->data + rt->datalink->header_length |
skb2 | 1122 | net/inet/ipx.c | memcpy(skb2->data, skb->data, skb->len); |
skb2 | 1123 | net/inet/ipx.c | ipx_rcv(skb2,dev,&pt); |
skb2 | 93 | net/inet/skbuff.c | struct sk_buff *skb2 = skb->next; |
skb2 | 95 | net/inet/skbuff.c | while (skb2 != skb && i < 5) { |
skb2 | 96 | net/inet/skbuff.c | if (skb_check(skb2, 0, line, file) < 0) { |
skb2 | 101 | net/inet/skbuff.c | skb2 = skb2->next; |
skb2 | 2493 | net/inet/tcp.c | struct sk_buff *skb,*skb2,*skb3; |
skb2 | 2495 | net/inet/tcp.c | for (skb = sk->send_head; skb != NULL; skb = skb2) |
skb2 | 2497 | net/inet/tcp.c | skb2 = skb->link3; |
skb2 | 2498 | net/inet/tcp.c | if (list == NULL || before (skb2->h.seq, list->h.seq)) |
skb2 | 2593 | net/inet/tcp.c | struct sk_buff *skb2; |
skb2 | 2596 | net/inet/tcp.c | skb2 = sk->send_head; |
skb2 | 2604 | net/inet/tcp.c | while (skb2 != NULL) |
skb2 | 2606 | net/inet/tcp.c | skb = skb2; |
skb2 | 2607 | net/inet/tcp.c | skb2 = skb->link3; |
skb2 | 3061 | net/inet/tcp.c | struct sk_buff *skb1, *skb2; |
skb2 | 3233 | net/inet/tcp.c | for(skb2 = skb->next; |
skb2 | 3234 | net/inet/tcp.c | skb2 != (struct sk_buff *)&sk->receive_queue; |
skb2 | 3235 | net/inet/tcp.c | skb2 = skb2->next) |
skb2 | 3237 | net/inet/tcp.c | if (before(skb2->h.th->seq, sk->acked_seq+1)) |
skb2 | 3239 | net/inet/tcp.c | if (after(skb2->h.th->ack_seq, sk->acked_seq)) |
skb2 | 3242 | net/inet/tcp.c | (skb2->h.th->ack_seq - sk->acked_seq); |
skb2 | 3246 | net/inet/tcp.c | sk->acked_seq = skb2->h.th->ack_seq; |
skb2 | 3248 | net/inet/tcp.c | skb2->acked = 1; |
skb2 | 3253 | net/inet/tcp.c | if (skb2->h.th->fin) |